Customization Selector
This skill helps you decide which GitHub Copilot customization option to use for your specific needs.
When to use this skill
- User asks "what type of customization should I create?"
- User wants to understand differences between instructions, prompts, agents, and skills
- User needs to choose the right approach for a new customization
- User asks "should I use a prompt or an instruction file?"
Quick Decision Flowchart
What do you want to achieve?
│
├─► Define coding standards/rules that apply automatically?
│ └─► Use CUSTOM INSTRUCTIONS (.instructions.md)
│
├─► Create a reusable task template (e.g., "generate tests")?
│ └─► Use PROMPT FILES (.prompt.md)
│
├─► Create a specialized AI persona with specific tools?
│ └─► Use CUSTOM AGENTS (.agent.md)
│
├─► Build portable capabilities with scripts/resources?
│ └─► Use AGENT SKILLS (SKILL.md)
│
└─► Connect external services or APIs?
└─► Use MCP SERVERS (mcp.json)
Decision Matrix
| Feature |
Instructions |
Prompt Files |
Custom Agents |
Agent Skills |
| File Extension |
.instructions.md |
.prompt.md |
.agent.md |
SKILL.md |
| Location |
.github/instructions/ |
.github/prompts/ |
.github/agents/ |
.github/skills/<name>/ |
| Triggers |
Auto (always or via glob) |
Manual (/name) |
Manual (switch agent) |
Auto (when relevant) |
| Can include scripts? |
❌ No |
❌ No |
❌ No |
✅ Yes |
| Can specify tools? |
❌ No |
✅ Yes |
✅ Yes |
❌ No |
| Can specify model? |
❌ No |
✅ Yes |
✅ Yes |
❌ No |
| Portable across tools? |
❌ VS Code only |
❌ VS Code only |
❌ VS Code only |
✅ Open standard |
| Status |
Stable |
Stable |
Stable (1.106+) |
Preview (1.108+) |
Detailed Guidance
Use Custom Instructions when
Perfect for:
- Enforcing coding standards across all requests
- Setting language/framework conventions (e.g., "always use TypeScript strict mode")
- Defining commit message or PR description guidelines
- Applying rules to specific file types via
applyTo glob patterns
- Sharing team coding practices in version control
File types:
| File |
Location |
Behavior |
copilot-instructions.md |
.github/ |
Applies to all requests |
*.instructions.md |
.github/instructions/ |
Conditional via applyTo |
AGENTS.md |
Root or subfolders |
Multi-agent compatible |
Example use cases:
- "Always use functional React components"
- "Follow PEP 8 for Python files"
- "Include JSDoc comments for all public functions"
- "Use conventional commits format"
Use Prompt Files when
Perfect for:
- Creating reusable workflows (e.g.,
/create-react-form, /security-review)
- Scaffolding components, API routes, or modules
- Generating tests with consistent patterns
- Running the same task repeatedly with variations
- Need to specify tools and agent for a specific task
Key features:
- Invoked with
/promptName in chat
- Can specify
agent, tools, and model in frontmatter
- Support variables like
${selection}, ${file}, ${input:name}
- Can reference instruction files for consistent guidelines
Example use cases:
/create-component - Generate a new React component with tests
/code-review - Perform a security-focused code review
/api-route - Scaffold a new API endpoint
/migration-plan - Generate a database migration strategy
Use Custom Agents when
Perfect for:
- Creating specialized AI personas (planner, reviewer, architect)
- Restricting available tools (e.g., read-only for planning)
- Defining sequential workflows with handoffs
- Different tasks need different tool configurations
- Using a specific model for certain tasks
Key features:
- Define
tools list to control what the agent can do
- Use
handoffs for guided multi-step workflows
- Specify
model for optimal performance per task
- Set
infer: false to prevent use as subagent
Example agents:
- Planner - Read-only tools, generates implementation plans
- Reviewer - Focus on security vulnerabilities and code quality
- Architect - Design patterns and system architecture decisions
- Implementer - Full editing capabilities for coding tasks
Use Agent Skills when
Perfect for:
- Creating capabilities that work across VS Code, CLI, and coding agent
- Need to include scripts, examples, or resources
- Building specialized testing/debugging/deployment workflows
- Sharing capabilities with the community
- Want progressive loading (only loaded when relevant)
Key features:
- Open standard at agentskills.io
- Three-level loading: discovery → instructions → resources
- Can include scripts, templates, and example files
- Works across GitHub Copilot in VS Code, CLI, and coding agent
Example skills:
webapp-testing - Testing workflows with test templates
github-actions-debug - Debug CI/CD workflows with log analysis
api-documentation - Generate OpenAPI specs with examples
database-migrations - Migration scripts with rollback templates
How They Work Together
┌─────────────────────────────────────────────────────────────┐
│ CUSTOM AGENT │
│ (defines persona, tools, model) │
│ ├── Can reference: Custom Instructions │
│ └── Can be triggered by: Prompt Files (via agent field) │
├─────────────────────────────────────────────────────────────┤
│ PROMPT FILE │
│ (defines reusable task template) │
│ ├── Can specify: agent, tools, model │
│ └── Can reference: Instructions via Markdown links │
├─────────────────────────────────────────────────────────────┤
│ CUSTOM INSTRUCTIONS │
│ (always applied guidelines, foundation layer) │
├─────────────────────────────────────────────────────────────┤
│ AGENT SKILLS │
│ (portable capabilities, auto-loaded when relevant) │
│ └── Works independently, loaded based on task context │
└─────────────────────────────────────────────────────────────┘
Recommended Folder Structure
.github/
├── copilot-instructions.md # Global project instructions
├── instructions/
│ ├── python.instructions.md # Python-specific (applyTo: **/*.py)
│ ├── typescript.instructions.md
│ └── security.instructions.md # Security guidelines
├── prompts/
│ ├── create-component.prompt.md
│ ├── code-review.prompt.md
│ └── generate-tests.prompt.md
├── agents/
│ ├── planner.agent.md # Read-only planning agent
│ ├── reviewer.agent.md # Code review agent
│ └── implementer.agent.md # Full coding agent
└── skills/
├── webapp-testing/
│ ├── SKILL.md
│ └── test-template.js
└── debugging/
└── SKILL.md
Common Combinations
Planning → Implementation Workflow
- Agent:
planner.agent.md with read-only tools
- Handoff: Button to switch to implementation agent
- Instructions: Shared coding standards apply to both
Consistent Test Generation
- Skill:
webapp-testing with test templates and utilities
- Prompt:
/generate-tests that references the skill patterns
- Instructions: Test naming conventions and coverage requirements
Security-First Development
- Instructions: Security guidelines applied globally
- Agent:
security-reviewer.agent.md for dedicated reviews
- Prompt:
/security-audit for on-demand security checks
Version Requirements
| Feature |
Minimum VS Code Version |
Setting |
copilot-instructions.md |
1.95 |
github.copilot.chat.codeGeneration.useInstructionFiles |
*.instructions.md |
1.99 |
Auto-discovered |
| Prompt files |
1.99 |
Auto-discovered |
AGENTS.md |
1.102 |
chat.useAgentsMdFile |
Custom agents (.agent.md) |
1.106 |
Auto-discovered |
Nested AGENTS.md |
1.105 |
chat.useNestedAgentsMdFiles (experimental) |
| Agent Skills |
1.108 |
chat.useAgentSkills (preview) |
References
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: copilot-customization-selector-23description: Help decide which GitHub Copilot customization to use (instructions, prompts, agents, or skills). Use this skill when users ask which customization type to create, want to understand the differences, or need guidance choosing between .instructions.md, .prompt.md, .agent.md, or SKILL.md files. Use when this capability is needed.4---56# Customization Selector78This skill helps you decide which GitHub Copilot customization option to use for your specific needs.910## When to use this skill1112- User asks "what type of customization should I create?"13- User wants to understand differences between instructions, prompts, agents, and skills14- User needs to choose the right approach for a new customization15- User asks "should I use a prompt or an instruction file?"1617## Quick Decision Flowchart1819```20What do you want to achieve?21│22├─► Define coding standards/rules that apply automatically?23│ └─► Use CUSTOM INSTRUCTIONS (.instructions.md)24│25├─► Create a reusable task template (e.g., "generate tests")?26│ └─► Use PROMPT FILES (.prompt.md)27│28├─► Create a specialized AI persona with specific tools?29│ └─► Use CUSTOM AGENTS (.agent.md)30│31├─► Build portable capabilities with scripts/resources?32│ └─► Use AGENT SKILLS (SKILL.md)33│34└─► Connect external services or APIs?35 └─► Use MCP SERVERS (mcp.json)36```3738## Decision Matrix3940| Feature | Instructions | Prompt Files | Custom Agents | Agent Skills |41|---------|--------------|--------------|---------------|--------------|42| **File Extension** | `.instructions.md` | `.prompt.md` | `.agent.md` | `SKILL.md` |43| **Location** | `.github/instructions/` | `.github/prompts/` | `.github/agents/` | `.github/skills/<name>/` |44| **Triggers** | Auto (always or via glob) | Manual (`/name`) | Manual (switch agent) | Auto (when relevant) |45| **Can include scripts?** | ❌ No | ❌ No | ❌ No | ✅ Yes |46| **Can specify tools?** | ❌ No | ✅ Yes | ✅ Yes | ❌ No |47| **Can specify model?** | ❌ No | ✅ Yes | ✅ Yes | ❌ No |48| **Portable across tools?** | ❌ VS Code only | ❌ VS Code only | ❌ VS Code only | ✅ Open standard |49| **Status** | Stable | Stable | Stable (1.106+) | Preview (1.108+) |5051## Detailed Guidance5253### Use Custom Instructions when5455**Perfect for:**5657- Enforcing coding standards across all requests58- Setting language/framework conventions (e.g., "always use TypeScript strict mode")59- Defining commit message or PR description guidelines60- Applying rules to specific file types via `applyTo` glob patterns61- Sharing team coding practices in version control6263**File types:**6465| File | Location | Behavior |66|------|----------|----------|67| `copilot-instructions.md` | `.github/` | Applies to all requests |68| `*.instructions.md` | `.github/instructions/` | Conditional via `applyTo` |69| `AGENTS.md` | Root or subfolders | Multi-agent compatible |7071**Example use cases:**7273- "Always use functional React components"74- "Follow PEP 8 for Python files"75- "Include JSDoc comments for all public functions"76- "Use conventional commits format"7778---7980### Use Prompt Files when8182**Perfect for:**8384- Creating reusable workflows (e.g., `/create-react-form`, `/security-review`)85- Scaffolding components, API routes, or modules86- Generating tests with consistent patterns87- Running the same task repeatedly with variations88- Need to specify tools and agent for a specific task8990**Key features:**9192- Invoked with `/promptName` in chat93- Can specify `agent`, `tools`, and `model` in frontmatter94- Support variables like `${selection}`, `${file}`, `${input:name}`95- Can reference instruction files for consistent guidelines9697**Example use cases:**9899- `/create-component` - Generate a new React component with tests100- `/code-review` - Perform a security-focused code review101- `/api-route` - Scaffold a new API endpoint102- `/migration-plan` - Generate a database migration strategy103104---105106### Use Custom Agents when107108**Perfect for:**109110- Creating specialized AI personas (planner, reviewer, architect)111- Restricting available tools (e.g., read-only for planning)112- Defining sequential workflows with **handoffs**113- Different tasks need different tool configurations114- Using a specific model for certain tasks115116**Key features:**117118- Define `tools` list to control what the agent can do119- Use `handoffs` for guided multi-step workflows120- Specify `model` for optimal performance per task121- Set `infer: false` to prevent use as subagent122123**Example agents:**124125- **Planner** - Read-only tools, generates implementation plans126- **Reviewer** - Focus on security vulnerabilities and code quality127- **Architect** - Design patterns and system architecture decisions128- **Implementer** - Full editing capabilities for coding tasks129130---131132### Use Agent Skills when133134**Perfect for:**135136- Creating capabilities that work across VS Code, CLI, and coding agent137- Need to include scripts, examples, or resources138- Building specialized testing/debugging/deployment workflows139- Sharing capabilities with the community140- Want progressive loading (only loaded when relevant)141142**Key features:**143144- Open standard at [agentskills.io](https://agentskills.io/)145- Three-level loading: discovery → instructions → resources146- Can include scripts, templates, and example files147- Works across GitHub Copilot in VS Code, CLI, and coding agent148149**Example skills:**150151- `webapp-testing` - Testing workflows with test templates152- `github-actions-debug` - Debug CI/CD workflows with log analysis153- `api-documentation` - Generate OpenAPI specs with examples154- `database-migrations` - Migration scripts with rollback templates155156---157158## How They Work Together159160```161┌─────────────────────────────────────────────────────────────┐162│ CUSTOM AGENT │163│ (defines persona, tools, model) │164│ ├── Can reference: Custom Instructions │165│ └── Can be triggered by: Prompt Files (via agent field) │166├─────────────────────────────────────────────────────────────┤167│ PROMPT FILE │168│ (defines reusable task template) │169│ ├── Can specify: agent, tools, model │170│ └── Can reference: Instructions via Markdown links │171├─────────────────────────────────────────────────────────────┤172│ CUSTOM INSTRUCTIONS │173│ (always applied guidelines, foundation layer) │174├─────────────────────────────────────────────────────────────┤175│ AGENT SKILLS │176│ (portable capabilities, auto-loaded when relevant) │177│ └── Works independently, loaded based on task context │178└─────────────────────────────────────────────────────────────┘179```180181## Recommended Folder Structure182183```184.github/185├── copilot-instructions.md # Global project instructions186├── instructions/187│ ├── python.instructions.md # Python-specific (applyTo: **/*.py)188│ ├── typescript.instructions.md189│ └── security.instructions.md # Security guidelines190├── prompts/191│ ├── create-component.prompt.md192│ ├── code-review.prompt.md193│ └── generate-tests.prompt.md194├── agents/195│ ├── planner.agent.md # Read-only planning agent196│ ├── reviewer.agent.md # Code review agent197│ └── implementer.agent.md # Full coding agent198└── skills/199 ├── webapp-testing/200 │ ├── SKILL.md201 │ └── test-template.js202 └── debugging/203 └── SKILL.md204```205206## Common Combinations207208### Planning → Implementation Workflow2092101. **Agent**: `planner.agent.md` with read-only tools2112. **Handoff**: Button to switch to implementation agent2123. **Instructions**: Shared coding standards apply to both213214### Consistent Test Generation2152161. **Skill**: `webapp-testing` with test templates and utilities2172. **Prompt**: `/generate-tests` that references the skill patterns2183. **Instructions**: Test naming conventions and coverage requirements219220### Security-First Development2212221. **Instructions**: Security guidelines applied globally2232. **Agent**: `security-reviewer.agent.md` for dedicated reviews2243. **Prompt**: `/security-audit` for on-demand security checks225226## Version Requirements227228| Feature | Minimum VS Code Version | Setting |229|---------|-------------------------|---------|230| `copilot-instructions.md` | 1.95 | `github.copilot.chat.codeGeneration.useInstructionFiles` |231| `*.instructions.md` | 1.99 | Auto-discovered |232| Prompt files | 1.99 | Auto-discovered |233| `AGENTS.md` | 1.102 | `chat.useAgentsMdFile` |234| Custom agents (`.agent.md`) | 1.106 | Auto-discovered |235| Nested `AGENTS.md` | 1.105 | `chat.useNestedAgentsMdFiles` (experimental) |236| Agent Skills | 1.108 | `chat.useAgentSkills` (preview) |237238## References239240- [Customization Overview](https://code.visualstudio.com/docs/copilot/customization/overview)241- [Custom Instructions](https://code.visualstudio.com/docs/copilot/customization/custom-instructions)242- [Prompt Files](https://code.visualstudio.com/docs/copilot/customization/prompt-files)243- [Custom Agents](https://code.visualstudio.com/docs/copilot/customization/custom-agents)244- [Agent Skills](https://code.visualstudio.com/docs/copilot/customization/agent-skills)245- [Agent Skills Standard](https://agentskills.io/)246- [Community Examples](https://github.com/github/awesome-copilot)247248---249> Converted and distributed by [TomeVault](https://tomevault.io/claim/trsdn) — claim your Tome and manage your conversions.250<!-- tomevault:4.0:skill_md:2026-04-13 -->