XP-008: CLAUDE.md @-Imports Cursor Does Not Inline
Summary
- Rule ID:
XP-008 - Severity:
MEDIUM - Category:
Cross-Platform - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
cursor - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
false - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
# CLAUDE.md
@docs/style-guide.md
@docs/testing.md
(.cursor/ exists, so Cursor reads this file but does not inline the imports)
Valid
# CLAUDE.md
## Style
- Use two-space indentation.
- Run npm test before committing.
## Claude Code
@docs/claude-workflows.md