require-agents-md-for-cross-surface-agent-instructions
Require CLAUDE.md and GEMINI.md agent-instructions files to be paired with a sibling AGENTS.md for broader cross-surface support.
Rule catalog ID: R037
Targeted pattern scopeâ
**/CLAUDE.md**/GEMINI.md
What this rule reportsâ
CLAUDE.mdfiles that do not have a same-directoryAGENTS.mdGEMINI.mdfiles that do not have a same-directoryAGENTS.md
Why this rule existsâ
Some instruction filenames are specific to particular tools or surfaces, while AGENTS.md has broader reach across Copilot-related agent experiences. Pairing surface-specific instruction files with AGENTS.md helps keep critical guidance available in more places.
â Incorrectâ
docs/
CLAUDE.md
â Correctâ
docs/
AGENTS.md
CLAUDE.md