What Are Advanced CLAUDE.md Patterns?
Patterns that go beyond basic config, turning Claude Code into a team member who understands the project's context.
TL;DR: Advanced CLAUDE.md patterns. Directory-scoped rules + auto-run commands + error context + architecture decisions + team workflows + project domain knowledge.
Pattern List
- Directory-scoped rules — different conventions per directory
- Auto-run commands — automatic checks after code changes
- Error context — solutions to common errors
- Architecture decisions — why this stack was chosen
- Code-pattern library — unified code-structure templates
- Team workflows — PR and review rules
- Project domain knowledge — business concept definitions
FAQ
Q: How many CLAUDE.md files should I have? A: One global at the root; add subdirectory ones only when conventions truly differ.