Skip to content

Commit 9d2159c

Browse files
authored
Merge pull request #42762 from github/repo-sync
Repo sync
2 parents 1262d32 + c81a74b commit 9d2159c

File tree

8 files changed

+134
-100
lines changed

8 files changed

+134
-100
lines changed

content/copilot/concepts/agents/code-review.md

Lines changed: 78 additions & 61 deletions
Large diffs are not rendered by default.

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

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,16 @@ category:
1717

1818
{% data reusables.copilot.personal-instructions-note %}
1919

20-
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).
20+
You can customize {% data variables.copilot.copilot_chat %} responses in several ways. For an overview, see [AUTOTITLE](/copilot/concepts/about-customizing-github-copilot-chat-responses?tool=webui).
2121

22-
## About personal custom instructions for {% data variables.copilot.copilot_chat %}
22+
## About personal custom instructions for {% data variables.copilot.copilot_chat_short %}
23+
24+
Add custom instructions to receive personalized chat responses. Your instructions apply to all your conversations on the {% data variables.product.github %} website. Custom instructions let you specify preferences such as your preferred language or response style.
25+
26+
Examples of instructions you can add:
2327

24-
You can add custom instructions for {% data variables.copilot.copilot_chat %} in order to receive chat responses that are customized to your personal preferences, across your conversations on the {% data variables.product.github %} website. For example, you can choose to always have {% data variables.copilot.copilot_chat_short %} respond in a preferred language or with a particular style. Some examples of instructions you could add are:
2528
* `Always respond in Spanish.`
26-
* `Your style is a helpful colleague, minimize explanations but provide enough context to understand the code.`
29+
* `Use a helpful, collegial tone. Keep explanations brief, but provide enough context to understand the code.`
2730
* `Always provide examples in TypeScript.`
2831

2932
> [!NOTE]
@@ -32,15 +35,20 @@ You can add custom instructions for {% data variables.copilot.copilot_chat %} in
3235
3336
## Adding personal custom instructions
3437

35-
You can add personal custom instructions in {% data variables.copilot.copilot_chat_short %} in {% data variables.product.github %}.
38+
To add personal custom instructions in {% data variables.copilot.copilot_chat_short %} on {% data variables.product.github %}:
3639

3740
1. Open [{% data variables.copilot.copilot_chat_short %}](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text).
38-
1. In the bottom left corner, click your profile picture, then click **{% octicon "note" aria-hidden="true" aria-label="note" %} Personal instructions**.
41+
1. In the bottom left corner, click your profile picture. Then click **{% octicon "note" aria-hidden="true" aria-label="note" %} Personal instructions**.
3942
1. Add natural language instructions to the text box.
43+
44+
Use any format. For example, a single block of text, each instruction on a new line, or instructions separated by blank lines.
45+
46+
1. Optionally, use a template for common instructions. Click {% octicon "light-bulb" aria-label="The light-bulb icon" %} and select a template.
47+
48+
When you select a template, placeholder text appears. Replace placeholders like `{format}` with your preferences.
49+
1. Click **Save**.
4050

41-
You can write your instructions in any format you prefer. For example, you can write them as a single block of text, each on a new line, or separated by blank lines.
42-
1. Optionally, click {% octicon "light-bulb" aria-label="The light-bulb icon" %} to view templates you can use for common instructions. If you click on one of the boxes, such as "Communication", instructions will be added to the text box with placeholders, such as `{format}` that you can replace with your preferences.
43-
1. Click **Save**. Your instructions are now active, and will stay active until you change or remove them.
51+
Your instructions are now active. They will remain active until you change or remove them.
4452

4553
{% note %}
4654

content/copilot/tutorials/speed-up-development-work.md

Lines changed: 34 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,26 @@ category:
1616
- Author and optimize with Copilot
1717
---
1818

19-
If you're starting a new feature, trying to understand a system, or picking up a task in a codebase you’re still learning, {% data variables.copilot.copilot_spaces %} can help you:
19+
{% data variables.copilot.copilot_spaces %} helps you work faster when starting a new feature, understanding a system, or picking up a task in an unfamiliar codebase.
2020

21-
* Stay focused by organizing the context you need in one place.
22-
* Get better help from {% data variables.product.prodname_copilot_short %} by grounding it in relevant code and documentation.
23-
* Move faster without switching between tools or asking others for background information.
21+
Use {% data variables.copilot.copilot_spaces_short %} to:
22+
23+
* Organize the context you need in one place.
24+
* Provide {% data variables.product.prodname_copilot_short %} with relevant code and documentation.
25+
* Reduce time spent switching between tools or asking others for background information.
2426

2527
To create a space, go to [https://github.com/copilot/spaces](https://github.com/copilot/spaces?ref_product=copilot&ref_type=engagement&ref_style=text), and click **Create space**.
2628

27-
Below are some examples of how to use {% data variables.copilot.copilot_spaces_short %} to help you with development work.
29+
The examples in this article show you how to use {% data variables.copilot.copilot_spaces_short %} for common development tasks.
2830

2931
## Developing a new feature
3032

31-
When working on a specific feature, you can save time and produce higher-quality results by using a space. Add the relevant code, a product spec, and any supporting materials—like notes from a design review or mockup images. {% data variables.product.prodname_copilot_short %} can help you:
33+
Create a space when you start working on a specific feature. Add the relevant code, a product specification, and any supporting materials. Supporting materials can include notes from a design review or mockup images.
34+
35+
{% data variables.product.prodname_copilot_short %} can help you:
3236

3337
* Summarize how the current implementation works.
34-
* Suggest changes or additions based on the spec.
38+
* Suggest changes or additions based on the specification.
3539
* Draft a first implementation or outline next steps.
3640
* Flag missing elements or inconsistencies.
3741

@@ -43,12 +47,14 @@ When working on a specific feature, you can save time and produce higher-quality
4347
4448
## Defining the logic for a small, frequent task
4549

46-
When working on repetitive tasks like tracking telemetry events or handling event emissions, it’s useful to document the logic once and share it with others through {% data variables.copilot.copilot_spaces_short %}. This allows everyone to stay consistent and saves time when performing the task. If you have a process flowchart for a task, you can upload this to your space for reference. {% data variables.product.prodname_copilot_short %} can assist by:
50+
Document the logic for repetitive tasks once and share it through a space. This approach keeps everyone consistent and saves time. Tasks like tracking telemetry events or handling event emissions benefit from this approach.
51+
52+
If you have a process flowchart, upload it to your space for reference. {% data variables.product.prodname_copilot_short %} can:
4753

48-
* Suggesting efficient patterns based on your previous work.
49-
* Helping write reusable functions or templates.
50-
* Reviewing the logic to ensure it aligns with project standards.
51-
* Providing examples of how similar tasks have been handled in the codebase.
54+
* Suggest efficient patterns based on your previous work.
55+
* Help write reusable functions or templates.
56+
* Review the logic to ensure it aligns with project standards.
57+
* Provide examples of how similar tasks have been handled in the codebase.
5258

5359
**Instructions**:
5460
> You help developers implement telemetry events. You should (1) validate what the user's goals are for the event, (2) propose a new event structure based on examples of existing events (and using the common telemetry schema), and (3) create a new version of the telemetry config file.
@@ -58,11 +64,13 @@ When working on repetitive tasks like tracking telemetry events or handling even
5864
5965
## Sharing knowledge with teammates
6066

61-
In situations where people tend to ask similar questions, such as how authentication or search works in your project, {% data variables.product.prodname_copilot_short %} can help:
67+
Create a space for topics where people tend to ask similar questions. For example, questions about how authentication or search works in your project.
68+
69+
{% data variables.product.prodname_copilot_short %} can:
6270

6371
* Explain how the code works.
64-
* Answer questions grounded in the latest documentation.
65-
* Guide new team members on the best practices.
72+
* Answer questions based on the latest documentation.
73+
* Guide new team members on best practices.
6674

6775
**Instructions**:
6876
> You contain the code and documentation associated with our authentication system.
@@ -72,16 +80,17 @@ In situations where people tend to ask similar questions, such as how authentica
7280
7381
## Hands-on practice
7482

75-
Try the [Scale institutional knowledge using Copilot Spaces](https://github.com/skills/scale-institutional-knowledge-using-copilot-spaces) Skills exercise for practical experience to do the following:
76-
* Centralize scattered project management knowledge in Copilot Spaces
77-
* Convert tacit team insights into searchable, versioned artifacts
78-
* Give all team members equal access to processes, decisions, and rationale
79-
* Connect a repository as a structured knowledge source
80-
* Extract, refine, and standardize workflows collaboratively
81-
* Feed validated improvements back into living documentation
82-
* Accelerate onboarding and reduce single-person dependency risk
83-
* Enable consistent, repeatable project execution
83+
Try the [Scale institutional knowledge using Copilot Spaces](https://github.com/skills/scale-institutional-knowledge-using-copilot-spaces) Skills exercise for practical experience. This exercise shows you how to:
84+
85+
* Centralize scattered project management knowledge in Copilot Spaces.
86+
* Convert team insights into searchable, versioned artifacts.
87+
* Give all team members equal access to processes, decisions, and rationale.
88+
* Connect a repository as a structured knowledge source.
89+
* Extract, refine, and standardize workflows collaboratively.
90+
* Feed validated improvements back into living documentation.
91+
* Accelerate onboarding and reduce single-person dependency risk.
92+
* Enable consistent, repeatable project execution.
8493

8594
## Next steps
8695

87-
Once you’ve created a space to help with development tasks, consider sharing it with your team to reduce handoffs and repeated questions. See [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/collaborating-with-your-team-using-copilot-spaces).
96+
After you create a space to help with development tasks, consider sharing it with your team to reduce handoffs and repeated questions. See [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/collaborating-with-your-team-using-copilot-spaces).

content/repositories/creating-and-managing-repositories/deleting-a-repository.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ topics:
2020
Deleting a public repository will not delete any forks of the repository.
2121

2222
> [!WARNING]
23-
> * Deleting a repository will **permanently** delete release attachments and team permissions. This action **cannot** be undone.
23+
> * Deleting a repository will **permanently** delete team permissions. This action **cannot** be undone.
2424
> * Deleting a private{% ifversion ghes or ghec %} or internal{% endif %} repository will delete all forks of the repository.
2525
2626
Some deleted repositories can be restored within 90 days of deletion. {% ifversion ghes %}Your site administrator may be able to restore a deleted repository for you. For more information, see [AUTOTITLE](/admin/user-management/managing-repositories-in-your-enterprise/restoring-a-deleted-repository). {% else %}For more information, see [AUTOTITLE](/repositories/creating-and-managing-repositories/restoring-a-deleted-repository).{% endif %}

content/repositories/creating-and-managing-repositories/restoring-a-deleted-repository.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If you want to restore a repository that was part of a fork network that is not
3636

3737
It can take up to an hour after a repository is deleted before that repository is available for restoration.
3838

39-
Restoring a repository will not restore release attachments or team permissions. Issues that are restored will not be labeled.
39+
Restoring a repository will not restore team permissions. Issues that are restored will not be labeled.
4040

4141
## Restoring a deleted repository that was owned by a personal account
4242

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Multiple types of custom instructions can apply to a request sent to {% data variables.product.prodname_copilot_short %}. Personal instructions take the highest priority, followed by repository instructions, with organization instructions prioritized last. However, all sets of relevant instructions are still combined and provided to {% data variables.product.prodname_copilot_short %}.
1+
Multiple types of custom instructions can apply to a request sent to {% data variables.product.prodname_copilot_short %}. Personal instructions take the highest priority. Repository instructions come next, and then organization instructions are prioritized last. However, all sets of relevant instructions are provided to {% data variables.product.prodname_copilot_short %}.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Whenever possible, you should avoid providing conflicting sets of instructions. If you are concerned about response quality, you can also choose to temporarily disable repository instructions. See [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot?tool=webui#enabling-or-disabling-repository-custom-instructions).
1+
Whenever possible, try to avoid providing conflicting sets of instructions. If you are concerned about response quality, you can temporarily disable repository instructions. See [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot?tool=webui#enabling-or-disabling-repository-custom-instructions).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
> [!NOTE] Personal custom instructions are currently only supported for {% data variables.copilot.copilot_chat_dotcom %}.
1+
> [!NOTE] Personal custom instructions are only supported for {% data variables.copilot.copilot_chat_dotcom %}.

0 commit comments

Comments
 (0)