Skip to content

Commit 96b7249

Browse files
authored
Merge pull request #40932 from github/repo-sync
Repo sync
2 parents a04bd53 + 81753ec commit 96b7249

File tree

6 files changed

+71
-23
lines changed

6 files changed

+71
-23
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Docs changelog
22

3+
**17 October 2025**
4+
5+
We have updated the [Account and profile](https://docs.github.com/en/account-and-profile) and [Subscriptions and notifications](https://docs.github.com/en/subscriptions-and-notifications) docs for improved usability, scannability, and information architecture.
6+
7+
To support accomplishing tasks without context switching or sifting through unrelated content, articles are now organized by content type and focused on jobs-to-be-done. Additionally, related information is now linked from content type to content type.
8+
9+
<hr>
10+
311
**14 October 2025**
412

513
We've added a new tutorial about how to [Review AI-generated code](https://docs.github.com/en/copilot/tutorials/review-ai-generated-code). The article gives techniques to verify and validate AI-generated code, and also suggests how Copilot can help with reviews.

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

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: About customizing GitHub Copilot Chat responses
2+
title: About customizing GitHub Copilot responses
33
shortTitle: Response customization
44
intro: Learn about customizing the behavior of {% data variables.product.prodname_copilot %} to fit with your preferences and requirements.
55
versions:
@@ -47,31 +47,31 @@ contentType: concepts
4747
> [!NOTE] This version of this article is about custom instructions in Eclipse. Click the tabs above for other environments. <!-- markdownlint-disable-line MD027 -->
4848
{% endeclipse %}
4949

50-
## About customizing {% data variables.copilot.copilot_chat %} responses
50+
## About customizing {% data variables.product.prodname_copilot_short %} responses
5151

5252
{% webui %}
5353

54-
{% data variables.product.prodname_copilot %} can provide chat responses that are tailored to your personal preferences, the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your chat questions, you can create custom instructions that automatically add this information for you. The additional information is not displayed in the chat, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
54+
{% data variables.product.prodname_copilot %} can provide responses that are tailored to your personal preferences, the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your prompts, you can create custom instructions that automatically add this information for you. The additional information is not displayed, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
5555

5656
### Types of custom instructions
5757

58-
* **Personal custom instructions** apply to all conversations you have with {% data variables.copilot.copilot_chat_short %} across the {% data variables.product.github %} website. They allow you to specify your individual preferences, such as preferred language or response style, ensuring that the responses are tailored to your personal needs.
58+
* **Personal custom instructions** apply to all conversations you have with {% data variables.product.prodname_copilot_short %} across the {% data variables.product.github %} website. They allow you to specify your individual preferences, such as preferred language or response style, ensuring that the responses are tailored to your personal needs.
5959
* **Repository custom instructions** apply to conversations within the context of a specific repository. They are useful for defining project-specific coding standards, frameworks, or tools. For example, you can specify that a repository uses TypeScript and a particular library, ensuring consistent responses for all contributors.
6060
* **Organization custom instructions (public preview)** apply to conversations within the context of an organization on the {% data variables.product.github %} website. They are ideal for enforcing organization-wide preferences, such as a common language or security guidelines. Organization custom instructions can only be set by organization owners for organizations with a {% data variables.copilot.copilot_enterprise_short %} subscription.
6161

6262
### About repository custom instructions
6363

64-
You can create two types of repository custom instructions for {% data variables.copilot.copilot_chat_short %} on {% data variables.product.prodname_dotcom_the_website %}:
64+
You can create two types of repository custom instructions for {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_dotcom_the_website %}:
6565

6666
{% data reusables.copilot.custom-instructions-about %}
6767

6868
{% endwebui %}
6969

7070
{% vscode %}
7171

72-
{% data variables.product.prodname_copilot %} can provide chat responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your chat questions, you can create files in your repository that automatically add this information for you.
72+
{% data variables.product.prodname_copilot %} can provide responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your prompts, you can create files in your repository that automatically add this information for you.
7373

74-
There are two types of files you can use to provide context and instructions to {% data variables.copilot.copilot_chat %} in {% data variables.product.prodname_vscode_shortname %}:
74+
There are two types of files you can use to provide context and instructions to {% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode_shortname %}:
7575

7676
* **Repository custom instructions** allow you to specify instructions and preferences that {% data variables.product.prodname_copilot_short %} will consider when working in the context of the repository.
7777
* **Prompt files** (public preview) allow you to save common prompt instructions and relevant context in Markdown files (`*.prompt.md`) that you can then reuse in your chat prompts. {% data reusables.copilot.prompt-files-available-in-editors %}
@@ -82,15 +82,15 @@ While custom instructions help to add codebase-wide context to each AI workflow,
8282

8383
{% visualstudio %}
8484

85-
{% data variables.product.prodname_copilot %} can provide chat responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your chat questions, you can create a custom instructions file in your repository that automatically adds this information for you. The additional information is not displayed in the chat, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
85+
{% data variables.product.prodname_copilot %} can provide responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your prompts, you can create a custom instructions file in your repository that automatically adds this information for you. The additional information is not displayed in the chat input box, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
8686

8787
{% endvisualstudio %}
8888

8989
{% jetbrains %}
9090

91-
{% data variables.product.prodname_copilot %} can provide chat responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your chat questions, you can create a custom instructions file in your repository that automatically adds this information for you.
91+
{% data variables.product.prodname_copilot %} can provide responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your prompts, you can create a custom instructions file in your repository that automatically adds this information for you.
9292

93-
There are two types of files you can use to provide context and instructions to {% data variables.copilot.copilot_chat %} in JetBrains IDEs:
93+
There are two types of files you can use to provide context and instructions to {% data variables.product.prodname_copilot_short %} in JetBrains IDEs:
9494

9595
* **Repository custom instructions** allow you to specify instructions and preferences that {% data variables.product.prodname_copilot_short %} will consider when working in the context of the repository.
9696
* **Prompt files** (public preview) allow you to save common prompt instructions and relevant context in Markdown files (`*.prompt.md`) that you can then reuse in your chat prompts. {% data reusables.copilot.prompt-files-available-in-editors %}
@@ -101,15 +101,15 @@ While custom instructions help to add codebase-wide context to each AI workflow,
101101

102102
{% xcode %}
103103

104-
{% data variables.product.prodname_copilot %} can provide chat responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your chat questions, you can create a custom instructions file in your repository that automatically adds this information for you. The additional information is not displayed in the chat, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
104+
{% data variables.product.prodname_copilot %} can provide responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your prompts, you can create a custom instructions file in your repository that automatically adds this information for you. The additional information is not displayed in the chat input box, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
105105

106106
{% endxcode %}
107107

108108
{% eclipse %}
109109

110-
{% data variables.product.prodname_copilot %} can provide chat responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your chat questions, you can create a custom instructions file in your repository that automatically adds this information for you. The additional information is not displayed in the chat, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
110+
{% data variables.product.prodname_copilot %} can provide responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your prompts, you can create a custom instructions file in your repository that automatically adds this information for you. The additional information is not displayed in the chat input box, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
111111

112-
There are two types of repository custom instructions you can use to provide context and instructions to {% data variables.copilot.copilot_chat_short %} in Eclipse:
112+
There are two types of repository custom instructions you can use to provide context and instructions to {% data variables.product.prodname_copilot_short %} in Eclipse:
113113

114114
* **Workspace custom instructions** which apply to all projects in a workspace, and allow you to specify workspace-wide instructions and preferences, in a single file.
115115
* **Project custom instructions** which apply to a specific project.
@@ -204,7 +204,7 @@ The following examples demonstrate how to use prompt files.
204204

205205
## About repository custom instructions
206206

207-
Repository custom instructions consist of a single file, `.github/copilot-instructions.md`, that you create in a repository. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement chat questions.
207+
Repository custom instructions consist of a single file, `.github/copilot-instructions.md`, that you create in a repository. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement a {% data variables.product.prodname_copilot_short %} prompt.
208208

209209
Common use cases include:
210210

@@ -216,15 +216,15 @@ Common use cases include:
216216

217217
{% data reusables.copilot.repository-custom-instructions-example %}
218218

219-
{% data reusables.copilot.repository-cust-instr-code-review %}
219+
For a curated collection of examples, see [AUTOTITLE](/copilot/tutorials/customization-library/custom-instructions).
220220

221221
{% endvisualstudio %}
222222

223223
{% jetbrains %}
224224

225225
## About repository custom instructions
226226

227-
Repository custom instructions consist of a single file, `.github/copilot-instructions.md`, that you create in a repository. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement chat questions.
227+
Repository custom instructions consist of a single file, `.github/copilot-instructions.md`, that you create in a repository. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement a {% data variables.product.prodname_copilot_short %} prompt.
228228

229229
Common use cases include:
230230

@@ -236,6 +236,8 @@ Common use cases include:
236236

237237
{% data reusables.copilot.repository-custom-instructions-example %}
238238

239+
For a curated collection of examples, see [AUTOTITLE](/copilot/tutorials/customization-library/custom-instructions).
240+
239241
## About prompt files
240242

241243
> [!NOTE] Prompt files are {% data variables.release-phases.public_preview %} and subject to change.
@@ -291,7 +293,7 @@ The following examples demonstrate how to use prompt files.
291293

292294
## About repository custom instructions
293295

294-
Repository custom instructions consist of a single file, `.github/copilot-instructions.md`, that you create in a repository. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement chat questions.
296+
Repository custom instructions consist of a single file, `.github/copilot-instructions.md`, that you create in a repository. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement a {% data variables.product.prodname_copilot_short %} prompt.
295297

296298
Common use cases include:
297299

@@ -309,9 +311,9 @@ Common use cases include:
309311

310312
## About repository custom instructions
311313

312-
**Workspace custom instructions** apply to all projects in a workspace, and allow you to specify workspace-wide instructions and preferences. You can use workspace custom instructions to provide context and instructions to {% data variables.copilot.copilot_chat_short %} in Eclipse.
314+
**Workspace custom instructions** apply to all projects in a workspace, and allow you to specify workspace-wide instructions and preferences. You can use workspace custom instructions to provide context and instructions to {% data variables.product.prodname_copilot_short %} in Eclipse.
313315

314-
**Project custom instructions** consist of a single file, `.github/copilot-instructions.md`, that you create in a project. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement chat questions.
316+
**Project custom instructions** consist of a single file, `.github/copilot-instructions.md`, that you create in a project. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement a {% data variables.product.prodname_copilot_short %} prompt.
315317

316318
Common use cases include:
317319

@@ -323,6 +325,8 @@ Common use cases include:
323325

324326
{% data reusables.copilot.repository-custom-instructions-example %}
325327

328+
For a curated collection of examples, see [AUTOTITLE](/copilot/tutorials/customization-library/custom-instructions).
329+
326330
{% endeclipse %}
327331

328332
## Writing effective custom instructions
@@ -353,7 +357,7 @@ Answer all questions in less than 1000 characters, and words of no more than 12
353357

354358
* [AUTOTITLE](/copilot/customizing-copilot/adding-personal-custom-instructions-for-github-copilot)
355359
* [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)
356-
* [AUTOTITLE](/copilot/customizing-copilot/adding-organization-custom-instructions-for-github-copilot){% ifversion fpt %} in the {% data variables.product.prodname_ghe_cloud %} documentation{% endif %}
360+
* [AUTOTITLE](/copilot/customizing-copilot/adding-organization-custom-instructions-for-github-copilot)
357361

358362
{% endwebui %}
359363

content/copilot/how-tos/configure-custom-instructions/add-repository-instructions.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,10 @@ You can click the reference to open the file.
545545

546546
{% data reusables.copilot.custom-instructions-reference %}
547547

548+
## Further reading
549+
550+
* [AUTOTITLE](/copilot/tutorials/customization-library/custom-instructions)—a curated collection of examples
551+
548552
{% endxcode %}
549553

550554
{% webui %}
@@ -564,6 +568,10 @@ Your choice persists, for all repositories containing a custom instructions file
564568

565569
{% data reusables.copilot.custom-instructions-enabling-for-ccr %}
566570

571+
## Further reading
572+
573+
* [AUTOTITLE](/copilot/tutorials/customization-library/custom-instructions)—a curated collection of examples
574+
567575
{% endwebui %}
568576

569577
{% vscode %}
@@ -593,6 +601,10 @@ Your choice persists, for all repositories containing a custom instructions file
593601

594602
{% data reusables.copilot.custom-instructions-enabling-for-ccr %}
595603

604+
## Further reading
605+
606+
* [AUTOTITLE](/copilot/tutorials/customization-library/custom-instructions)—a curated collection of examples
607+
596608
{% endvisualstudio %}
597609

598610
{% vscode %}
@@ -633,6 +645,10 @@ To enable prompt files, configure the workspace settings.
633645

634646
For more information about prompt files, see [Custom instructions for {% data variables.product.prodname_copilot %} in VS Code](https://code.visualstudio.com/docs/copilot/copilot-customization#_reusable-prompt-files-experimental) in the {% data variables.product.prodname_vscode %} documentation.
635647

648+
## Further reading
649+
650+
* [AUTOTITLE](/copilot/tutorials/customization-library)
651+
636652
{% endvscode %}
637653

638654
{% jetbrains %}
@@ -673,4 +689,24 @@ Once prompt files are saved, their instructions will apply to the current worksp
673689

674690
1. Submit the chat prompt.
675691

692+
## Further reading
693+
694+
* [AUTOTITLE](/copilot/tutorials/customization-library)
695+
676696
{% endjetbrains %}
697+
698+
{% eclipse %}
699+
700+
## Further reading
701+
702+
* [AUTOTITLE](/copilot/tutorials/customization-library/custom-instructions)—a curated collection of examples
703+
704+
{% endeclipse %}
705+
706+
{% copilotcli %}
707+
708+
## Further reading
709+
710+
* [AUTOTITLE](/copilot/tutorials/customization-library/custom-instructions)—a curated collection of examples
711+
712+
{% endcopilotcli %}

data/reusables/copilot/custom-instructions-about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
> [!NOTE]
1414
> Currently, path-specific custom instructions files are only used by {% data variables.copilot.copilot_code-review_short %}, {% data variables.copilot.copilot_coding_agent %}, and {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode_shortname %}.
1515
16-
For more information, see [AUTOTITLE](/copilot/how-tos/configure-custom-instructions/add-repository-instructions).
16+
For a curated collection of examples, see [AUTOTITLE](/copilot/tutorials/customization-library/custom-instructions).

0 commit comments

Comments
 (0)