Why bother
The docs recommend keeping each CLAUDE.md under 200 lines. Long files cost context and Claude follows them less well. A rule with paths only loads when Claude reads, writes or edits a matching file.
Per-folder rules that only load when Claude touches matching files.
The docs recommend keeping each CLAUDE.md under 200 lines. Long files cost context and Claude follows them less well. A rule with paths only loads when Claude reads, writes or edits a matching file.
Create the file inside the rules folder. One topic per file.
.claude/rules/api-design.md
Drop your email and I will send you the full sheet: copy-paste commands, and a one-click print to PDF. You also get a heads-up when it changes.
Every cheat sheet in one place, plus CLAUDE.md and rules templates you can paste in. Updated when Claude Code changes.