You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
# Docs changelog
2
2
3
+
**24 October 2025**
4
+
5
+
To support the enterprise roles and teams public preview, we:
6
+
7
+
* Created a new concepts category in the [enterprise admin](https://docs.github.com/en/enterprise-cloud@latest/admin) docs aimed at onboarding administrators, including new articles on roles and teams in an enterprise.
8
+
* Built a user journey for setting up roles, teams, and apps to simplify administration, starting with [Identifying the roles required by your enterprise](https://docs.github.com/en/enterprise-cloud@latest/admin/managing-accounts-and-repositories/managing-roles-in-your-enterprise/identify-role-requirements).
9
+
* Published how-to content on [creating custom roles](https://docs.github.com/en/enterprise-cloud@latest/admin/managing-accounts-and-repositories/managing-roles-in-your-enterprise/create-custom-roles), [creating enterprise teams](https://docs.github.com/en/enterprise-cloud@latest/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/create-enterprise-teams), and [assigning roles](https://docs.github.com/en/enterprise-cloud@latest/admin/managing-accounts-and-repositories/managing-roles-in-your-enterprise/assign-roles).
10
+
* Communicated new conceptual frameworks and best practices for enterprise accounts, including [Best practices for organizing work in your enterprise](https://docs.github.com/en/enterprise-cloud@latest/admin/concepts/best-practices) and [Enterprise accounts](https://docs.github.com/en/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/enterprise-accounts).
11
+
12
+
<hr>
13
+
3
14
**17 October 2025**
4
15
5
16
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.
@@ -93,7 +94,7 @@ App managers can also be assigned to individual apps. See [AUTOTITLE](/admin/man
93
94
## Security managers
94
95
95
96
> [!NOTE]
96
-
> The enterprise security manager role is in {% data variables.release-phases.public_preview %} and subject to change. The [AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-pre-release-license-terms) apply to your use of this role.
97
+
> The enterprise security manager role is in {% data variables.release-phases.public_preview %} and subject to change.
97
98
98
99
Security managers have the permissions required to effectively manage use of security features and alerts for the enterprise. They can view, manage, and assign:
Copy file name to clipboardExpand all lines: content/copilot/how-tos/configure-custom-instructions/add-organization-instructions.md
+2-21Lines changed: 2 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,28 +15,9 @@ redirect_from:
15
15
contentType: how-tos
16
16
---
17
17
18
-
> [!NOTE]
19
-
> This feature is currently in {% data variables.release-phases.public_preview %} and is subject to change.
20
-
>
21
-
> **Support:** Organization custom instructions are currently only supported for {% data variables.copilot.copilot_chat_short %} on {% data variables.product.prodname_dotcom_the_website %} and {% data variables.copilot.copilot_code-review_short %} on {% data variables.product.prodname_dotcom_the_website %}.
18
+
{% data reusables.copilot.custom-instructions-org-support %}
22
19
23
-
For an overview of the methods you can use to customize {% data variables.copilot.copilot_chat %} responses, see [AUTOTITLE](/copilot/concepts/about-customizing-github-copilot-chat-responses?tool=webui).
24
-
25
-
## About organization custom instructions for {% data variables.product.prodname_copilot_short %}
26
-
27
-
Organization owners can add instructions for {% data variables.product.prodname_copilot_short %}, to tailor responses to the needs and preferences of your organization. For example, you can choose to always have {% data variables.copilot.copilot_chat_short %} respond in your company's language of choice or with a particular style.
28
-
29
-
Custom instructions defined in an organization's {% data variables.product.prodname_copilot_short %} settings are used for all members of the organization, irrespective of whether they receive their {% data variables.product.prodname_copilot_short %} subscription from that organization.
30
-
31
-
Some examples of instructions you could add are:
32
-
*`Always respond in Spanish.`
33
-
*`Do not generate code blocks in responses.`
34
-
*`For questions related to security, use the Security Docs Knowledge Base.`
35
-
36
-
> [!NOTE]
37
-
> * {% data reusables.copilot.custom-instructions-chat-precedence %}
38
-
> * For {% data variables.copilot.copilot_code-review_short %}, the order of precedence is: instructions in any applicable `.github/instructions/**/NAME.instructions.md` file, then the instructions in the `.github/copilot-instructions.md` file, then the organization-level custom instructions.
39
-
> * {% data reusables.copilot.custom-instructions-conflict %}
20
+
Organization owners can add instructions for {% data variables.product.prodname_copilot_short %}, to tailor responses to specific needs and preferences across the organization. For an overview of this, and other types of custom instructions for {% data variables.product.prodname_copilot_short %}, see [AUTOTITLE](/copilot/concepts/about-customizing-github-copilot-chat-responses?tool=webui).
Copy file name to clipboardExpand all lines: content/copilot/how-tos/configure-custom-instructions/add-repository-instructions.md
+10-71Lines changed: 10 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ redirect_from:
19
19
20
20
This version of this article is for using repository custom instructions on the {% data variables.product.github %} website. Click the tabs above for information on using custom instructions in other environments. <!-- markdownlint-disable-line MD027 -->
21
21
22
-
{% data reusables.copilot.repository-custom-instructions-support %}
22
+
{% data reusables.copilot.repository-custom-instructions-about %}
23
23
24
24
{% data reusables.copilot.repository-custom-instructions-prerequisites %}
25
25
@@ -29,7 +29,7 @@ This version of this article is for using repository custom instructions on the
29
29
30
30
This version of this article is for using repository custom instructions and prompt files in {% data variables.product.prodname_vscode_shortname %}. Click the tabs above for instructions on using custom instructions in other environments.
31
31
32
-
{% data reusables.copilot.repository-custom-instructions-support %}
32
+
{% data reusables.copilot.repository-custom-instructions-about %}
33
33
34
34
{% data reusables.copilot.repository-custom-instructions-prerequisites %}
35
35
@@ -39,7 +39,7 @@ This version of this article is for using repository custom instructions and pro
39
39
40
40
This version of this article is for using repository custom instructions in {% data variables.product.prodname_vs %}. Click the tabs above for instructions on using custom instructions in other environments.
41
41
42
-
{% data reusables.copilot.repository-custom-instructions-support %}
42
+
{% data reusables.copilot.repository-custom-instructions-about %}
43
43
44
44
{% data reusables.copilot.repository-custom-instructions-prerequisites %}
45
45
@@ -49,7 +49,7 @@ This version of this article is for using repository custom instructions in {% d
49
49
50
50
This version of this article is for using repository custom instructions in JetBrains IDEs. Click the tabs above for instructions on using custom instructions in other environments.
51
51
52
-
{% data reusables.copilot.repository-custom-instructions-support %}
52
+
{% data reusables.copilot.repository-custom-instructions-about %}
53
53
54
54
{% data reusables.copilot.repository-custom-instructions-prerequisites %}
55
55
@@ -59,7 +59,7 @@ This version of this article is for using repository custom instructions in JetB
59
59
60
60
This version of this article is for using repository custom instructions in Xcode. Click the tabs above for instructions on using custom instructions in other environments.
61
61
62
-
{% data reusables.copilot.repository-custom-instructions-support %}
62
+
{% data reusables.copilot.repository-custom-instructions-about %}
63
63
64
64
{% data reusables.copilot.repository-custom-instructions-prerequisites %}
65
65
@@ -79,7 +79,7 @@ This version of this article is for using repository custom instructions with th
79
79
80
80
This version of this article is for using repository custom instructions in Eclipse. Click the tabs above for instructions on using custom instructions in other environments.
81
81
82
-
{% data reusables.copilot.repository-custom-instructions-support %}
82
+
{% data reusables.copilot.repository-custom-instructions-about %}
83
83
84
84
{% data reusables.copilot.repository-custom-instructions-prerequisites %}
85
85
@@ -207,7 +207,7 @@ Once saved, these instructions will apply to the current project in Eclipse that
207
207
208
208
{% copilotcli %}
209
209
210
-
{% data variables.product.prodname_copilot %} supports three types of repository custom instructions. See the table above for details of which {% data variables.product.prodname_copilot %} features support these types of instructions.
210
+
{% data variables.product.prodname_copilot %} supports three types of repository custom instructions.
211
211
212
212
***Repository-wide custom instructions**, which apply to all requests made in the context of a repository.
213
213
@@ -243,7 +243,7 @@ Once saved, these instructions will apply to the current project in Eclipse that
243
243
244
244
{% vscode %}
245
245
246
-
{% data variables.product.prodname_vscode_shortname %} supports three types of repository custom instructions. See the table above for details of which {% data variables.product.prodname_copilot %} features support these types of instructions.
246
+
{% data variables.product.prodname_vscode_shortname %} supports three types of repository custom instructions. For details of which {% data variables.product.prodname_copilot %} features support these types of instructions, see [AUTOTITLE](/copilot/concepts/prompting/response-customization?tool=vscode#support-for-repository-custom-instructions-1).
247
247
248
248
***Repository-wide custom instructions**, which apply to all requests made in the context of a repository.
249
249
@@ -297,7 +297,7 @@ Once saved, these instructions will apply to the current project in Eclipse that
297
297
298
298
{% webui %}
299
299
300
-
{% data variables.product.prodname_copilot_short %} on {% data variables.product.github %} supports three types of repository custom instructions. See the table above for details of which {% data variables.product.prodname_copilot %} features support these types of instructions.
300
+
{% data variables.product.prodname_copilot_short %} on {% data variables.product.github %} supports three types of repository custom instructions. For details of which {% data variables.product.prodname_copilot %} features support these types of instructions, see [AUTOTITLE](/copilot/concepts/prompting/response-customization?tool=webui#support-for-repository-custom-instructions).
301
301
302
302
***Repository-wide custom instructions** apply to all requests made in the context of a repository.
303
303
@@ -311,7 +311,7 @@ Once saved, these instructions will apply to the current project in Eclipse that
311
311
312
312
***Agent instructions** are used by AI agents.
313
313
314
-
You can create one or more `AGENTS.md` files, stored anywhere within the repository. When {% data variables.product.prodname_copilot_short %} is working, the nearest `AGENTS.md` file in the directory tree will take precedence. For more information, see the [openai/agents.md repository](https://github.com/openai/agents.md).
314
+
You can create one or more `AGENTS.md` files, stored anywhere within the repository. When {% data variables.product.prodname_copilot_short %} is working, the nearest `AGENTS.md` file in the directory tree will take precedence over other agent instructions files. For more information, see the [openai/agents.md repository](https://github.com/openai/agents.md).
315
315
316
316
Alternatively, you can use a single `CLAUDE.md` or `GEMINI.md` file stored in the root of the repository.
317
317
@@ -438,67 +438,6 @@ Did you successfully add a custom instructions file to your repository?
The instructions you add to your custom instruction file(s) should be short, self-contained statements that provide {% data variables.product.prodname_copilot_short %} with relevant information to help it work in this repository. Because the instructions are sent with every chat message, they should be broadly applicable to most requests you will make in the context of the repository.
444
-
445
-
The exact structure you utilize for your instructions file(s) will vary by project and need, but the following guidelines provide a good starting point:
446
-
447
-
* Provide an overview of the project you're working on, including its purpose, goals, and any relevant background information.
448
-
* Include the folder structure of the repository, including any important directories or files that are relevant to the project.
449
-
* Specify the coding standards and conventions that should be followed, such as naming conventions, formatting rules, and best practices.
450
-
* Include any specific tools, libraries, or frameworks that are used in the project, along with any relevant version numbers or configurations.
451
-
452
-
The following instructions file(s) is an example of these practices in action:
453
-
454
-
```markdown
455
-
# Project Overview
456
-
457
-
This project is a web application that allows users to manage their tasks and to-do lists. It is built using React and Node.js, and uses MongoDB for data storage.
458
-
459
-
## Folder Structure
460
-
461
-
- `/src`: Contains the source code for the frontend.
462
-
- `/server`: Contains the source code for the Node.js backend.
463
-
- `/docs`: Contains documentation for the project, including API specifications and user guides.
464
-
465
-
## Libraries and Frameworks
466
-
467
-
- React and Tailwind CSS for the frontend.
468
-
- Node.js and Express for the backend.
469
-
- MongoDB for data storage.
470
-
471
-
## Coding Standards
472
-
473
-
- Use semicolons at the end of each statement.
474
-
- Use single quotes for strings.
475
-
- Use function based components in React.
476
-
- Use arrow functions for callbacks.
477
-
478
-
## UI guidelines
479
-
480
-
- A toggle is provided to switch between light and dark mode.
481
-
- Application should have a modern and clean design.
482
-
```
483
-
484
-
You should also consider the size and complexity of your repository. The following types of instructions may work for a small repository with only a few contributors, but for a large and diverse repository, **these may cause problems**:
485
-
486
-
* Requests to refer to external resources when formulating a response
487
-
* Instructions to answer in a particular style
488
-
* Requests to always respond with a certain level of detail
489
-
490
-
For example, the following instructions **may not have the intended results**:
491
-
492
-
```markdown
493
-
Always conform to the coding styles defined in styleguide.md in repo my-org/my-repo when generating code.
494
-
495
-
Use @terminal when answering questions about Git.
496
-
497
-
Answer all questions in the style of a friendly colleague, using informal language.
498
-
499
-
Answer all questions in less than 1000 characters, and words of no more than 12 characters.
500
-
```
501
-
502
441
## Repository custom instructions in use
503
442
504
443
The instructions in the file(s) are available for use by {% data variables.product.prodname_copilot_short %} as soon as you save the file(s). The complete set of instructions will be automatically added to requests that you submit to {% data variables.product.prodname_copilot_short %} in the context of that repository. For example, they are added to the prompt you submit to {% data variables.copilot.copilot_chat_short %}.
Copy file name to clipboardExpand all lines: data/reusables/copilot/custom-instructions-about.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,16 @@
2
2
3
3
These are specified in a `copilot-instructions.md` file in the `.github` directory of the repository.
4
4
5
-
Repository-wide custom instructions files are used for chat responses, for code review, and also by {% data variables.copilot.copilot_coding_agent %}.
6
-
7
5
***Path-specific custom instructions**, which apply to requests made in the context of files that match a specified path.
8
6
9
7
These are specified in one or more `NAME.instructions.md` files within the `.github/instructions` directory in the repository.
10
8
11
9
By using path-specific instructions you can avoid overloading your repository-wide instructions with information that only applies to files of certain types, or in certain directories.
12
10
13
-
> [!NOTE]
14
-
> 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 %}.
11
+
***Agent instructions**, which are similar to repository-wide custom instructions, but are currently not supported by all {% data variables.product.prodname_copilot_short %} features.
12
+
13
+
These are specified in files called `AGENTS.md`, `CLAUDE.md`, or `GEMINI.md`.
14
+
15
+
See the table below for details of support for each of these types of repository custom instructions across different {% data variables.product.prodname_copilot_short %} features.
15
16
16
17
For a curated collection of examples, see [AUTOTITLE](/copilot/tutorials/customization-library/custom-instructions).
The instructions you add to your custom instruction file(s) should be short, self-contained statements that provide {% data variables.product.prodname_copilot_short %} with relevant information to help it work in this repository. Because the instructions are sent with every chat message, they should be broadly applicable to most requests you will make in the context of the repository.
4
+
5
+
The exact structure you utilize for your instructions file(s) will vary by project and need, but the following guidelines provide a good starting point:
6
+
7
+
* Provide an overview of the project you're working on, including its purpose, goals, and any relevant background information.
8
+
* Include the folder structure of the repository, including any important directories or files that are relevant to the project.
9
+
* Specify the coding standards and conventions that should be followed, such as naming conventions, formatting rules, and best practices.
10
+
* Include any specific tools, libraries, or frameworks that are used in the project, along with any relevant version numbers or configurations.
11
+
12
+
The following instructions file is an example of these practices in action:
13
+
14
+
```markdown
15
+
# Project Overview
16
+
17
+
This project is a web application that allows users to manage their tasks and to-do lists. It is built using React and Node.js, and uses MongoDB for data storage.
18
+
19
+
## Folder Structure
20
+
21
+
- `/src`: Contains the source code for the frontend.
22
+
- `/server`: Contains the source code for the Node.js backend.
23
+
- `/docs`: Contains documentation for the project, including API specifications and user guides.
24
+
25
+
## Libraries and Frameworks
26
+
27
+
- React and Tailwind CSS for the frontend.
28
+
- Node.js and Express for the backend.
29
+
- MongoDB for data storage.
30
+
31
+
## Coding Standards
32
+
33
+
- Use semicolons at the end of each statement.
34
+
- Use single quotes for strings.
35
+
- Use function based components in React.
36
+
- Use arrow functions for callbacks.
37
+
38
+
## UI guidelines
39
+
40
+
- A toggle is provided to switch between light and dark mode.
41
+
- Application should have a modern and clean design.
42
+
```
43
+
44
+
You should also consider the size and complexity of your repository. The following types of instructions may work for a small repository with only a few contributors, but for a large and diverse repository, **these may cause problems**:
45
+
46
+
* Requests to refer to external resources when formulating a response
47
+
* Instructions to answer in a particular style
48
+
* Requests to always respond with a certain level of detail
49
+
50
+
For example, the following instructions **may not have the intended results**:
51
+
52
+
```markdown
53
+
Always conform to the coding styles defined in styleguide.md in repo my-org/my-repo when generating code.
54
+
55
+
Use @terminal when answering questions about Git.
56
+
57
+
Answer all questions in the style of a friendly colleague, using informal language.
58
+
59
+
Answer all questions in less than 1000 characters, and words of no more than 12 characters.
0 commit comments