update-claude
Installation
SKILL.md
Update Claude Documentation
Analyze recent code changes and incrementally update CLAUDE.md and .claude/rules/ files so they accurately reflect the current codebase. This is the counterpart to /init-claude — init bootstraps, this command evolves.
Argument Parsing
Check $ARGUMENTS for options:
| Argument | Default | Description |
|---|---|---|
branch |
yes | Compare current branch against base branch (main/master) |
recent [N] |
Analyze the last N commits (default 10) | |
paths <glob> |
Analyze specific paths only | |
holistic |
Run /holistic-analysis refactor on each affected area before updating docs |
|
dry-run |
Show proposed changes without writing files | |
all |
Full audit of all docs against current codebase |
Examples:
/update-claude— diff current branch vs base, update affected docs
Related skills