agentleFS
EthanonEthanon/developer.ai/toolconfigs/copilot-instructions.md

developer.ai / toolconfigs

Copilot instructions9 starsChanged 3 months agoMITView on GitHub

Read AGENTS.md at the repo root for the full guide, and the document under docs/engineering/ that covers the change you are making. The rules a completion is most likely to break: - The preferred number of lines of code is zero. Suggest the minimum that solves the problem. Do not add options, parameters, or abstractions nobody asked for. - Default to zero comments. Do not annotate what the code plainly does. - Never inline a timeout, interval, TTL, or retry…

The file

We split this copilot-instructions.md into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read AGENTS.md at the repo root for the full guide, and the document under docs/engineering/ that covers the change you are making.

    line 9
  2. Distinctive:

    Default to zero comments: Do not annotate what the code plainly does.

    line 16
  3. Distinctive:

    Never fabricate a fallback value: when an operation on the critical path fails.

    line 18
  4. Distinctive:

    Tests are deterministic, offline, and fast: No real network, no real clock.

    line 23

≈ “Common” is an estimate: at least 1 in 5 of the 3,894 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
<!-- Installed at .github/copilot-instructions.md, which GitHub Copilot reads automatically. Copilot has no include directive, so this file states the rules it most often breaks rather than only pointing elsewhere. -->

Copilot instructions

Read AGENTS.md at the repo root for the full guide, and the document under docs/engineering/ that covers the change you are making.

The rules a completion is most likely to break:

  • The preferred number of lines of code is zero. Suggest the minimum that solves the problem. Do not add options, parameters, or abstractions nobody asked for.
  • Default to zero comments. Do not annotate what the code plainly does.
  • Never inline a timeout, interval, TTL, or retry count. They come from the config module.
  • Never fabricate a fallback value when an operation on the critical path fails. Surface the failure.
  • Never widen a type to bypass an error.
  • Identity comes from the session, never from a path, body, or query parameter.
  • Names say what a thing is for, not what it is built on.
  • Tests are deterministic, offline, and fast. No real network, no real clock.

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.