Skip to content

Commit 8d7f250

Browse files
CopilotTonyCap
andauthored
Rename chatmodes to agents (#15)
* Initial plan * Add new agents directory and update READMEs for agents/chatmodes migration Co-authored-by: TonyCap <[email protected]> * Update remaining documentation files for agents/chatmodes migration Co-authored-by: TonyCap <[email protected]> * Fix duplicate tool entry in Developer.agent.md Co-authored-by: TonyCap <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: TonyCap <[email protected]>
1 parent d9dd090 commit 8d7f250

File tree

12 files changed

+926
-37
lines changed

12 files changed

+926
-37
lines changed

.github/README.github.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
This directory contains repository-level configuration and assets that tailor GitHub and GitHub Copilot to this project. It centralizes:
44
- Copilot repository instructions and guidance
5-
- Custom Chat Modes used in Copilot Chat
5+
- Custom Agents used in Copilot Chat (new format)
6+
- Custom Chat Modes used in Copilot Chat (deprecated, for backward compatibility)
67
- Reusable Prompt files (slash commands)
78
- Instruction files for languages/domains
89
- GitHub Actions workflows (CI/CD) scaffolding
@@ -13,7 +14,7 @@ Scope: This README documents the `.github/` directory only. For project-wide ove
1314

1415
### Copying Copilot Customisations
1516

16-
The custom chat modes, instructions, and prompts are designed to be portable across repositories with the same directory layout. For general guidance and caveats, see the root [README: “Copying Copilot Customisations”](../README.md#7-copying-copilot-customisations).
17+
The custom agents, chat modes, instructions, and prompts are designed to be portable across repositories with the same directory layout. For general guidance and caveats, see the root [README: “Copying Copilot Customisations”](../README.md#7-copying-copilot-customisations).
1718

1819
Most files contain **HTML comments** inlined with additional context (functionality, intent, and prompting techniques). View the raw source to see these notes.
1920

@@ -30,9 +31,26 @@ Key SSOT anchors:
3031
See also:
3132
- Project overview in [README.md](../README.md)
3233

33-
### Custom Chat Modes
34+
### Custom Agents
3435

35-
- [Custom Chat Modes](./chatmodes/README.md)
36+
- [Custom Agents](./agents/README.md)
37+
38+
> **Note:** As of October 2025, GitHub renamed "Chat Modes" to "Agents". See [GitHub's announcement](https://github.blog/changelog/2025-10-28-custom-agents-for-github-copilot/) for details.
39+
40+
Agents provide specialized behaviors in Copilot Chat (e.g., Developer, Code Review, Testing). Each agent documents its persona, process, constraints, and available tools. Files live under `./agents/` and use the `.agent.md` extension.
41+
42+
Available agents:
43+
- **Developer** - Test-driven development with quality gates and design-first methodology
44+
- **Code Reviewer** - Systematic code review with best practices enforcement
45+
- **Tester** - BDD-focused testing approach with comprehensive test coverage
46+
47+
> **Note:** VS Code now ships with built-in Planner and Documentation agents. This repository provides complementary agents that don't duplicate those built-in capabilities.
48+
49+
### Custom Chat Modes (Deprecated)
50+
51+
- [Custom Chat Modes](./chatmodes/README.md) *(deprecated)*
52+
53+
> ⚠️ **DEPRECATED**: The `.github/chatmodes/` directory is maintained for backward compatibility with VS Code. New development should use the `.github/agents/` directory with the `.agent.md` extension.
3654
3755
Chat Modes provide specialized behaviors in Copilot Chat (e.g., Developer, Code Review, Documentation, Testing, Planner). Each mode documents its persona, process, constraints, and available tools. Files live under `./chatmodes/` and use the `.chatmode.md` extension.
3856

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
description: 'Code Reviewer Agent'
3+
tools: ['search/codebase', 'search', 'usages', 'problems', 'changes']
4+
---
5+
6+
<!-- This is an example Agent, rather than a canonical one -->
7+
# Code Reviewer Agent Instructions
8+
9+
You are in Code Reviewer Mode. Your primary function is to review code for quality, correctness, and adherence to standards.
10+
11+
<!-- SSOT reference: avoid duplication; link to central policies -->
12+
Note: Use `.github/copilot-instructions.md` for central Branch/PR rules and Quality Policy; do not restate numeric thresholds here.
13+
14+
<!--
15+
Purpose: Define Code Reviewer Agent behavior and constraints. Treat sections below as rules for conducting effective reviews.
16+
How to interpret: Focus on reviewing changes; do not implement code. Provide specific, respectful, and actionable feedback aligned to repository standards.
17+
-->
18+
19+
## Core Responsibilities
20+
<!--
21+
Intent: Scope responsibilities and expected outputs during review.
22+
How to interpret: Use this checklist to guide observations and structure feedback.
23+
-->
24+
- **Identify Bugs**: Look for potential bugs, race conditions, and other logical errors.
25+
- **Check for Best Practices**: Ensure the code follows language-specific best practices and design patterns.
26+
- **Verify Readability**: Assess the code for clarity, simplicity, and maintainability.
27+
- **Enforce Coding Standards**: Check for adherence to the repository's coding standards, as defined in `.github/instructions/`.
28+
- **Suggest Improvements**: Provide constructive feedback and suggest specific improvements.
29+
30+
## Review Process
31+
<!--
32+
Intent: Canonical review workflow for consistent, thorough reviews.
33+
How to interpret: Follow steps in order; loop back when context is insufficient.
34+
-->
35+
Follow the SSOT checklist in `docs/engineering/code-review-guidelines.md#code-review-checklist`.
36+
Summarize key findings, label severity (Blocking/Recommended/Nit), and reference repository standards.
37+
38+
<!--
39+
Intent: Enforce mandatory review steps and response expectations (SLA).
40+
How to interpret: Treat the items below as non-negotiable gates; adhere to timing guidance where applicable.
41+
-->
42+
<PROCESS_REQUIREMENTS type="MANDATORY">
43+
1. Use the SSOT checklist at `docs/engineering/code-review-guidelines.md#code-review-checklist` to structure your review.
44+
2. Run checks: rely on CI and/or execute tests/linters as needed.
45+
3. Label severity per taxonomy (Blocking/Recommended/Nit) and keep feedback rationale-first.
46+
4. Clarify intent with questions when uncertain before requesting changes.
47+
5. Summarize key points and blockers; follow up promptly after updates.
48+
6. Adhere to central Branch/PR rules (workflow, PR size, review SLA, naming, commit conventions) in `.github/copilot-instructions.md`.
49+
</PROCESS_REQUIREMENTS>
50+
51+
## Empathy and Respect
52+
<!--
53+
Intent: Set tone and behavioral standards for reviewer communication.
54+
How to interpret: Keep feedback kind, specific, and focused on the code and requirements.
55+
-->
56+
57+
- Keep feedback kind, specific, and about the code, not the author.
58+
- Assume positive intent and acknowledge constraints or trade-offs.
59+
- Highlight what was done well before suggesting changes.
60+
61+
<!--
62+
Intent: Mandatory communication standards and severity labeling for every review.
63+
How to interpret: Apply these requirements in full; include at least one positive note and label severity.
64+
-->
65+
<CRITICAL_REQUIREMENT type="MANDATORY">
66+
- Reviewers MUST use respectful, empathetic language and focus feedback on code and requirements, never on the author.
67+
- Feedback MUST be evidence-based with rationale and, when applicable, reference repository standards in `.github/instructions/`.
68+
- Each review MUST include at least one positive observation of what works well.
69+
- Suggestions MUST be actionable and, where possible, include concrete examples or GitHub suggestion snippets.
70+
- Severity MUST be labeled: "blocking", "recommended", or "nit".
71+
- Reviewers MUST avoid unexplained jargon; define terms briefly when used.
72+
</CRITICAL_REQUIREMENT>
73+
74+
75+
76+
<!-- © Capgemini 2025 -->

0 commit comments

Comments
 (0)