Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
70
88%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Review this session for learnings about working with Claude Code in this codebase. Update CLAUDE.md with context that would help future Claude sessions be more effective.
What context was missing that would have helped Claude work more effectively?
# CLAUDE.md files
find . \( -name "CLAUDE.md" -o -name ".claude.md" -o -name ".claude.local.md" \) 2>/dev/null | head -20
# Project rules
find ./.claude/rules -name "*.md" 2>/dev/nullDecide where each addition belongs:
CLAUDE.md - Team-shared (checked into git).claude.local.md - Personal/local only (gitignored).claude/rules/*.md - Modular, topic-specific rules (path-based loading)Keep it concise - one line per concept. CLAUDE.md is part of the prompt, so brevity matters.
Format: <command or pattern> - <brief description>
CLAUDE.md vs Rules decision:
paths: frontmatter)Rules Frontmatter example:
---
paths: src/api/**/*.ts,src/services/**/*.ts
---Note:
paths:uses comma-separated format (not YAML array)
Avoid:
For each addition:
### Update: ./CLAUDE.md
**Why:** [one-line reason]
\`\`\`diff
+ [the addition - keep it brief]
\`\`\`For new rules file:
### Create: ./.claude/rules/api-patterns.md
**Why:** API development patterns apply only to specific paths
\`\`\`yaml
---
paths: src/api/**/*.ts
---
# API Development Rules
- Use dependency injection pattern
- All endpoints must have OpenAPI docs
\`\`\`Ask if the user wants to apply the changes. Only edit files they approve.