frontier-ghcp-ttt-rvas / instructions-lab
Copilot instructions3 starsChanged 54 days agoMITView on GitHub
We split this copilot-instructions.md into the rules it gives an agent
7 rules. About 1 is common, 1 is distinctive, and 5 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
Use CommonJS syntax (require/module.exports) to match the existing project
- Very specific: line 6
Use async/await for asynchronous operations.
- Very specific: line 7
Use const by default. Use let only for reassignment.
- Distinctive: line 14
Use the correct HTTP status: 200, 201, 400, 404, or 500.
- Very specific: line 31
Use Node.js's built-in test runner
- Very specific: line 32
Test files go in test/ with a .test.js extension
- Common: line 33
Every endpoint needs success, validation-error, and not-found tests.
≈ “Common” is an estimate: at least 1 in 5 of the 3,669 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project Coding Standards
Language & Style
- Use CommonJS syntax (require/module.exports) to match the existing project
- Use
async/awaitfor asynchronous operations. Do not use.then()chains. - Use
constby default. Useletonly for reassignment. Do not usevar.
Express Patterns
- Route handlers must use
async/awaitandtry/catch. - Return errors as
{ "error": { "code": "ERROR_CODE", "message": "..." } }. - Validate request bodies with a dedicated validation function.
- Use the correct HTTP status: 200, 201, 400, 404, or 500.
Naming Conventions
- Files: kebab-case (user-routes.js)
- Functions: camelCase (getUserById)
- Constants: SCREAMING_SNAKE_CASE (MAX_PAGE_SIZE)
- Classes: PascalCase (ProductService)
Response Format
- Wrap successful single-item responses in
{ "data": ... }. - Return lists as
{ "data": [...], "total": N }. - Return errors as
{ "error": { "code": "...", "message": "...", "details": [...] } }.
Testing
- Use Node.js's built-in test runner
- Test files go in test/ with a .test.js extension
- Every endpoint needs success, validation-error, and not-found tests.
Where files are headingNew Copilot instructions files have more rules about branches and pull requests, and fewer about code style.
Of the Copilot instructions files we read, the 2,297 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- sessions/session-m2-03-spaces-and-context/lab/solution/ecommerce-project/.github/copilot-instructions.mdCopilot instructions
- sessions/session-m3-02-cloud-agent/lab/starter/copilot-instructions.mdCopilot instructions
- sessions/session-m5-03-hve-core-challenge/lab/solution/decision-api/.github/copilot-instructions.mdCopilot instructions
- baoyu-infographicSkill
- diagram-creatorSkill
- docxSkill
- excalidraw-diagramSkill
- humanize-contentSkill
- impeccableSkill
- pdfSkill
- pptxSkill
- rvap-brandSkill
- skill-creatorSkill
- xlsxSkill
- impeccableSkill
- session-format-validatorSkill
- deploymentSkill
- api-designSkill
- grillingSkill
- grill-meSkill
- deploymentSkill
- replace-with-directory-nameSkill
- decision-interviewSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

