ACCESSIBILITY.md
Copilot instructions75 starsChanged 7 months agoMITView on GitHub
This file is a compatibility entry point for GitHub Copilot. The canonical, tool-neutral repository instructions are in AGENTS.md. This file is useful because some GitHub Copilot surfaces load .github/copilot-instructions.md but do not automatically load AGENTS.md. It is not a second repository policy and must not repeat the content of AGENTS.md. See GitHub's current custom-instruction support matrix. If the repository stops using GitHub Copilot, this file can be removed without moving its contents elsewhere. 1. Read and follow AGENTS.md. It defines…
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this copilot-instructions.md into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
If the repository stops using GitHub Copilot, this file can be removed without moving its contents elsewhere.
- Distinctive: line 19
Read and follow AGENTS.md.
- Distinctive: line 22
Treat this file, applicable AGENTS.md files, and applicable path-specific instruction files as one instruction set.
- Distinctive: line 25
If the current Copilot surface cannot read AGENTS.md, report that the canonical repository instructions are unavailable instead of …
- Distinctive: line 45
Put shared repository policy in AGENTS.md.
- Very specific: line 46
Put a genuinely path-specific rule in .github/instructions/NAME.instructions.md with an appropriate applyTo pattern.
- Very specific: line 49
Put a distinct specialist persona or tool configuration in .github/agents/NAME.agent.md.
- Very specific: line 51
Put a repeatable, manually invoked task in .github/prompts/NAME.prompt.md.
- Distinctive: line 53
Add content here only when it is specific to how GitHub Copilot consumes or applies repository instructions.
≈ “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
GitHub Copilot Repository Instructions
Purpose and Usefulness
This file is a compatibility entry point for GitHub Copilot. The canonical, tool-neutral repository instructions are in AGENTS.md.
This file is useful because some GitHub Copilot surfaces load
.github/copilot-instructions.md but do not automatically load AGENTS.md. It
is not a second repository policy and must not repeat the content of
AGENTS.md. See GitHub's current
custom-instruction support matrix.
If the repository stops using GitHub Copilot, this file can be removed without moving its contents elsewhere.
Required Behavior
- Read and follow AGENTS.md. It defines repository scope,
authority, workflow, validation, and completion requirements, including how
to find a more specific
AGENTS.md. - Treat this file, applicable
AGENTS.mdfiles, and applicable path-specific instruction files as one instruction set. Report a material conflict rather than guessing. - If the current Copilot surface cannot read
AGENTS.md, report that the canonical repository instructions are unavailable instead of substituting rules from this file.
Copilot-Specific Notes
- GitHub Copilot features and editors do not all support the same instruction
file types. When the interface exposes loaded references or instructions,
confirm that the applicable
AGENTS.mdwas loaded. If it was not, add it to the context or report that the canonical instructions may not have applied. - Copilot code review uses instructions from the pull request's base branch. Changes to instruction files in the pull request itself should not be expected to affect that review.
- Examples involving Copilot actions, agents, models, or preview features can become outdated. Verify current behavior in official GitHub Copilot documentation before recommending, copying, or enabling them.
Where New Copilot Guidance Belongs
- Put shared repository policy in AGENTS.md.
- Put a genuinely path-specific rule in
.github/instructions/NAME.instructions.mdwith an appropriateapplyTopattern. - Put a distinct specialist persona or tool configuration in
.github/agents/NAME.agent.md. - Put a repeatable, manually invoked task in
.github/prompts/NAME.prompt.md. - Add content here only when it is specific to how GitHub Copilot consumes or applies repository instructions.
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.

