Help us improve
Share bugs, ideas, or general feedback.
Updates CLAUDE.md files with non-obvious conventions and gotchas from staged git changes. Activates on user requests like 'update CLAUDE.md' or significant code modifications.
npx claudepluginhub uniswap/ai-toolkit --plugin development-productivityHow this skill is triggered — by the user, by Claude, or both
Slash command
/development-productivity:update-claude-docsopusThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Synchronize CLAUDE.md files based on staged git changes, capturing conventions and gotchas
Updates, refreshes, optimizes, and cleans up CLAUDE.md by exploring codebase, removing stale content, and restructuring for scannability. Use when docs are out of sync.
Implements two-phase workflow to analyze code changes via git diff and update project documentation. Use before merging branches, after features/bugfixes, or when docs stale.
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.
Share bugs, ideas, or general feedback.
Synchronize CLAUDE.md files based on staged git changes, capturing conventions and gotchas that Claude cannot infer by reading code.
CLAUDE.md files should contain conventions, gotchas, and team preferences — not structural inventory. The guiding question for each potential entry is: "Would removing this cause Claude to make a mistake?" If not, omit it.
Include:
Exclude:
git ls-files)[TODO] placeholder entriesgit diff --cached --name-status.claude/rules/ Factoring: Suggest a rules file if topic warrants itAn update is warranted when:
Skip updates for: formatting changes, typos, renames with no behavior change, or anything that is standard language/framework convention.
.claude/rules/<topic>.md files: Secondary output — when a topic-specific rule is
identified that would push CLAUDE.md over 200 lines or only applies to a file subset,
propose factoring it into a rules file with optional paths frontmatterTarget: under 200 lines per CLAUDE.md. If an update would push a file over 200 lines,
propose factoring detailed content into a .claude/rules/<topic>.md file instead.
When running without a human present (e.g., via a pre-commit hook):
git restore CLAUDE.md)git diff **/*CLAUDE.md before committinggit add)git diff **/*CLAUDE.md)