copilot-customization-blueprint
Copilot instructions0 starsChanged 22 days agoMITView on GitHub
This file is loaded into every Copilot interaction that happens in the context of this repository. It is the widest, always-on layer. Everything that only applies to part of the codebase belongs in .github/instructions/ instead, and anything that only matters for one kind of task belongs in a skill or a prompt file. The tool-neutral baseline lives in AGENTS.md. This file adds the Copilot-specific conventions and the hard rules that must not drift. - docs/ — theory track, read in…
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- changelog-entrySkill
- code-reviewSkill
- dependency-auditSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Never invent a Copilot file location, frontmatter property, or behaviour.
- Distinctive: line 26
Never describe a preview or experimental feature as generally available.
- Very specific: line 27
Never edit a file under examples/shop-api/ to make a check pass.
- Very specific: line 29
Never copy content from docs/ into labs/.
- Very specific: line 31
Do not add a dependency to run the validator.
- Very specific: line 38
No emoji in prose. Emoji are acceptable only inside a table cell in reference/.
- Very specific: line 51
If you add a rule to the validator, add the failing case to scripts/test/ in the same change.
- Distinctive: line 56
Ask. A wrong instruction file is worse than a missing one, because it silently changes every future interaction instead of failing visibly.
≈ “Common” is an estimate: at least 1 in 5 of the 3,950 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
Repository-wide Copilot instructions
This file is loaded into every Copilot interaction that happens in the context of this
repository. It is the widest, always-on layer. Everything that only applies to part of the
codebase belongs in .github/instructions/ instead, and anything that only matters for one
kind of task belongs in a skill or a prompt file.
The tool-neutral baseline lives in AGENTS.md. This file adds the Copilot-specific
conventions and the hard rules that must not drift.
Project shape
docs/— theory track, read in numeric order.labs/— practice track, one directory per lab, each with an observable check.reference/— dense lookup material; not meant to be read front to back..github/— the reference customization set. It is live: this repository uses the customizations it documents.examples/shop-api/— a toy fixture the labs operate on. It is not a runnable application, and it is never the subject of a refactor.scripts/— tooling that validates this repository.
Hard rules
- Never invent a Copilot file location, frontmatter property, or behaviour. If you are not
certain, check
reference/frontmatter-reference.mdandreference/sources.md. - Never describe a preview or experimental feature as generally available. Label it.
- Never edit a file under
examples/shop-api/to make a check pass. The fixture is fixed on purpose; the lab is what should change. - Never copy content from
docs/intolabs/. Labs link to chapters. Duplicated explanation drifts and then contradicts itself. - Do not add a dependency to run the validator.
npm run checkmust work on a fresh clone withnodeand nothing else.
Style
- Prose: second person, present tense, active voice, short sentences. Contractions are fine. Marketing adjectives are not.
- No emoji in prose. Emoji are acceptable only inside a table cell in
reference/. - Headings use sentence case.
- One H1 per Markdown file, and it matches the file's purpose, not its filename.
- Tables over bullet lists when the reader is comparing more than three things.
Commands
npm run validate # frontmatter and link contract for the whole repository
npm test # validator tests
npm run check # both, in orderIf you add a rule to the validator, add the failing case to scripts/test/ in the same
change. A validator rule without a failing fixture is a rule nobody has proven.
When you are unsure
Ask. A wrong instruction file is worse than a missing one, because it silently changes every future interaction instead of failing visibly.
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.

