require-chatmode-file-metadata
Require custom Copilot agent files and legacy chat mode files to define a non-empty description in frontmatter.
Rule catalog ID: R003
Targeted pattern scopeâ
.github/chatmodes/**/*.chatmode.md.github/agents/**/*.agent.md
What this rule reportsâ
- custom agent or legacy chat mode files with missing or blank
descriptionfrontmatter
Why this rule existsâ
The stable rule name is historical, but the rule now covers both modern custom agent files and legacy chat mode files. A short description improves discoverability and keeps the workflow contract explicit.
â Incorrectâ
---
tools: [search/codebase]
---
Plan the next implementation step.
â Correctâ
---
description: Plan and validate a repository-wide refactor
tools: [search/codebase]
---
Plan the next implementation step.