agentleFS
aidesignblueprintaidesignblueprint/integrations/github-copilot/copilot-instructions.md

integrations / github-copilot

Copilot instructions3 starsChanged 8 months agoMITView on GitHub

Use AI Design Blueprint doctrine whenever working on AI-native features, agentic workflows, coding agents, approval flows, or model-driven product behavior. Copilot coding agent supports MCP tools only: resources and prompts are not supported. Remote MCP servers require OAuth authentication; the Blueprint public endpoint needs no API key, sign-in, or OAuth (every tool call is logged with a keyed one-way digest of the network address, never the address itself). Add the Blueprint server under .github/copilot/mcp.json (repo-level) or user settings → MCP…

The file

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

7 rules. About 0 are common, 6 are distinctive, and 1 is 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.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use AI Design Blueprint doctrine whenever working on AI-native features, agentic workflows, coding agents, approval flows, or model-driven …

    line 3
  2. Distinctive:

    Do not introduce autonomous execution for destructive or externally visible actions without explicit approval or a bounded autonomy model.

    line 7
  3. Distinctive:

    Prefer structured outputs, typed payloads, and inspectable states.

    line 9
  4. Distinctive:

    Add AGENTS.md if you also want the same doctrine available to other repo-aware tools.

    line 18
  5. Distinctive:

    Use the MCP endpoint as an optional live lookup layer, not as the only integration path.

    line 19
  6. Very specific:

    Add the Blueprint server under .github/copilot/mcp.json (repo-level) or user settings → MCP (personal).

    line 25
  7. Distinctive:

    Only call signal tools after explicit user confirmation.

    line 49

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

AI Design Blueprint: GitHub Copilot Instructions

Use AI Design Blueprint doctrine whenever working on AI-native features, agentic workflows, coding agents, approval flows, or model-driven product behavior.

Rules

  • Do not introduce autonomous execution for destructive or externally visible actions without explicit approval or a bounded autonomy model.
  • Show meaningful runtime progress for long-running model or agent tasks.
  • Prefer structured outputs, typed payloads, and inspectable states.
  • Include fallback paths for model failure or low-confidence outputs.
  • Preserve reversibility when state changes occur.
  • Be explicit about agent permissions and boundaries.
  • Optimize for production readiness, governance, and trust.

Setup

  • Save this file as .github/copilot-instructions.md.
  • Add AGENTS.md if you also want the same doctrine available to other repo-aware tools.
  • Use the MCP endpoint as an optional live lookup layer, not as the only integration path.

MCP support notes

Copilot coding agent supports MCP tools only: resources and prompts are not supported. Remote MCP servers require OAuth authentication; the Blueprint public endpoint needs no API key, sign-in, or OAuth (every tool call is logged with a keyed one-way digest of the network address, never the address itself). Add the Blueprint server under .github/copilot/mcp.json (repo-level) or user settings → MCP (personal). Example:

{"mcpServers": {"aidesignblueprint": {"type": "http", "url": "https://aidesignblueprint.com/mcp"}}}

Public retrieval MCP tools

  • principles.list(cluster?, lens?)
  • clusters.list()
  • principles.get(slug, lens?)
  • clusters.get(slug)
  • examples.get(slug)
  • principles.search(query, limit?, lens?)
  • examples.search(query, principle_ids?, difficulty?, library?, pattern_family?, limit?)
  • assets.list()
  • guides.list()
  • guides.get(slug)
  • guides.search(query, limit?)

Public feedback MCP tool (opt-in, no sign-in)

  • signals.feedback(task_type?, surface?, rating_clarity?, rating_usefulness?, what_helped?, what_missing?, would_use_again?, contact_email?, permission_to_follow_up?)

Only call signal tools after explicit user confirmation. Never call silently.

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.