From vibe-extras
Creates or updates CLAUDE.md following best practices: WHAT/WHY/HOW structure, 30-300 line limits, progressive disclosure with doc references, pointers over copies, verified commands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vibe-extras:update-claude-mdThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Update my CLAUDE.md based on: $ARGUMENTS
Update 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.
npx claudepluginhub doodledood/claude-code-plugins --plugin vibe-extrasUpdates, refreshes, optimizes, and cleans up CLAUDE.md by exploring codebase, removing stale content, and restructuring for scannability. Use when docs are out of sync.
Guides effective maintenance of CLAUDE.md files: adding lessons learned, updating conventions, restructuring instructions. Covers when to update/remove rules, structure templates, hierarchy, and size limits.
Provides best practices for creating, updating, and auditing CLAUDE.md files including constraints, commands, architecture overviews, and bloat reduction for projects.