Exercise - Create and chain custom GitHub Copilot agents for a C# project

Completed

Important

To complete this exercise, you need an active GitHub account and a Visual Studio Code environment with GitHub Copilot enabled. If you don't have a GitHub account, you can sign up for a free individual account and use a GitHub Copilot Free plan to complete the exercise. For help with enabling GitHub Copilot in Visual Studio Code, see Enable GitHub Copilot in Visual Studio Code.

In this exercise, you configure a C# project to use custom GitHub Copilot instructions and create custom agents that collaborate through handoffs. Tasks include:

  1. Set up a C# project and configure the development environment.
  2. Create repository-level custom instructions that enforce coding standards.
  3. Define a "Planner" custom agent with read-only tools.
  4. Define an "Implementer" custom agent with editing capabilities.
  5. Define a "Tester" custom agent or use the built-in test capabilities.
  6. Run the chained agents workflow to complete a development task end-to-end.

When you select the launch exercise button, the browser navigates to a public GitHub page that provides instructions for this exercise.

When you finish the exercise, return here for:

  • A quick knowledge check.
  • A summary of what you learned during this module.
  • A badge for completing this module.

Button to launch exercise.