Configure GitHub Copilot instructions and create custom agents
Intermediate
Developer
GitHub
Visual Studio Code
This module covers how to configure and customize GitHub Copilot in Visual Studio Code using instruction files, prompt files, custom agents, and agent handoffs to create tailored AI-assisted development workflows.
Learning objectives
After completing this module, you're able to:
- Customize GitHub Copilot's responses using instruction files and prompt files to enforce project-specific coding styles, best practices, and guidelines.
- Create custom GitHub Copilot agents in Visual Studio Code with tailored instructions, tool permissions, and subagent configurations.
- Configure and use agent handoffs to orchestrate multi-step development workflows.
- Implement a real-world scenario by defining custom instructions and chaining multiple custom agents to collaboratively complete a coding task.
Prerequisites
- Experience using Git and GitHub for version control.
- Experience using GitHub Copilot Chat in Visual Studio Code.
- Experience developing C# applications.