|
| 1 | +## Step 1: Create and prime your Copilot Space |
| 2 | + |
| 3 | +In this step you will establish a Copilot Space and give it the minimum context it needs to act as a project management knowledge hub for OctoAcme. |
| 4 | + |
| 5 | +### How does using Spaces affect my usage? |
| 6 | + |
| 7 | +Questions you submit in a space count as Copilot Chat requests. |
| 8 | + |
| 9 | +- If you're a Copilot Free user, this usage counts toward your monthly chat limit. |
| 10 | +- If you use Spaces with a premium model, this usage counts toward your premium usage quota. Every question you submit to a premium model counts as one premium request, multiplied by the model's multiplier. For information about the multipliers applied to each model, see [Requests in GitHub Copilot](https://docs.github.com/en/copilot/managing-copilot/understanding-and-managing-copilot-usage/understanding-and-managing-requests-in-copilot#model-multipliers). |
| 11 | + |
| 12 | +- [Use Copilot Spaces](https://docs.github.com/en/copilot/how-tos/provide-context/use-copilot-spaces/) |
| 13 | + |
| 14 | +### 📖 Theory: Using Copilot Spaces as a Knowledge Hub |
| 15 | + |
| 16 | +GitHub Copilot Spaces enables teams to centralize and democratize organizational knowledge by providing a collaborative environment for storing, searching, and refining process documentation. By connecting your repository as a source, Copilot Spaces can index your documentation and issue templates, making them easily accessible and actionable for all team members. This approach reduces single-person dependency risk, accelerates onboarding, and ensures that project management processes are consistent and repeatable. |
| 17 | + |
| 18 | +To get started, you need access to Copilot Spaces and a GitHub Copilot plan with premium request units. Each prompt in a Space counts toward your usage quota, so be mindful of your plan's limits. For more details, see [GitHub Copilot plans](https://docs.github.com/en/copilot/get-started/plans#comparing-copilot-plans) and [Copilot Requests](https://docs.github.com/en/copilot/concepts/billing/copilot-requests). |
| 19 | + |
| 20 | +> [!NOTE] |
| 21 | +> Questions you submit in a Copilot Space count as Copilot Chat requests. Premium models multiply usage. See [Requests in GitHub Copilot](https://docs.github.com/en/copilot/managing-copilot/understanding-and-managing-copilot-usage/understanding-and-managing-requests-in-copilot#model-multipliers) for details. |
| 22 | +
|
| 23 | +### ⌨️ Activity: Create your OctoAcme Project Management Hub Copilot Space |
| 24 | + |
| 25 | +1. Navigate to GitHub Copilot Spaces https://github.com/copilot/spaces (ensure you have access to this feature) |
| 26 | +1. Click **Create Space** button |
| 27 | +1. Name your Space: |
| 28 | + |
| 29 | + > ```text |
| 30 | + > OctoAcme Project Management Hub |
| 31 | + > ``` |
| 32 | +
|
| 33 | +1. Click **Save** |
| 34 | +
|
| 35 | + <img width="50%" height="50%" alt="Copilot Space Create Space" src="https://github.com/user-attachments/assets/0dcc4d78-1ee0-43cf-85c8-c1d0137aceb0" /> |
| 36 | +
|
| 37 | +Add a description: |
| 38 | +
|
| 39 | +> ```text |
| 40 | +> Centralizing and democratizing project management knowledge for the OctoAcme organization |
| 41 | +> ``` |
| 42 | +
|
| 43 | + <img width="50%" height="50%" alt="Copilot Spaces description" src="https://github.com/user-attachments/assets/5826b4bc-a40b-4705-b36a-66b234c2c07d" /> |
| 44 | +
|
| 45 | +### ⌨️ Activity: Add instructions to your Copilot Space |
| 46 | +
|
| 47 | +- In your newly created Copilot Space, look for the **Instructions** button |
| 48 | +- Add the following instructions to provide context about the repository and its purpose |
| 49 | +
|
| 50 | + <img width="50%" height="50%" alt="Copilot Spaces Instructions" src="https://github.com/user-attachments/assets/547cdbf9-9238-42af-a06b-7bb168207ec2" /> |
| 51 | + <img width="50%" height="50%" alt="Copilot Spaces Instructions detail" src="https://github.com/user-attachments/assets/628b8534-5f14-48ba-89dc-16eec79617ea" /> |
| 52 | +
|
| 53 | +- Click **Save** |
| 54 | +
|
| 55 | + > ```markdown |
| 56 | + > ## Program process documents |
| 57 | + > |
| 58 | + > - Stored in `docs/` |
| 59 | + > |
| 60 | + > ### Purpose of this Copilot Space |
| 61 | + > |
| 62 | + > - Centralize scattered project management knowledge in Copilot Spaces |
| 63 | + > - Convert tacit team insights into searchable, versioned artifacts |
| 64 | + > - Give all team members equal access to processes, decisions, and rationale |
| 65 | + > - Connect a repository as a structured knowledge source |
| 66 | + > - Extract, refine, and standardize workflows collaboratively |
| 67 | + > - Feed validated improvements back into living documentation |
| 68 | + > - Accelerate onboarding and reduce single-person dependency risk |
| 69 | + > - Enable consistent, repeatable project execution |
| 70 | + > |
| 71 | + > ## Issue templates for program process documents |
| 72 | + > |
| 73 | + > - Stored in `.github/ISSUE_TEMPLATE/` |
| 74 | + > ``` |
| 75 | +
|
| 76 | +### ⌨️ Activity: Add your cloned repository as a source repository to your Copilot Space |
| 77 | +
|
| 78 | +1. In your newly created Copilot Space, look for **Add sources** button |
| 79 | +1. Add this exercise repository as a source: |
| 80 | +
|
| 81 | + - Copy and paste your GitHub repository for this exercise called out below. |
| 82 | + - You can also type the name in the search and it will come up as well or copy/paste the name below. |
| 83 | +
|
| 84 | + > ```text |
| 85 | + > {{full_repo_name}} |
| 86 | + > ``` |
| 87 | +
|
| 88 | + - This gives Copilot access to the project management documentation and processes in the repository |
| 89 | +
|
| 90 | +1. Select the `docs` and the `.github/ISSUE_TEMPLATE` folders |
| 91 | +1. Verify the repository appears in your sources list |
| 92 | +
|
| 93 | + <img width="30%" height="30%" alt="Add sources" src="https://github.com/user-attachments/assets/05268c3f-5270-4e60-bc87-69fc27b1df72" /> |
| 94 | + <img width="30%" height="30%" alt="Add sources repository" src="https://github.com/user-attachments/assets/83725fcc-eb0d-4478-ba88-8de0cd8a6732" /> |
| 95 | + <img width="30%" height="30%" alt="Add sources repository files" src="https://github.com/user-attachments/assets/f3e9c65a-1446-4f1f-a84f-10f893d0e22e" /> |
| 96 | +
|
| 97 | +### ⌨️ Activity: Create an issue in the repository for a README for OctoAcme Project Management Docs |
| 98 | +
|
| 99 | +- Open your Copilot Space you created above. https://github.com/copilot/spaces |
| 100 | +- In the conversation interface prompt the following: |
| 101 | +
|
| 102 | + >  |
| 103 | + > |
| 104 | + > ```prompt |
| 105 | + > Create an issue in the repository {{full_repo_name}} for a README for OctoAcme Project Management Docs |
| 106 | + > that has links to all the docs in the docs folder. |
| 107 | + > - The README should also contain a brief summary of the project management processes used by OctoAcme. |
| 108 | + > - Make sure README, project management processes summary, and links are in the title of the issue. |
| 109 | + > - Use the "Add Content to Project Management Process Docs" template. |
| 110 | + > - Which process document do you want to update? "<new document>" |
| 111 | + > - Fill in the other fields |
| 112 | + > ``` |
| 113 | +
|
| 114 | +You can then add this issue to your repository by clicking the **Create** button. |
| 115 | +
|
| 116 | +<details> |
| 117 | +<summary> 📷 Show screenshot of the issue draft</summary> |
| 118 | +
|
| 119 | +<img width="50%" height="50%" alt="README issue drafted" src="https://github.com/user-attachments/assets/fd324605-a02b-4d4a-a87f-06db9339bb44" /> |
| 120 | +
|
| 121 | +</details> |
| 122 | +You can copy or open the link in a new tab to see the newly created issue |
| 123 | +
|
| 124 | +<details> |
| 125 | +<summary> 📷 Show screenshot of the created issue</summary> |
| 126 | +
|
| 127 | +<img width="50%" height="50%" alt="README issue created" src="https://github.com/user-attachments/assets/c4be58b8-edbf-463a-be49-8ad184d59617" /> |
| 128 | +
|
| 129 | +</details> |
| 130 | +
|
| 131 | +<details> |
| 132 | +<summary>Having trouble? 🤷</summary> |
| 133 | +
|
| 134 | +- Make sure you have access to GitHub Copilot Spaces (currently in beta/limited access) |
| 135 | +- The repository should be publicly accessible for Copilot to index it |
| 136 | +- If you can't access Copilot Spaces, you can continue by manually exploring the repository structure and documentation |
| 137 | +- Repository indexing can take seconds to minutes depending on size |
| 138 | +
|
| 139 | +</details> |
0 commit comments