Skip to content

Commit 65e8686

Browse files
Start exercise
1 parent 2a6459a commit 65e8686

6 files changed

Lines changed: 28 additions & 59 deletions

File tree

.github/steps/1-step.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Welcome to your **"Getting Started with GitHub Copilot"** exercise! :robot:
44

55
In this exercise, you will be using different GitHub Copilot features to work on a website that allows students of Mergington High School to sign up for extracurricular activities. 🎻 ⚽️ ♟️
66

7-
<img width="600" alt="screenshot of Mergington High School WebApp" src="../images/mergington-high-school-webapp.png" />
7+
<img width="600" alt="screenshot of Mergington High School WebApp" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/mergington-high-school-webapp.png?raw=true" />
88

99
### 📖 Theory: Getting to know GitHub Copilot
1010

11-
<img width="150" align="right" alt="copilot logo" src="../images/copilot-logo.png" />
11+
<img width="150" align="right" alt="copilot logo" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/copilot-logo.png?raw=true" />
1212

1313
GitHub Copilot is an AI coding assistant that helps you write code faster and with less effort, allowing you to focus more energy on problem solving and collaboration.
1414

@@ -47,19 +47,19 @@ Let's start up our development environment, use copilot to learn a bit about the
4747

4848
1. In the left sidebar, click the extensions tab and verify that the `GitHub Copilot` and `Python` extensions are installed and enabled.
4949

50-
<img width="350" alt="copilot extension for VS Code" src="../images/copilot-extension-vscode.png" />
50+
<img width="350" alt="copilot extension for VS Code" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/copilot-extension-vscode.png?raw=true" />
5151

52-
<img width="350" alt="python extension for VS Code" src="../images/python-extension-vscode.png" />
52+
<img width="350" alt="python extension for VS Code" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/python-extension-vscode.png?raw=true" />
5353

5454
1. At the top of VS Code, locate and click the **Toggle Chat icon** to open a Copilot Chat side panel.
5555

56-
<img width="150" alt="image" src="../images/toggle-chat-icon.png" />
56+
<img width="150" alt="image" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/toggle-chat-icon.png?raw=true" />
5757

5858
> 🪧 **Note:** If this is your first time using GitHub Copilot, you will need to accept the usage terms to continue.
5959
6060
1. Make sure you are in **Ask Mode** for our first interaction
6161

62-
<img width="350" alt="screenshot showing Ask Mode selection in Copilot Chat" src="../images/ask-mode-selection.png" />
62+
<img width="350" alt="screenshot showing Ask Mode selection in Copilot Chat" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/ask-mode-selection.png?raw=true" />
6363

6464
1. Enter the below prompt to ask Copilot to introduce you to the project.
6565

@@ -81,13 +81,13 @@ Let's start up our development environment, use copilot to learn a bit about the
8181
8282
1. Now that we know a bit more about the project, let's actually try running it! In the left sidebar, select the `Run and Debug` tab and then press the **Start Debugging** icon.
8383
84-
<img width="300" alt="image" src="../images/run-and-debug-tab.png" />
84+
<img width="300" alt="image" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/run-and-debug-tab.png?raw=true" />
8585
8686
1. We want to see our webpage running in a browser, so let's find the url and port. If it isn't visible, expand the lower panel and select the **Ports** tab.
8787
8888
1. In the list, find port `8000` and the related link. Hover over the link and select the **Open in browser** icon.
8989
90-
![image](../images/open-in-browser-icon.png)
90+
![image](https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/open-in-browser-icon.png?raw=true)
9191
9292
### :keyboard: Activity: Use Copilot to help remember a terminal command 🙋
9393

.github/steps/2-step.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ In short, you can think of Copilot like a very specialized coworker. To be effec
5050
# Validate student is not already signed up
5151
```
5252
53-
<img width="700" alt="Copilot shadow text suggestion in the editor" src="../images/shadow-text.gif" />
53+
<img width="700" alt="Copilot shadow text suggestion in the editor" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/shadow-text.gif?raw=true" />
5454
5555
1. Press `Tab` to accept Copilot's suggestion and convert the shadow text to code.
5656
@@ -91,7 +91,7 @@ In new project developments, it's often helpful to have some realistic looking f
9191

9292
1. Highlight the entire `activities` dictionary by clicking and dragging your mouse from the top to the bottom of the dictionary. This will help provide context to Copilot for our next prompt.
9393

94-
<img width="700" alt="Highlighted activities dictionary before opening inline chat" src="../images/activities-dict-highlighted.png" />
94+
<img width="700" alt="Highlighted activities dictionary before opening inline chat" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/activities-dict-highlighted.png?raw=true" />
9595

9696

9797
1. Bring up Copilot inline chat by using the keyboard command `Ctrl + I` (windows) or `Cmd + I` (mac).
@@ -188,7 +188,7 @@ Nice work fixing that bug and expanding the example activities! Now let's get ou
188188
189189
1. Find the `app.py` file and press the `+` sign to collect your changes together in the staging area.
190190

191-
![image](../images/staging-changes-icon.png)
191+
![image](https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/staging-changes-icon.png?raw=true)
192192

193193
1. Above the list of staged changes, find the **Message** text box, but **don't enter anything** for now.
194194
- Typically, you would write a short description of the changes here, but now we have Copilot to help out!

.github/steps/3-step.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Let's use Copilot to change the website to display signed up students under each
3838

3939
1. At the bottom of Copilot Chat window, use the dropdown to switch to **Agent** mode.
4040

41-
<img width="350" alt="image" src="../images/agent-mode-dropdown.png" />
41+
<img width="350" alt="image" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/agent-mode-dropdown.png?raw=true" />
4242

4343
1. Open the files related to our webpage then drag each editor window (or file) to the chat panel, informing Copilot to use them as context.
4444

@@ -48,7 +48,7 @@ Let's use Copilot to change the website to display signed up students under each
4848

4949
> 🪧 **Note:** Adding files as context is optional. If you skip this, Copilot Agent Mode can still use tools like `#codebase` to search for relevant files from your prompt. Adding specific files helps point Copilot in the right direction, which is especially useful in larger codebases.
5050
51-
<img width="400" alt="image showing files added to context" src="../images/files-added-to-context.png" />
51+
<img width="400" alt="image showing files added to context" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/files-added-to-context.png?raw=true" />
5252

5353
> 💡 **Tip:** You can also use the **Add Context...** button to provide other sources of context items, like a GitHub issue or the results of a terminal window.
5454
@@ -66,14 +66,14 @@ Let's use Copilot to change the website to display signed up students under each
6666
6767
Using the **Keep** buttons shown below, you can accept/discard all changes or review and decide change by change. This can be done either from the chat panel view or while inspecting each edited file.
6868
69-
<img width="900" alt="buttons to keep or discard changes" src="../images/review-changes-buttons.png" />
69+
<img width="900" alt="buttons to keep or discard changes" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/review-changes-buttons.png?raw=true" />
7070
7171
7272
1. Before we simply accept the changes, please check our website again and verify everything is updated as expected.
7373
7474
Here is an example of an updated activity card. You may need to restart the app or refresh the page.
7575
76-
<img width="350" alt="Activity card with participant info" src="../images/activity-card-with-participants.png" />
76+
<img width="350" alt="Activity card with participant info" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/activity-card-with-participants.png?raw=true" />
7777
7878
> 🪧 **Note:** Your activity card may look different. Copilot won't always produce the same results.
7979
@@ -99,11 +99,11 @@ If you don't get the desired results, you can try other models or provide follow
9999
100100
1. Make sure your Copilot is still in **Agent** mode.
101101
102-
<img width="250" alt="agent mode" src="../images/agent-mode-dropdown.png" />
102+
<img width="250" alt="agent mode" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/agent-mode-dropdown.png?raw=true" />
103103
104104
1. Click on the **Tools** icon and explore all Tools currently available to Copilot Agent Mode.
105105
106-
<img width="250" alt="tools icon" src="../images/tools-icon.png" />
106+
<img width="250" alt="tools icon" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/tools-icon.png?raw=true" />
107107
108108
1. Time for our test! Let's ask Copilot to add functionality for removing participants.
109109

.github/steps/4-step.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Your backend still has zero test coverage. Use **Plan Agent** to create a plan,
3030

3131
1. Open the **Copilot Chat** panel and switch to **Plan Agent**.
3232

33-
<img width="350" alt="image" src="../images/plan-mode-dropdown.png" />
33+
<img width="350" alt="image" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/plan-mode-dropdown.png?raw=true" />
3434

3535

3636
1. Let's start with a broad prompt and Copilot will help us fill in the details:
@@ -64,7 +64,7 @@ Your backend still has zero test coverage. Use **Plan Agent** to create a plan,
6464
6565
1. Review the proposed plan and when you are happy with it, click **Start implementation** to hand off to **Agent Mode**.
6666
67-
<img width="350" alt="image" src="../images/plan-mode-start-implementation.png" />
67+
<img width="350" alt="image" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/plan-mode-start-implementation.png?raw=true" />
6868
6969
Notice that clicking the button switched from **Plan** to **Agent Mode**. From this point on, Copilot can edit your codebase, just like before.
7070

.github/steps/5-step.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ Both **Copilot pull request summaries** and **Copilot code review** have limited
2929

3030
1. (Optional) In the PR description toolbar click the **Copilot** icon and **Summary** action. After a moment, Copilot will add a description based on your changes. :memo:
3131

32-
<img alt="Copilot summarize button" width="450px" src="../images/copilot-summarize-button.png">
32+
<img alt="Copilot summarize button" width="450px" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/copilot-summarize-button.png?raw=true">
3333

3434
1. (Optional) In the right side information panel at the top, locate the **Reviewers** section and click the **Request** button next to a **Copilot icon**. Wait a moment for Copilot to add a review comment to your pull request!
3535

36-
<img alt="Copilot review button" width="300px" src="../images/copilot-review-button.png">
36+
<img alt="Copilot review button" width="300px" src="https://github.com/terioki/skills-getting-started-with-github-copilot/blob/main/.github/images/copilot-review-button.png?raw=true">
3737

3838
> 💡 **Tip:** Notice a log entry that Copilot was requested for a review.
3939

README.md

Lines changed: 7 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,16 @@
11
# Getting Started with GitHub Copilot
22

3-
_Get started using GitHub Copilot in less than an hour._
3+
<img src="https://octodex.github.com/images/Professortocat_v2.png" align="right" height="200px" />
44

5-
## Welcome
5+
Hey terioki!
66

7-
- **Who is this for**: Developers at any experience level looking to accelerate their code workflow.
8-
- **What you'll learn**: The different ways to interact with Copilot to explain, write, plan, and develop code.
9-
- **What you'll build**: You will guide Copilot to update Mergington High School's extracurricular activities website.
10-
- **Prerequisites**:
11-
- Skills exercise: [Introduction to GitHub](https://github.com/skills/introduction-to-github)
12-
- Familiarity with [VS Code](https://code.visualstudio.com/)
13-
- Basic coding principles
14-
- **How long**: This exercise takes less than one hour to complete.
7+
Mona here. I'm done preparing your exercise. Hope you enjoy! 💚
158

16-
In this exercise, you will:
9+
Remember, it's self-paced so feel free to take a break! ☕️
1710

18-
1. Use a preconfigured Codespace to run VS Code in your browser.
19-
1. Learn different interaction options to develop and plan with GitHub Copilot.
20-
1. Use Copilot to summarize and review your pull request.
21-
22-
### How to start this exercise
23-
24-
Simply copy the exercise to your account, then give your favorite Octocat (Mona) **about 20 seconds** to prepare the first lesson, then **refresh the page**.
25-
26-
[![](https://img.shields.io/badge/Copy%20Exercise-%E2%86%92-1f883d?style=for-the-badge&logo=github&labelColor=197935)](https://github.com/new?template_owner=skills&template_name=getting-started-with-github-copilot&owner=%40me&name=skills-getting-started-with-github-copilot&description=Exercise:+Get+started+using+GitHub+Copilot&visibility=public)
27-
28-
<details>
29-
<summary>Having trouble? 🤷</summary><br/>
30-
31-
When copying the exercise, we recommend the following settings:
32-
33-
- For owner, choose your personal account or an organization to host the repository.
34-
35-
- We recommend creating a public repository, since private repositories will use Actions minutes.
36-
37-
If the exercise isn't ready in 20 seconds, please check the [Actions](../../actions) tab.
38-
39-
- Check to see if a job is running. Sometimes it simply takes a bit longer.
40-
41-
- If the page shows a failed job, please submit an issue. Nice, you found a bug! 🐛
42-
43-
</details>
11+
[![](https://img.shields.io/badge/Go%20to%20Exercise-%E2%86%92-1f883d?style=for-the-badge&logo=github&labelColor=197935)](https://github.com/terioki/skills-getting-started-with-github-copilot/issues/1)
4412

4513
---
4614

47-
&copy; 2025 GitHub &bull; [Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md) &bull; [MIT License](https://gh.io/mit)
15+
&copy; 2025 GitHub &bull; [Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md) &bull; [MIT License](https://gh.io/mit)
16+

0 commit comments

Comments
 (0)