agentleFS
mgiffordmgifford/ACCESSIBILITY.md/.github/copilot-instructions.md

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.

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

    If the repository stops using GitHub Copilot, this file can be removed without moving its contents elsewhere.

    line 14
  2. Distinctive:

    Read and follow AGENTS.md.

    line 19
  3. Distinctive:

    Treat this file, applicable AGENTS.md files, and applicable path-specific instruction files as one instruction set.

    line 22
  4. Distinctive:

    If the current Copilot surface cannot read AGENTS.md, report that the canonical repository instructions are unavailable instead of …

    line 25
  5. Distinctive:

    Put shared repository policy in AGENTS.md.

    line 45
  6. Very specific:

    Put a genuinely path-specific rule in .github/instructions/NAME.instructions.md with an appropriate applyTo pattern.

    line 46
  7. Very specific:

    Put a distinct specialist persona or tool configuration in .github/agents/NAME.agent.md.

    line 49
  8. Very specific:

    Put a repeatable, manually invoked task in .github/prompts/NAME.prompt.md.

    line 51
  9. Distinctive:

    Add content here only when it is specific to how GitHub Copilot consumes or applies repository instructions.

    line 53

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

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

  1. Read and follow AGENTS.md. It defines repository scope, authority, workflow, validation, and completion requirements, including how to find a more specific AGENTS.md.
  2. Treat this file, applicable AGENTS.md files, and applicable path-specific instruction files as one instruction set. Report a material conflict rather than guessing.
  3. 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.md was 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.md with an appropriate applyTo pattern.
  • 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.

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.