XP-006: Several Tools' Instruction Files Without a Note
Summary
- Rule ID:
XP-006 - Severity:
LOW - Category:
Cross-Platform - Normative Level:
BEST_PRACTICE - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
all - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://code.visualstudio.com/docs/agent-customization/custom-instructions
- https://code.claude.com/docs/en/memory
- https://cursor.com/docs/rules
- https://learn.chatgpt.com/docs/agent-configuration/agents-md
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
# CLAUDE.md
## Code Style
- Use TypeScript
- Follow ESLint rules
# AGENTS.md (separate file, same project)
## Code Style
- Use JavaScript
- Follow Prettier rules
Valid
# CLAUDE.md
CLAUDE.md takes precedence over AGENTS.md.
## Code Style
- Use TypeScript
- Follow ESLint rules