Skip to content

Commit 849a386

Browse files
authored
Enhance documentation clarity and structure across multiple files, including README and prerequisites, by refining headings, links, and instructions for better user guidance.
1 parent 0a43b2d commit 849a386

File tree

6 files changed

+22
-20
lines changed

6 files changed

+22
-20
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
This repository contains the project for a 1 hour guided workshop to explore GitHub Copilot Agent Mode and related features in Visual Studio Code. The project is a website for a fictional game crowd-funding company, with a [Flask](https://flask.palletsprojects.com/en/stable/) backend using [SQLAlchemy](https://www.sqlalchemy.org/) and [Astro](https://astro.build/) frontend using [Svelte](https://svelte.dev/) for dynamic pages.
44

5-
To begin the workshop, start at [docs/README.md](./docs/README.md)
5+
## Start the workshop
6+
7+
**To begin the workshop, start at [docs/README.md](./docs/README.md)**
68

79
Or, if just want to run the app...
810

docs/0-prereqs.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
# Exercise 0: Prerequisites
22

3-
Before we get started on the lab, there's a few tasks we need to complete to get everything ready. We need to get a copy of the repository which includes the code, then spin up a [codespace](https://github.com/features/codespaces) to use to create our code.
3+
Before we get started on the lab, there's a few tasks we need to complete to get everything ready. We need to get a copy of the repository which includes the code, then spin up a [codespace][codespaces] to use to create our code.
44

55
## Setting up the Lab Repository
66

7-
To create a copy of the repository for the code you'll create an instance from the [template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository). The new instance will contain all of the necessary files for the lab, and you'll use it as you work through the exercises.
7+
To create a copy of the repository for the code you'll create an instance from the [template][template-repository]. The new instance will contain all of the necessary files for the lab, and you'll use it as you work through the exercises.
88

99
1. In a new browser window, navigate to the GitHub repository for this lab: `https://github.com/github-samples/agents-in-sdlc`.
1010
2. Create your own copy of the repository by selecting the **Use this template** button on the lab repository page. Then select **Create a new repository**.
1111

1212
![Use this template button](images/use-template.png)
1313

14-
> [!IMPORTANT]
15-
> If you are completing the workshop as part of an event being led by GitHub or Microsoft, follow the instructions provided by the mentors for naming the repository.
16-
1714
3. If you are completing the workshop as part of an event being led by GitHub or Microsoft, follow the instructions provided by the mentors. Otherwise, you can create the new repository in an organization where you have access to Copilot coding agent and can assign issues to Copilot.
1815

1916
![Input the repository template settings](images/repository-template-settings.png)
@@ -22,7 +19,7 @@ To create a copy of the repository for the code you'll create an instance from t
2219

2320
## Creating a codespace
2421

25-
Next up, we will be using a codespace to complete the lab exercises. [GitHub Codespaces](https://github.com/features/codespaces) are a cloud-based development environment that allows you to write, run, and debug code directly in your browser. It provides a fully-featured IDE with support for multiple programming languages, extensions, and tools.
22+
Next up, we will be using a codespace to complete the lab exercises. [GitHub Codespaces][codespaces] are a cloud-based development environment that allows you to write, run, and debug code directly in your browser. It provides a fully-featured IDE with support for multiple programming languages, extensions, and tools.
2623

2724
1. Navigate to your newly created repository.
2825
2. Select the green **Code** button.
@@ -45,3 +42,6 @@ Congratulations, you have created a copy of the lab repository! You also began t
4542
## Next step
4643

4744
Since we've got a few minutes, let's get Copilot working on some tasks asynchronously for us! We can do this by [creating issues and assigning them to Copilot coding agent](./1-copilot-coding-agent.md).
45+
46+
[codespaces]: https://github.com/features/codespaces
47+
[template-repository]: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository

docs/1-copilot-coding-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ As has been highlighted, one of the great advantages of GitHub Copilot coding ag
149149
- Before creating the PR, ensure all tests pass
150150
```
151151

152-
7. Note the level of guidance being provided to Copilot to help set everyone up for success.
152+
7. Note the level of guidance being provided to Copilot to help set everyone up for success. While Copilot could infer many of the points we added to the request, adding them in limits the assumptions which need to be made, driving better code generation.
153153
8. Scroll towards the bottom of the dialog box to locate the **Assignee** button.
154154
9. Select **Assignee** to open the dialog box to select assignees.
155155
10. Select **Copilot** from the list.

docs/2-mcp.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Popular existing MCP servers include:
3131

3232
- **[GitHub MCP Server][github-mcp-server]**: This server provides access to a set of APIs for managing your GitHub repositories. It allows the AI agent to perform actions such as creating new repositories, updating existing ones, and managing issues and pull requests.
3333
- **[Playwright MCP Server][playwright-mcp-server]**: This server provides browser automation capabilities using Playwright. It allows the AI agent to perform actions such as navigating to web pages, filling out forms, and clicking buttons.
34-
- **Additional reference servers**: There are many other MCP servers available that provide access to different tools and resources. Anthropic has [a list of MCP servers][anthropic-mcp-servers], including reference, third-party, and community implementations.
34+
- **Additional reference servers**: There are many other MCP servers available that provide access to different tools and resources. GitHub hosts an [MCP registry][mcp-registry], listing including reference, third-party, and community implementations.
3535

3636
> [!IMPORTANT]
3737
> With regard to security, treat MCP servers as you would any other dependency in your project. Before using an MCP server, carefully review its source code, verify the publisher, and consider the security implications. Only use MCP servers that you trust and be cautious about granting access to sensitive resources or operations.
@@ -209,10 +209,9 @@ Notice that the setup process is similar to the GitHub MCP server, but you do no
209209
- [What the heck is MCP and why is everyone talking about it?][mcp-blog-post]
210210
- [GitHub MCP Server][github-mcp-server]
211211
- [Microsoft Playwright MCP Server][playwright-mcp-server]
212-
- [Anthropic MCP Servers][anthropic-mcp-servers]
212+
- [GitHub MCP Registry][mcp-registry]
213213
- [VS Code Extensions][vscode-extensions]
214214
- [GitHub Copilot Chat Extension][copilot-chat-extension]
215-
- [Creating a fine-grained personal access token][github-pat-docs]
216215

217216
---
218217

@@ -225,9 +224,8 @@ Notice that the setup process is similar to the GitHub MCP server, but you do no
225224
[mcp-blog-post]: https://github.blog/ai-and-ml/llms/what-the-heck-is-mcp-and-why-is-everyone-talking-about-it/
226225
[github-mcp-server]: https://github.com/github/github-mcp-server
227226
[playwright-mcp-server]: https://github.com/microsoft/playwright-mcp
228-
[anthropic-mcp-servers]: https://github.com/modelcontextprotocol/servers
227+
[mcp-registry]: https://github.com/mcp
229228
[vscode-extensions]: https://code.visualstudio.com/docs/configure/extensions/extension-marketplace
230229
[copilot-chat-extension]: https://marketplace.visualstudio.com/items?itemName=GitHub.copilot
231-
[github-pat-docs]: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token
232230
[remote-github-mcp-server]: https://github.blog/changelog/2025-06-12-remote-github-mcp-server-is-now-available-in-public-preview/
233231
[vscode-mcp-config]: https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_configuration-format

docs/3-custom-instructions.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ Context is key across many aspects of life, and when working with generative AI.
77

88
In this exercise, you will learn how to:
99

10-
- provide Copilot with project-specific context, coding guidelines and documentation standards using custom instructions **.github/copilot-instructions.md**.
11-
- use instruction files to guide Copilot for repetitive or templated tasks.
10+
- provide Copilot with project-specific context, coding guidelines and documentation standards using repository custom instructions **.github/copilot-instructions.md**.
11+
- provide path instruction files to guide Copilot for repetitive or templated tasks on specific types of files.
1212
- implement both repository-wide instructions and task-specific instructions.
1313

14+
> [!NOTE]
15+
> There are other types of files which can be used to provide context or guidance to Copilot currently in preview. This workshop currently focused on generally available features.
16+
1417
## Scenario
1518

1619
As any good dev shop, Tailspin Toys has a set of guidelines and requirements for development practices. These include:
@@ -40,7 +43,7 @@ Custom instructions allow you to provide context and preferences to Copilot chat
4043

4144
There are two types of instructions files:
4245

43-
- **.github/copilot-instructions.md**, a single instruction file sent to Copilot for **every** chat prompt. This file should contain project-level information, context which is relevant for every message. This could include the tech stack being used, an overview of what's being built, or global guidance for Copilot.
46+
- **.github/copilot-instructions.md**, a single instruction file sent to Copilot for **every** chat prompt for the repository. This file should contain project-level information, context which is relevant for most chat requests sent to Copilot. This could include the tech stack being used, an overview of what's being built and best practices, and other global guidance for Copilot.
4447
- **\*.instructions.md** files can be created for specific tasks or file types. You can use **.instructions.md** files to provide guidelines for particular languages (like Python or TypeScript), or for tasks like creating a React component or a new instance of a repository pattern.
4548

4649
> [!NOTE]
@@ -69,9 +72,9 @@ To see the impact of custom instructions, we will start by sending a prompt with
6972
> [!IMPORTANT]
7073
> As highlighted previously, GitHub Copilot and LLM tools are probabilistic, not deterministic. As a result, the exact code generated may vary, and there's even a chance it'll abide by our rules without us spelling it out! But to aid consistency in code we should always document anything we want to ensure Copilot should understand about how we want our code generated.
7174
72-
## Add global standards to copilot-instructions.md
75+
## Add repository standards to copilot-instructions.md
7376

74-
As highlighted previously, `copilot-instructions.md` is designed to provide project-level information to Copilot. Let's ensure global coding standards are documented to improve code suggestions from Copilot chat.
77+
As highlighted previously, `copilot-instructions.md` is designed to provide project-level information to Copilot. Let's ensure repository coding standards are documented to improve code suggestions from Copilot chat.
7578

7679
1. Return to your codespace.
7780
2. Open `.github/copilot-instructions.md`.

docs/4-copilot-agent-mode-vscode.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ As the list of games grows there will be a need for paging to be enabled. Using
189189
## Resources
190190

191191
- [Coding agent 101][coding-agent-101]
192-
- [Copilot ask, edit, and agent modes: What they do and when to use them
193-
][choose-mode]
192+
- [Copilot ask, edit, and agent modes: What they do and when to use them][choose-mode]
194193
- [Agent mode in VS Code][vs-code-agent-mode]
195194

196195
---

0 commit comments

Comments
 (0)