- Create .claude/rules/ with all 17 standard rule files (01-security through 17-document-imports) - Add Operational Rules section with Rule Index to .claude/CLAUDE.md
793 B
793 B
Document Import Resolution
When CLAUDE.md files reference external content via @ imports (e.g., @docs/architecture.md), resolve and read those imports before proceeding with the user's request.
Rules
- Before acting on a user prompt, scan loaded CLAUDE.md files for
@path/to/filereferences. Read any that may be relevant to the current task. - Treat
@docs/references as pointers to the project'sdocs/directory. - When a CLAUDE.md says "documentation lives in
docs/" or "seedocs/for details," read the relevant docs before proceeding. - Do not skip imports because "the CLAUDE.md summary seems sufficient." The referenced document is the source of truth.
- After reading imports, reconcile conflicts between the import and the CLAUDE.md summary. Flag discrepancies.