Automatically update documentation after task completion. Reads git diff to identify what changed, then updates CLAUDE.md structure tree and counts, ecosystem.json entries, MEMORY.md facts, and roadmap.yml statuses. Use when doc-checkpoint reports stale docs, after multi-file tasks, after adding or removing components, or when documentation has drifted from reality.
Automatically updates documentation to match codebase reality. Complements doc-checkpoint (detection) with action (fixing).
required items in its checklist| Target | What | How |
|---|---|---|
| CLAUDE.md structure tree | Component listings | Diff filesystem vs tree, add/remove lines |
| CLAUDE.md counts | Skill/command/agent/hook counts | Count on disk, update parenthetical |
| ecosystem.json | Component arrays | Sync arrays with directories on disk |
| MEMORY.md | Factual counts | Update count references if present |
| roadmap.yml |
| Delivered items |
| Mark matching items as done with date |
For the complete update procedure with filesystem scanning, diff generation, and safety checks, read references/process.md.