Skip to content

Commit 1a87bd1

Browse files
saritaiCopilotSiaraMist
authored
Add Copilot customization cheat sheet (#59720)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
1 parent cceb800 commit 1a87bd1

File tree

7 files changed

+80
-2
lines changed

7 files changed

+80
-2
lines changed

content/copilot/concepts/agents/about-agent-skills.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ To create an agent skill, see:
3333

3434
* [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/create-skills)
3535
* [AUTOTITLE](/copilot/how-tos/copilot-cli/customize-copilot/create-skills)
36+
* [AUTOTITLE](/copilot/reference/customization-cheat-sheet)

content/copilot/concepts/agents/coding-agent/about-custom-agents.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,4 @@ To create your own {% data variables.copilot.custom_agents_short %}, see:
7979

8080
* [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/create-custom-agents)
8181
* [AUTOTITLE](/copilot/how-tos/copilot-cli/customize-copilot/create-custom-agents-for-cli)
82+
* [AUTOTITLE](/copilot/reference/customization-cheat-sheet)

content/copilot/concepts/context/mcp.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,4 @@ The {% data variables.product.github %} MCP Registry is a curated list of MCP se
102102
* [AUTOTITLE](/copilot/how-tos/context/model-context-protocol/extending-copilot-chat-with-mcp)
103103
* [AUTOTITLE](/copilot/how-tos/context/model-context-protocol/using-the-github-mcp-server)
104104
* [AUTOTITLE](/copilot/tutorials/enhancing-copilot-agent-mode-with-mcp)
105+
* [AUTOTITLE](/copilot/reference/customization-cheat-sheet)

content/copilot/concepts/prompting/response-customization.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ Here are some common use cases and examples for each type of custom instructions
104104
## Further reading
105105

106106
* [AUTOTITLE](/copilot/concepts/agents/copilot-memory)
107+
* [AUTOTITLE](/copilot/reference/customization-cheat-sheet)
107108

108109
{% endwebui %}
109110

@@ -191,6 +192,7 @@ For information on how to enable, create, and use prompt files, see [AUTOTITLE](
191192

192193
* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)
193194
* [AUTOTITLE](/copilot/tutorials/use-custom-instructions)
195+
* [AUTOTITLE](/copilot/reference/customization-cheat-sheet)
194196

195197
{% endvscode %}
196198

@@ -287,6 +289,7 @@ For information on how to create and use prompt files, see [AUTOTITLE](/copilot/
287289
## Next steps
288290

289291
* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)
292+
* [AUTOTITLE](/copilot/reference/customization-cheat-sheet)
290293

291294
{% endvisualstudio %}
292295

@@ -390,6 +393,7 @@ For a curated collection of examples, see [AUTOTITLE](/copilot/tutorials/customi
390393

391394
* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)
392395
* [AUTOTITLE](/copilot/tutorials/use-custom-instructions)
396+
* [AUTOTITLE](/copilot/reference/customization-cheat-sheet)
393397

394398
{% endjetbrains %}
395399

@@ -435,6 +439,7 @@ For a curated collection of examples, see [AUTOTITLE](/copilot/tutorials/customi
435439

436440
* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)
437441
* [AUTOTITLE](/copilot/tutorials/use-custom-instructions)
442+
* [AUTOTITLE](/copilot/reference/customization-cheat-sheet)
438443

439444
{% endxcode %}
440445

@@ -481,6 +486,7 @@ For a curated collection of examples, see [AUTOTITLE](/copilot/tutorials/customi
481486

482487
* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)
483488
* [AUTOTITLE](/copilot/tutorials/use-custom-instructions)
489+
* [AUTOTITLE](/copilot/reference/customization-cheat-sheet)
484490

485491
{% endeclipse %}
486492

content/copilot/reference/cheat-sheet.md renamed to content/copilot/reference/chat-cheat-sheet.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: GitHub Copilot Chat cheat sheet
3-
shortTitle: Cheat sheet
3+
shortTitle: Chat cheat sheet
44
intro: 'Use this cheat sheet to quickly reference the most common commands and options for using {% data variables.copilot.copilot_chat %}.'
55
versions:
66
feature: copilot
@@ -9,6 +9,7 @@ topics:
99
category:
1010
- Author and optimize with Copilot
1111
redirect_from:
12+
- /copilot/reference/cheat-sheet
1213
- /copilot/using-github-copilot/github-copilot-chat-cheat-sheet
1314
- /copilot/using-github-copilot/copilot-chat/github-copilot-chat-cheat-sheet
1415
- /copilot/reference/github-copilot-chat-cheat-sheet
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
title: Copilot customization cheat sheet
3+
shortTitle: Customization cheat sheet
4+
intro: 'Compare the different customization options for {% data variables.product.prodname_copilot %}.'
5+
versions:
6+
feature: copilot
7+
topics:
8+
- Copilot
9+
category:
10+
- Author and optimize with Copilot
11+
contentType: reference
12+
---
13+
14+
{% data variables.product.prodname_copilot %} offers several customization features that let you tailor its behavior to your workflow, your team's standards, and your project's needs. Use the tables below to find the right one for your use case.
15+
16+
## Feature overview
17+
18+
This table shows what each customization feature is and where it lives.
19+
20+
| Feature | What it is | Filename and location |
21+
|---------|-----------|-------------------|
22+
| [Custom instructions](/copilot/concepts/prompting/response-customization) | Always-on context that automatically applies to every interaction within its defined scope | `.github/copilot-instructions.md` (repo-wide), `.github/instructions/*.instructions.md` (path-specific), `AGENTS.md` (third-party agents), or personal/org settings via UI on {% data variables.product.github %} |
23+
| [Prompt files](/copilot/concepts/prompting/response-customization?tool=vscode#about-prompt-files) | Reusable, standalone prompt template with input variables | `.github/prompts/*.prompt.md` |
24+
| [{% data variables.copilot.custom_agents_caps_short %}](/copilot/concepts/agents/coding-agent/about-custom-agents) | Specialist persona with its own instructions, tool restrictions, and context | `.github/agents/AGENT-NAME.md` (repo), `agents/AGENT-NAME.md` in `.github-private` repo (org/enterprise), or user profile |
25+
| [{% data variables.copilot.subagents_caps_short %}](/copilot/how-tos/chat-with-copilot/chat-in-ide#using-subagents) | Separate agent spawned by the main agent to handle delegated work in an isolated context | N/A (runtime process, not a user-configured file) |
26+
| [Agent skills](/copilot/concepts/agents/about-agent-skills) | Folder of instructions, scripts, and resources that {% data variables.product.prodname_copilot_short %} loads when relevant to a task | `.github/skills/<skill-name>/SKILL.md` (project) or `~/.copilot/skills/<skill-name>/SKILL.md` (personal) |
27+
| [MCP servers](/copilot/concepts/context/mcp) | Connection to external systems, APIs, and databases | `mcp.json` (path varies by IDE), repo settings on {% data variables.product.github %} ({% data variables.copilot.copilot_coding_agent_short %}), or `mcp-servers` property in {% data variables.copilot.copilot_custom_agent_short %} configurations |
28+
29+
## Usage comparison
30+
31+
This table helps you decide which customization feature to use.
32+
33+
| Feature | How to trigger | Best for | Example use cases |
34+
|---------|---------------|-------------|-------------------|
35+
| [Custom instructions](/copilot/concepts/prompting/response-customization) | Automatic | Standards, guidelines, or expectations that apply broadly across a context | Enforce coding standards, accessibility rules, review checklists |
36+
| [Prompt files](/copilot/concepts/prompting/response-customization?tool=vscode#about-prompt-files) | Manual: reference directly in chat or use the prompt file picker | Focused single tasks you run once with different inputs each time | Generate unit tests, run a code review checklist |
37+
| [{% data variables.copilot.custom_agents_caps_short %}](/copilot/concepts/agents/coding-agent/about-custom-agents) | Manual: select from the agent dropdown in your IDE, on {% data variables.product.github %}, or in {% data variables.copilot.copilot_cli_short %} | Projects or processes with distinct stages that need specialized capabilities or strict handoffs | React reviewer agent, read-only auditing agent |
38+
| [{% data variables.copilot.subagents_caps_short %}](/copilot/how-tos/chat-with-copilot/chat-in-ide#using-subagents) | Automatic, or reference a {% data variables.copilot.subagent_short %} directly in your prompt | Complex subtasks that should run in isolation from the main agent | Codebase research, running test suites |
39+
| [Agent skills](/copilot/concepts/agents/about-agent-skills) | Automatic: chosen by {% data variables.product.prodname_copilot_short %} when relevant to your prompt | Multi-step workflows with bundled assets that should be loaded as needed | {% data variables.product.prodname_actions %} failure debugging, deployment procedures, release note drafting |
40+
| [MCP servers](/copilot/concepts/context/mcp) | Automatic, or ask for a specific tool by name | Tasks that require access to external tools or real-time data | Manage issues and PRs ({% data variables.product.github %} MCP server), automate browser testing (Playwright MCP server) |
41+
42+
## IDE and surface support
43+
44+
This table shows which customization features are supported in each IDE and surface. For the full {% data variables.product.prodname_copilot_short %} feature matrix, see [AUTOTITLE](/copilot/reference/copilot-feature-matrix#features-by-ide).
45+
46+
{% data variables.product.company_short %} recommends using the latest stable IDE, {% data variables.copilot.copilot_cli_short %}, and {% data variables.product.prodname_copilot_short %} extension versions to get the best {% data variables.product.prodname_copilot_short %} experience.
47+
48+
**Key:**
49+
50+
* ✓ = supported
51+
* ✗ = not supported
52+
* P = under preview
53+
54+
| Feature | {% data variables.product.prodname_vscode_shortname %} | {% data variables.product.prodname_vs %} | JetBrains IDEs | Eclipse | Xcode | <span style="white-space: nowrap;">{% data variables.product.prodname_dotcom_the_website %}</span> | {% data variables.copilot.copilot_cli_short %} |
55+
|---------|:-------:|:-------------:|:---------:|:-------:|:-----:|:-------:|:---:|
56+
| Custom instructions ||| P | P | P |||
57+
| Prompt files ||| P || P |||
58+
| {% data variables.copilot.custom_agents_caps_short %} ||| P | P | P |||
59+
| {% data variables.copilot.subagents_caps_short %} ||| P | P | P |||
60+
| Agent skills ||| P |||||
61+
| MCP servers ||||||||
62+
63+
For a detailed breakdown of which types of custom instructions are supported in each IDE and surface, see [AUTOTITLE](/copilot/reference/custom-instructions-support).
64+
65+
## Further reading
66+
67+
* [AUTOTITLE](/copilot/tutorials/customization-library)—a curated collection of examples

content/copilot/reference/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ versions:
77
topics:
88
- Copilot
99
children:
10-
- /cheat-sheet
10+
- /chat-cheat-sheet
11+
- /customization-cheat-sheet
1112
- /ai-models
1213
- /copilot-feature-matrix
1314
- /keyboard-shortcuts

0 commit comments

Comments
 (0)