GitHub Copilot Chat Modes
This repository contains specialized chat mode configurations for GitHub Copilot to provide focused, expert-level assistance in different development contexts, plus a VS Code extension that makes these modes available as native chat participants.
🚀 VS Code Extension: Custom Copilot Chat Modes
Extension Name: Custom Copilot Chat Modes
Extension ID: custom-copilot-chat-modes
Publisher: yseneor
No Setup Required
The extension works immediately after installation with embedded instructions. No need to copy files!
Key Features
- Instant Usage: Install and use
@tdd
, @testing
, @instructions
right away
- Slash Commands: Enhanced functionality with
/cycle
, /strategy
, /optimize
commands
- Dual Mode Support: Built-in instructions + optional custom instructions
- Zero Configuration: Works in any workspace, even without repo files
Finding This Extension
If Published to Marketplace
- VS Code Extensions Panel: Press
Cmd + Shift + X
and search for "Custom Copilot Chat Modes"
- Publisher Search: Search for
"yseneor"
in VS Code Extensions
- Marketplace URL: Extension Page
- Keywords: "copilot chat modes", "tdd testing", "ai prompts", "github copilot"
Current Installation
This extension is currently available as a .vsix
file for local installation. To publish to the marketplace:
npx vsce login yseneor
npx vsce publish
Extension Usage Examples
# TDD Mode with slash commands
@tdd /cycle help me implement a calculator function
@tdd /test write a failing test for user authentication
@tdd /implement make my failing test pass
@tdd /refactor improve this code while keeping tests green
# Testing Mode with specialized commands
@testing /strategy create a testing plan for my API
@testing /framework recommend testing tools for React
@testing /coverage analyze my test coverage gaps
@testing /e2e guide me through end-to-end testing
# Instructions Mode for AI optimization
@instructions /optimize improve this AI prompt
@instructions /context help set proper context for coding tasks
@instructions /template create a reusable prompt template
How the Extension Works
Option 1: Embedded Instructions (Default - No Setup Required)
✅ Works immediately after installation
✅ Built-in instructions for all three modes
✅ No files to copy or configure
✅ Works in any workspace
Option 2: Custom Instructions (Advanced Users)
If you want to customize the chat mode instructions:
- Copy the
.github/chatmodes/
folder from this repository to your project
- Modify the markdown files to fit your specific needs
- Extension automatically detects and uses your custom files when available
The extension will load from:
.github/chatmodes/tdd-mode.md
.github/chatmodes/testing-mode.md
.github/chatmodes/copilot-instructions.md
Available Chat Modes
Expert guidance on creating effective AI prompts and instructions for coding assistants.
- Use when: Creating or optimizing AI prompts
- Expertise: Prompt engineering, AI instruction crafting
- Key features: Template patterns, best practices, troubleshooting
Specialized mentor for Test-Driven Development workflows.
- Use when: Following TDD methodology
- Expertise: Red-Green-Refactor cycle, test-first development
- Key features: Step-by-step TDD guidance, framework recommendations
Comprehensive testing expert covering all testing aspects.
- Use when: Planning or implementing testing strategies
- Expertise: Unit, integration, E2E testing, test automation
- Key features: Framework comparisons, testing patterns, CI/CD integration
How to Use
- Choose the appropriate mode based on your current development task
- Reference the mode when chatting with GitHub Copilot
- Follow the guidelines provided in each mode for best results
Mode Selection Guide
Task |
Recommended Mode |
Alternative |
Writing effective AI prompts |
Copilot Instructions |
- |
Implementing new features |
TDD Mode |
Testing Mode |
Setting up test frameworks |
Testing Mode |
TDD Mode |
Code review for testing |
Testing Mode |
TDD Mode |
Debugging test failures |
TDD Mode |
Testing Mode |
Performance/E2E testing |
Testing Mode |
- |
Contributing
When adding new chat modes:
- Follow the established structure and formatting
- Include metadata section with version and date
- Add table of contents for navigation
- Include prerequisites and troubleshooting sections
- Provide cross-references to related modes
- Update this README with the new mode
Version History
- v1.0 (August 19, 2025): Initial release with three core modes
- Copilot Instructions mode
- TDD mode
- Testing mode