everything-copilot-cli
Copilot instructions47 starsChanged 4 months agoMITView on GitHub
Concise runtime instructions for GitHub Copilot. For the fuller human-facing reference guide, see COPILOT-INSTRUCTIONS.md in the repository root. This is everything-copilot-cli — a reference repository defining agents, skills, rules, orchestration patterns, and MCP configurations for GitHub Copilot CLI. Content is Markdown and JSON configuration, not application code. Use the right Copilot agent type for each task: Required frontmatter: name, description, agent_type Recommended frontmatter: model, tools, escalation Required frontmatter: name, description, metadata.category Recommended frontmatter: metadata.agent_type Optional frontmatter: keep-coding-instructions: true, disable-model-invocation: true…
In this repository111 other files it gives its agents.
- AGENTS.mdAGENTS.md
- COPILOT-INSTRUCTIONS.mdCopilot instructions
- ai-visibilitySkill
- content-strategySkill
- seoSkill
- actions-debuggingSkill
- agentic-engineeringSkill
- autopilot-patternsSkill
- background-agentSkill
- context-primeSkill
- copilot-memorySkill
- cross-session-memorySkill
- ecosystem-intakeSkill
- fleet-parallelSkill
- github-code-searchSkill
- github-codespaces-efficiencySkill
- github-issue-triageSkill
- github-pr-workflowSkill
- ide-switchingSkill
- knowledge-curatorSkill
- mcp-builderSkill
- mcp-ecosystemSkill
- multi-model-strategySkill
- plan-mode-masterySkill
- scope-guardSkill
- session-managementSkill
- stack-detectorSkill
- sub-agent-sandboxingSkill
- task-intake-routerSkill
- team-plannerSkill
- token-cost-optimizerSkill
- api-and-interface-designSkill
- code-reviewSkill
- context-engineeringSkill
- cpp-debuggingSkill
- deprecation-and-migrationSkill
- diagnoseSkill
- fix-build-errorsSkill
- fix-github-issueSkill
- implementSkill
- improve-codebase-architectureSkill
- nestjs-prismaSkill
- nextjs-prismaSkill
- performance-optimizationSkill
- pr-multi-perspective-reviewSkill
- prototypeSkill
- react-vitestSkill
- receiving-code-reviewSkill
- refactor-cleanSkill
- reviewSkill
- skill-creatorSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- systematic-debuggingSkill
- tdd-workflowSkill
- zoom-outSkill
- add-to-changelogSkill
- api-documentationSkill
- architecture-decisionsSkill
- code-tourSkill
- The first 60 shown.
The file
We split this copilot-instructions.md into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Use the right Copilot agent type for each task:
- Distinctive: line 63
Must include a "When to Use" section.
≈ “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 Instructions
Concise runtime instructions for GitHub Copilot. For the fuller human-facing reference guide, see
COPILOT-INSTRUCTIONS.mdin the repository root.
Project Context
This is everything-copilot-cli — a reference repository defining agents, skills, rules, orchestration patterns, and MCP configurations for GitHub Copilot CLI. Content is Markdown and JSON configuration, not application code.
Essential Rules
- Use YAML frontmatter in all agent, skill, and rule files
- Use kebab-case for all filenames (e.g.,
build-error-resolver.md) - Use conventional commits (
feat:,fix:,docs:,chore:) - Include Co-authored-by trailer in commits when Copilot assists
- Run validation before committing:
npm run validate && npm run lint:md && npm test - Don't mix concerns — one agent/skill/rule per file, one topic per PR
Directory Structure
| Directory | Contents |
agents/ | Agent definitions with persona, tools, model, behavior |
skills/ | Source skill library. Each skill lives at skills/<category>/<skill-name>/SKILL.md |
skills/copilot-exclusive/ | Copilot-only capabilities such as plan mode, fleet, background agents, and session memory |
skills/development/, skills/workflow/, skills/security/, skills/testing/, skills/documentation/, skills/product/, skills/content/ | Portable domain skills grouped by category |
rules/common/ | Universal behavioral rules |
rules/languages/ | Language-specific coding standards |
rules/frameworks/ | Framework-specific guidance |
orchestration/ | Multi-agent coordination (patterns/, configs/, examples/, skills/, templates/) |
contexts/ | Execution context definitions |
mcp-configs/ | MCP server configurations |
examples/ | Complete example projects (nextjs-app/, python-api/, dotnet-webapp/, monorepo/) |
Agent Type Selection
Use the right Copilot agent type for each task:
| Task Type | Agent Type | Examples |
| Understanding code/configs | explore | "What agents are defined?", "How does orchestration work?" |
| Running builds/tests/lints | task | "Validate all configs", "Run the test suite" |
| Complex multi-step changes | general-purpose | "Add a new agent with skills and tests", "Refactor rule structure" |
| Reviewing changes | code-review | "Review this PR", "Check for issues in staged changes" |
| Parallel independent work | Fleet mode | "Create example configs for all 4 project types" |
File Conventions
Agent files (agents/*.md)
Required frontmatter: name, description, agent_type
Recommended frontmatter: model, tools, escalation
Skill files (skills/<category>/<skill-name>/SKILL.md)
Required frontmatter: name, description, metadata.category
Recommended frontmatter: metadata.agent_type
Optional frontmatter: keep-coding-instructions: true, disable-model-invocation: true
Must include a "When to Use" section.
Rule files (rules/**/*.md)
Current validator requirement: non-empty Markdown content. Repository convention: keep rules concise, actionable, and include clear ✅ Correct / ❌ Incorrect examples when relevant.
Orchestration patterns (orchestration/patterns/*.md)
Current repository convention: document the pattern, setup, examples, tradeoffs, and references in plain Markdown.
Multi-AI Delegation
- Keep in Copilot CLI: GitHub integration, PR/Issue management, MCP workflows, orchestration
- Delegate to Claude Code: Deep reasoning, architecture analysis, large context (200K tokens)
- Delegate to Codex: Fast code generation, boilerplate, transformations
Validation
npm run validate # Check configs against schemas
npm run lint:md # Lint all Markdown
npm test # Run test suiteDoes 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.

