GitHub Copilot Exercises
The following quickstart exercises are designed to provide you with a hands-on learning experience in which you’ll explore the capabilities of GitHub Copilot. Each exercise includes a set of tasks that you can complete in your lab environment.
Quickstart exercises
Prepare - Configure your GitHub Copilot SDK lab environment
Review the lab requirements and configure resources for the GitHub Copilot SDK exercises.
Prepare - Configure your GitHub Spec Kit lab environment
Review the lab requirements and configure resources for the GitHub Spec Kit exercises.
Prepare - Configure your lab environment for GitHub Copilot exercises
Review lab requirements and configure resources before starting GitHub Copilot exercises.
Prepare - Configure your lab environment for GitHub Copilot exercises (Python)
Review lab requirements and configure resources before starting GitHub Copilot exercises.
Prepare - Enable GitHub Copilot in Visual Studio Code
Complete the steps required to enable GitHub Copilot in Visual Studio Code.
Exercise - Examine GitHub Copilot settings and user interface features
Learn how to configure GitHub Copilot settings and how to access GitHub Copilot features in Visual Studio Code.
Exercise - Analyze and document code using GitHub Copilot
Learn how to analyze new or unfamiliar code and how to generate documentation using GitHub Copilot in Visual Studio Code.
Exercise - Analyze and document code using GitHub Copilot (Python)
Learn how to analyze new or unfamiliar code and how to generate documentation using GitHub Copilot in Visual Studio Code.
Exercise - Develop new code features using GitHub Copilot
Learn how to accelerate the development of new code features using GitHub Copilot in Visual Studio Code.
Exercise - Develop new code features using GitHub Copilot (Python)
Learn how to accelerate the development of new code features using GitHub Copilot in Visual Studio Code.
Exercise - Develop unit tests using GitHub Copilot (Python)
Learn how to accelerate the development of unit tests using GitHub in Visual Studio Code.
Exercise - Develop unit tests using GitHub Copilot
Learn how to accelerate the development of unit tests using GitHub in Visual Studio Code.
Exercise - Refactor existing code using GitHub Copilot
Learn how to refactor and improve existing code sections using GitHub Copilot in Visual Studio Code.
Exercise - Refactor existing code using GitHub Copilot (Python)
Learn how to refactor and improve existing code sections using GitHub Copilot in Visual Studio Code.
Exercise - Get started with vibe coding using GitHub Copilot Agent
Learn how to create a prototype app using a vibe coding process and GitHub Copilot Agent.
Exercise - Consolidate duplicate code using GitHub Copilot
Learn how to analyze a complex codebase and consolidate duplicated code logic using GitHub Copilot tools.
Exercise - Refactor large functions using GitHub Copilot
Learn how to analyze complex code and refactor large functions into smaller, more focused methods using GitHub Copilot tools.
Exercise - Simplify complex conditionals using GitHub Copilot
Learn how to refactor complex conditional logic in C# codebases using GitHub Copilot tools.
Exercise - Implement performance profiling using GitHub Copilot
Learn how to identify and address performance bottlenecks and code inefficiencies using GitHub Copilot tools.
Exercise - Resolve GitHub issues using GitHub Copilot
Learn how to identify and resolve code security vulnerabilities using GitHub Copilot in Visual Studio Code.
Exercise - Resolve GitHub secret scanning alerts using GitHub Copilot
Learn how to manage GitHub secret scanning alerts and how to use GitHub Copilot’s Ask and Agent modes to remediate hard-coded secrets.
Exercise - Develop a greenfield application using GitHub Spec Kit
Learn how to install GitHub Spec Kit and how to use GitHub Spec Kit workflows to implement the spec-driven development methodology for a greenfield application.
Exercise - Implement a product feature using GitHub Spec Kit
Learn how to add new features to existing applications using GitHub Spec Kit workflows, Visual Studio Code, and GitHub Copilot.
Exercise - Configure GitHub Copilot instructions and create custom agents
Learn how to configure a C# project to use custom GitHub Copilot instructions and create custom agents that collaborate through handoffs to complete multi-step development tasks.
Exercise - Integrate an AI Agent into existing apps using GitHub Copilot SDK
Learn how to integrate an AI Agent into existing applications using GitHub Copilot SDK to automate tasks and enhance functionality.