Best practices for writing effective CLAUDE.md files. Use when creating, updating, or auditing CLAUDE.md files for projects or directories.
Generates best practices and guidelines for creating and auditing effective CLAUDE.md files.
npx claudepluginhub captaincrouton89/crouton-kitThis skill inherits all available tools. When active, it can use any tool Claude has access to.
CLAUDE.md is a curated set of guardrails and pointers, not a comprehensive manual. Every line is scarce real estate. Focus on constraints and gotchas — things Claude would get wrong without guidance.
Prioritize in order:
Root (~100-200 lines): Project-wide constraints, build/test commands, architecture. Loaded every session.
Subdirectory (<50 lines): Only create when:
Don't repeat parent CLAUDE.md content. Don't explain what's obvious from the directory name.
paths frontmatterFor each line, ask: "Would Claude's behavior change if I removed this?" If no, cut it.
Signs of bloat:
300 lines
When adding content, always propose pruning alongside additions. The file should get tighter over time, not longer.