Skip to content

Commit 327105a

Browse files
saritaihubwriter
andauthored
Docs updates for Spaces GA + Spaces in IDE (#57644)
Co-authored-by: hubwriter <hubwriter@github.com>
1 parent 543f9de commit 327105a

File tree

8 files changed

+80
-25
lines changed

8 files changed

+80
-25
lines changed

content/copilot/concepts/context/spaces.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ redirect_from:
1414
contentType: concepts
1515
---
1616

17-
{% data reusables.copilot.copilot-spaces.preview-note %}
18-
1917
{% data variables.copilot.copilot_spaces %} let you organize the context that {% data variables.product.prodname_copilot_short %} uses to answer your questions. {% data variables.copilot.copilot_spaces_short %} can include repositories, code, pull requests, issues, free-text content like transcripts or notes, images, and file uploads. You can ask {% data variables.product.prodname_copilot_short %} questions grounded in that context, or share the space with your team to support collaboration and knowledge sharing.
2018

2119
## Why use {% data variables.copilot.copilot_spaces %}?
@@ -29,6 +27,8 @@ With {% data variables.copilot.copilot_spaces %} you can:
2927
* Reduce repeated questions by sharing knowledge with your team.
3028
* Support onboarding and reuse with self-service context that lives beyond chat history.
3129

30+
Your spaces stay in sync as your project evolves. {% data variables.product.github %} files and other {% data variables.product.github %}-based sources added to a space are automatically updated as they change, making {% data variables.product.prodname_copilot_short %} an evergreen expert in your project.
31+
3232
### How are {% data variables.copilot.copilot_spaces_short %} different from knowledge bases?
3333

3434
{% data variables.copilot.copilot_spaces_short %} are optimized for specific tasks and grounded conversations. Because context in {% data variables.copilot.copilot_spaces_short %} is scoped, {% data variables.product.prodname_copilot_short %}'s responses are more accurate and relevant.
@@ -48,10 +48,12 @@ With {% data variables.copilot.copilot_spaces %} you can:
4848

4949
Anyone with a {% data variables.product.prodname_copilot_short %} license, including {% data variables.copilot.copilot_free_short %}, can create and use {% data variables.copilot.copilot_spaces_short %}.
5050

51-
During the {% data variables.release-phases.public_preview %}, if you're using a {% data variables.copilot.copilot_business_short %} or {% data variables.copilot.copilot_enterprise_short %} plan, the organization or enterprise that provides your plan must have the **Opt in to preview features** setting enabled. See [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#enabling-copilot-features-in-your-organization) or [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise#copilot-in-githubcom).
52-
5351
{% data variables.copilot.copilot_spaces_short %} can belong to a personal account or to an organization. Spaces owned by an organization can be shared with other organization members or kept private to the person who created the space.
5452

53+
## Where can I use {% data variables.copilot.copilot_spaces_short %}?
54+
55+
You can use {% data variables.copilot.copilot_spaces %} in {% data variables.copilot.copilot_chat_dotcom_short %}. You can also leverage {% data variables.copilot.copilot_spaces %} in your IDE, using the {% data variables.product.github %} MCP server in your IDE to access context from your spaces.
56+
5557
## How does using {% data variables.copilot.copilot_spaces_short %} affect my usage?
5658

5759
Questions you submit in a space count as {% data variables.copilot.copilot_chat_short %} requests.
@@ -61,4 +63,4 @@ Questions you submit in a space count as {% data variables.copilot.copilot_chat_
6163

6264
## Next steps
6365

64-
To start using {% data variables.copilot.copilot_spaces_short %}, see [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/creating-and-using-copilot-spaces).
66+
To start using {% data variables.copilot.copilot_spaces_short %}, see [AUTOTITLE](/copilot/how-tos/provide-context/use-copilot-spaces/create-copilot-spaces).

content/copilot/get-started/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Enhance {% data variables.copilot.copilot_chat_short %} responses by providing c
6363

6464
Automatically generate commit messages and descriptions with {% data variables.copilot.copilot_desktop_short %} based on the changes you make to your project.
6565

66-
### {% data variables.copilot.copilot_spaces %} ({% data variables.release-phases.public_preview %})
66+
### {% data variables.copilot.copilot_spaces %}
6767

6868
Organize and centralize relevant content—like code, docs, specs, and more—into {% data variables.copilot.copilot_spaces_short %} that ground {% data variables.product.prodname_copilot_short %}’s responses in the right context for a specific task. See [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces).
6969

content/copilot/how-tos/provide-context/use-copilot-spaces/collaborate-with-your-team.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ redirect_from:
1515
contentType: how-tos
1616
---
1717

18-
{% data reusables.copilot.copilot-spaces.preview-note %}
19-
2018
{% data variables.copilot.copilot_spaces %} let you organize the context that {% data variables.product.prodname_copilot_short %} uses to answer your questions. Sharing {% data variables.copilot.copilot_spaces %} helps your team:
2119

2220
* Avoid repeated explanations and handoffs.
@@ -56,3 +54,5 @@ To share a space with others:
5654
## Accessing shared {% data variables.copilot.copilot_spaces_short %}
5755

5856
If you’re part of an organization that has shared spaces, you can access them in the **Organizations** tab on [https://github.com/copilot/spaces](https://github.com/copilot/spaces).
57+
58+
You can also access organization spaces directly in your IDE by specifying the organization as the owner when loading the space. For more information, see [AUTOTITLE](/copilot/how-tos/provide-context/use-copilot-spaces/use-copilot-spaces#using-copilot-spaces-in-your-ide).
Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
2-
title: Creating and using GitHub Copilot Spaces
3-
shortTitle: Create and use Copilot Spaces
2+
title: Creating GitHub Copilot Spaces
3+
shortTitle: Create Copilot Spaces
44
intro: 'Create spaces to organize and centralize relevant content that grounds {% data variables.product.prodname_copilot_short %}’s responses in the right context for a specific task.'
5-
permissions: 'Anyone with {% data variables.copilot.copilot_preview_features %} enabled can access {% data variables.copilot.copilot_spaces_short %}.'
5+
permissions: 'Anyone with a {% data variables.product.prodname_copilot_short %} license can use {% data variables.copilot.copilot_spaces_short %}.'
66
versions:
77
feature: copilot
88
topics:
99
- Copilot
1010
redirect_from:
11+
- /copilot/how-tos/provide-context/use-copilot-spaces/create-and-use-copilot-spaces
1112
- /copilot/using-github-copilot/copilot-spaces/creating-and-using-copilot-spaces
1213
- /copilot/how-tos/context/copilot-spaces/creating-and-using-copilot-spaces
1314
- /copilot/how-tos/context/copilot-spaces/create-and-use-copilot-spaces
@@ -17,8 +18,6 @@ contentType: how-tos
1718

1819
For an overview of {% data variables.copilot.copilot_spaces %}, see [AUTOTITLE](/copilot/concepts/about-organizing-and-sharing-context-with-copilot-spaces).
1920

20-
{% data reusables.copilot.copilot-spaces.preview-note %}
21-
2221
## Creating a space
2322

2423
1. To create a space, go to [https://github.com/copilot/spaces](https://github.com/copilot/spaces), and click **Create space**.
@@ -49,13 +48,8 @@ You can add two types of context to your space:
4948
* **{% octicon "upload" aria-hidden="true" aria-label="upload" %} Upload a file**: You can upload files directly from your local machine. This includes images, text files, rich documents, and spreadsheets.
5049
* **{% octicon "paste" aria-hidden="true" aria-label="paste" %} Add text content**: You can type or paste free-text content, such as transcripts, notes, or any other relevant information that can help {% data variables.product.prodname_copilot_short %} understand the context of your space.
5150

52-
## Using {% data variables.copilot.copilot_spaces %}
53-
54-
Once you've added context to your space, you can ask {% data variables.product.prodname_copilot_short %} questions in the chat interface. Your chat will be grounded in the context you've added.
55-
56-
You can also change the large language model (LLM) used for your space by selecting the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then clicking the AI model of your choice. For more information, see [AUTOTITLE](/copilot/reference/ai-models/model-comparison).
57-
5851
## Next steps
5952

53+
* To learn more about using {% data variables.copilot.copilot_spaces_short %} in {% data variables.product.github %} and your IDE, see [AUTOTITLE](/copilot/how-tos/provide-context/use-copilot-spaces/use-copilot-spaces).
6054
* To learn more about how to use {% data variables.copilot.copilot_spaces_short %} to help you with development work, see [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/speeding-up-development-work-with-copilot-spaces).
6155
* To learn how to share your space with your team, see [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/collaborating-with-your-team-using-copilot-spaces).

content/copilot/how-tos/provide-context/use-copilot-spaces/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@ versions:
77
topics:
88
- Copilot
99
children:
10-
- /create-and-use-copilot-spaces
10+
- /create-copilot-spaces
11+
- /use-copilot-spaces
1112
- /collaborate-with-your-team
1213
redirect_from:
1314
- /copilot/using-github-copilot/copilot-spaces
1415
- /copilot/how-tos/context/copilot-spaces
1516
- /copilot/how-tos/context/use-copilot-spaces
1617
contentType: how-tos
1718
---
19+
20+
These articles provide how-to information for creating and using {% data variables.copilot.copilot_spaces %}.
21+
22+
For an overview, see [AUTOTITLE](/copilot/concepts/context/spaces). To learn how to use {% data variables.copilot.copilot_spaces_short %} to help with development work, see [AUTOTITLE](/copilot/tutorials/speed-up-development-work).
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: Using GitHub Copilot Spaces
3+
shortTitle: Use Copilot Spaces
4+
intro: 'Use spaces to ground {% data variables.product.prodname_copilot_short %}’s responses in the right context for a specific task.'
5+
permissions: 'Anyone with a {% data variables.product.prodname_copilot_short %} license can use {% data variables.copilot.copilot_spaces_short %}.'
6+
versions:
7+
feature: copilot
8+
topics:
9+
- Copilot
10+
contentType: how-tos
11+
---
12+
13+
For information on creating {% data variables.copilot.copilot_spaces %}, see [AUTOTITLE](/copilot/how-tos/provide-context/use-copilot-spaces/create-copilot-spaces).
14+
15+
## Using {% data variables.copilot.copilot_spaces %} in {% data variables.product.github %}
16+
17+
Once you've added context to your space, you can ask {% data variables.product.prodname_copilot_short %} questions in the chat interface in {% data variables.product.github %}. Your chat will be grounded in the context you've added.
18+
19+
You can also change the large language model (LLM) used for your space by selecting the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then clicking the AI model of your choice. For more information, see [AUTOTITLE](/copilot/reference/ai-models/model-comparison).
20+
21+
## Using {% data variables.copilot.copilot_spaces %} in your IDE
22+
23+
You can also access the information and context from {% data variables.copilot.copilot_spaces_short %} directly in your IDE using the {% data variables.product.github %} MCP server. This allows you to leverage your curated context while coding without switching between your IDE and the web interface.
24+
25+
This functionality is available in any IDE that supports the {% data variables.product.prodname_copilot %} extension and the {% data variables.product.github %} MCP server.
26+
27+
>[!NOTE] When using {% data variables.copilot.copilot_spaces_short %} in your IDE, repository context is not supported. You will have access to all other sources and instructions from the space.
28+
29+
Once you've accessed space context from your IDE:
30+
31+
* The space's context will inform {% data variables.product.prodname_copilot_short %}'s responses
32+
* You can reference the space's content when generating code, getting explanations, or working on development tasks
33+
* Your spaces stay in sync as your project evolves. {% data variables.product.github %} files and other {% data variables.product.github %}-based sources added to a space are automatically updated as they change, making {% data variables.product.prodname_copilot_short %} an evergreen expert in your project
34+
35+
### Prerequisites
36+
37+
To use {% data variables.copilot.copilot_spaces_short %} in your IDE, you need to install the {% data variables.product.github %} MCP server. For setup instructions, see [AUTOTITLE](/copilot/how-tos/provide-context/use-mcp/use-the-github-mcp-server).
38+
39+
### Accessing space context from your IDE
40+
41+
For more detailed information on using the {% data variables.product.github %} MCP server in a specific IDE, see [AUTOTITLE](/copilot/how-tos/provide-context/use-mcp/use-the-github-mcp-server).
42+
43+
Note that {% data variables.copilot.copilot_spaces_short %} can only be used in agent mode in your IDE, since spaces are accessed via the {% data variables.product.github %} MCP server.
44+
45+
1. In your IDE, open {% data variables.copilot.copilot_chat_short %} and select **Agent** from the mode dropdown or select the **Agent** tab.
46+
* To confirm that the {% data variables.copilot.copilot_spaces_short %} tools are enabled, in the {% data variables.copilot.copilot_chat_short %} box, click the tools icon. In the dropdown, expand the list of available tools for **MCP Server: github**, and confirm that the `get_copilot_space` and `list_copilot_spaces` tools are enabled.
47+
1. In the {% data variables.copilot.copilot_chat_short %} box, enter a prompt that references the space that you want to use as context. If you know the exact name of the space and the name of the user or organization that owns the space, you can provide that. Otherwise, {% data variables.product.prodname_copilot_short %} will automatically use the `list_copilot_spaces` tool to find spaces that match the name or text you provide and access the context from those spaces.
48+
49+
For example, you could use either of these two prompts:
50+
* `Using the Copilot space 'Checkout Flow Redesign' owned by myorganization, summarize the implementation plan.`
51+
* `Summarize the implementation plan from the Copilot space for the checkout flow redesign.`
52+
53+
Follow-up prompts in the same chat conversation will have access to the same spaces, without you having to reference it explicitly.
54+
55+
## Next steps
56+
57+
* To learn more about how to use {% data variables.copilot.copilot_spaces_short %} to help you with development work, see [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/speeding-up-development-work-with-copilot-spaces).
58+
* To learn how to share your space with your team, see [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/collaborating-with-your-team-using-copilot-spaces).

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ redirect_from:
1313
contentType: tutorials
1414
---
1515

16-
{% data reusables.copilot.copilot-spaces.preview-note %}
17-
1816
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:
1917

2018
* Stay focused by organizing the context you need in one place.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
* **Opt in to user feedback collection:** If enabled, users will see options to provide feedback on selected {% data variables.product.prodname_copilot_short %} features.
2-
* **Opt in to preview features:** If enabled, users can test new {% data variables.product.prodname_copilot_short %} features that are not yet generally available. Be aware that previews of features may have flaws, and the features may be changed or discontinued at any time. Current previews of {% data variables.product.prodname_copilot_short %} features include:
3-
4-
* {% data variables.copilot.copilot_spaces %}. See [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces).
2+
* **Opt in to preview features:** If enabled, users can test new {% data variables.product.prodname_copilot_short %} features that are not yet generally available. Be aware that previews of features may have flaws, and the features may be changed or discontinued at any time.

0 commit comments

Comments
 (0)