Create or update CLAUDE.md with best practices - brevity, universal applicability, progressive disclosure
Updates CLAUDE.md with project-specific best practices and commands. Use when you need to add or modify instructions for working with your codebase.
/plugin marketplace add doodledood/claude-code-plugins/plugin install vibe-extras@claude-code-plugins-marketplaceWhat to add or update - a focus area, specific instruction, or issue to addressUpdate my CLAUDE.md based on: $ARGUMENTS
Current CLAUDE.md: @CLAUDE.md
Make targeted updates based on my request. Only explore codebase if essential info is missing.
If my request conflicts with best practices below, still make the update but note the tradeoff.
Best Practices (CLAUDE.md is the highest-leverage config point):
Structure - Cover these if creating/missing critical sections:
Length (LLMs follow ~150 instructions reliably; system uses ~50):
Progressive Disclosure - For complex projects, create separate docs and reference them:
docs/testing.md, docs/architecture.md, docs/conventions.md
Then in CLAUDE.md: "See docs/testing.md for test patterns"
Prefer pointers over copies - Use file:line references instead of pasting code snippets (avoids staleness).
Do: Universal instructions | Imperative language | Verified commands | Reference (don't copy) README
Don't:
Bad: Always use camelCase. Document with JSDoc.
Good: npm test # Required before PR
Verify: <300 lines, no style rules, universal instructions, commands tested.