copilot-instructions
Copilot instructions196 starsChanged 9 months agoApache-2.0View on GitHub
Always signed commit messages are required for all commits. All instructions and prompts in this repository must be written in English. This applies to: - All rule and instruction files in instructions/ - All documentation and code comments intended for contributors When working with C# code, follow these instructions very carefully. It is EXTREMELY important that you follow the instructions in the rule files very carefully. IMPORTANT: Always follow these steps when implementing new features: 2. Follow TDD when it…
In this repository5 other files it gives its agents.
The file
We split this copilot-instructions.md into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 3
Always signed commit messages are required for all commits.
- Distinctive: line 7
All instructions and prompts in this repository must be written in English.
- Very specific: line 8
All rule and instruction files in instructions/
- Distinctive: line 9
All documentation and code comments intended for contributors
- Distinctive: line 13
When working with C# code, follow these instructions very carefully.
- Distinctive: line 19
IMPORTANT: Always follow these steps when implementing new features:
- Distinctive: line 23
Follow TDD when it is possible.
- Very specific: line 26
Always run dotnet test or dotnet build to verify that all tests pass before committing your changes.
- Very specific: line 27
Don't ask to run the tests, just do it.
- Very specific: line 32
When you see paths like /[project]/features/[feature]/ in rules, replace [project] with the name of the project you are working on (e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 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
Copilot instructions
Always signed commit messages are required for all commits.
Language Policy
All instructions and prompts in this repository must be written in English. This applies to:
- All rule and instruction files in
instructions/ - All documentation and code comments intended for contributors
Development code generation
When working with C# code, follow these instructions very carefully.
It is EXTREMELY important that you follow the instructions in the rule files very carefully.
Workflow implementation
IMPORTANT: Always follow these steps when implementing new features:
- Consult any relevant instructions files listed below and start by listing which rule files have been used to guide the implementation (e.g.
Instructions used: [minimal-api.instructions.md, domain-driven-design.instructions.md]). - Follow TDD when it is possible. Always start new changes by writing new test cases (or changing existing tests). Remember to consult Unit and Integration Tests for details on how to write tests.
- Always run
dotnet testordotnet buildto verify that all tests pass before committing your changes. Don't ask to run the tests, just do it. If you are not sure how to run the tests, ask for help. You can also usedotnet watch testto run the tests automatically when you change the code. - Fix any compiler warnings and errors before going to the next step.
When you see paths like /[project]/features/[feature]/ in rules, replace [project] with the name of the project you are working on (e.g. Ordering), and [feature] with the name of the feature you are working on (e.g. VerifyOrAddPayment).
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.

