documentationlisted
Install: claude install-skill AnotherSava/claude-code-common
# Update Documentation
Scan project documentation and comments for references that no longer match the code, and fix them.
## Context
- Repo root: !`git rev-parse --show-toplevel 2>/dev/null || pwd`
- Uncommitted changes: !`git status --short`
- Diff summary: !`git diff --stat $(git rev-parse -q --verify HEAD || echo 4b825dc642cb6eb9a060e54bf8d69288fbee4904)`
- Full diff: !`git diff $(git rev-parse -q --verify HEAD || echo 4b825dc642cb6eb9a060e54bf8d69288fbee4904)`
- GH Pages index present: !`R=$(git rev-parse --show-toplevel 2>/dev/null || pwd) && test -f "$R/docs/index.md" && echo yes || echo no`
## Working directory
All file paths below (`README.md`, `docs/`, `docs/pages/`, `docs/index.md`, `CLAUDE.md`) are relative to **Repo root** from Context. The current working directory may be a subdirectory (e.g. `src-tauri/`, `frontend/`), so always prefix the Repo root value when calling Read/Edit/Write/Grep/Glob. Bare paths are cwd-relative and will silently miss files that live at the actual root.
## Process
1. **Read `README.md`** (at the repo root) and fix any references to changed paths, APIs, or behavior
2. **Read all files in `docs/pages/`** (if the folder exists) and check for both staleness and gaps:
- Rewrite any sections that no longer match the code — removed features, changed message protocols, new data flows, renamed concepts
- Check whether features added or significantly changed in the current diff are missing from the relevant docs page. A new user-vi