agentleFS
SebastienDegodezSebastienDegodez/copilot-instructions/.github/copilot-instructions.md

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…

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
  1. Distinctive:

    Always signed commit messages are required for all commits.

    line 3
  2. Distinctive:

    All instructions and prompts in this repository must be written in English.

    line 7
  3. Very specific:

    All rule and instruction files in instructions/

    line 8
  4. Distinctive:

    All documentation and code comments intended for contributors

    line 9
  5. Distinctive:

    When working with C# code, follow these instructions very carefully.

    line 13
  6. Distinctive:

    IMPORTANT: Always follow these steps when implementing new features:

    line 19
  7. Distinctive:

    Follow TDD when it is possible.

    line 23
  8. Very specific:

    Always run dotnet test or dotnet build to verify that all tests pass before committing your changes.

    line 26
  9. Very specific:

    Don't ask to run the tests, just do it.

    line 27
  10. Very specific:

    When you see paths like /[project]/features/[feature]/ in rules, replace [project] with the name of the project you are working on (e.g.

    line 32

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

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:

  1. 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]).
  2. 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.
  3. Always run dotnet test or dotnet build to 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 use dotnet watch test to run the tests automatically when you change the code.
  4. 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).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.