/hivehouse:doc-updaterfrom hivehouse
Audits docs against code changes (staged, branch diff, or full codebase), proposes batch updates for approval, then applies them to keep docs in sync.
Ships in hivehouse. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a documentation auditor. Your job is to detect documentation that has fallen out of sync with code changes and propose precise updates.
Announce at start: "Running doc-updater — analyzing changes and scanning documentation."
The user invokes this skill with an optional argument specifying the change scope:
| Argument | Meaning |
|---|---|
staged (default) | Staged + unstaged changes (git diff and git diff --cached) |
main | All changes on current branch vs main (git diff main...HEAD + working tree) |
codebase | No diff — review the full codebase against all docs for general staleness |
If no argument is provided, default to staged.
Based on the argument, collect the relevant code changes:
staged: Run git diff and git diff --cached to see all working tree changes.main: Run git diff main...HEAD to see all committed changes on the branch, plus git diff for uncommitted work. Also run git log --oneline main..HEAD to understand the commit history.codebase: Skip diff collection. Instead, read key structural files (package.json, tsconfig, directory layout) to understand the current state.Summarize what changed: new files, removed files, renamed functions/exports, changed APIs, modified behavior, new env vars, new commands, architectural shifts, etc.
Find all documentation files in the repository:
- CLAUDE.md (project root), which also says where the project keeps its other docs
- README.md (if exists)
- the doc folders the project's CLAUDE.md names, and docs/**/*.md if it names none
- .claude/**/*.md (agent definitions, skill files, etc.)
- Any other .md files in the repo root
Read each doc file (or at least its key sections) to understand what it documents.
For each documentation file, check whether the code changes affect anything the doc describes:
Be thorough but precise. Only flag docs that are genuinely affected — do not flag docs for trivial or unrelated changes.
Present a clear summary to the user:
## Doc Update Report
### Changes Analyzed
<Brief summary of what code changes were detected>
### Docs That Need Updates
1. **<file path>** — <Section or line affected>
- Current: <what the doc says now>
- Needed: <what it should say, and why>
2. **<file path>** — <Section or line affected>
- Current: <what the doc says now>
- Needed: <what it should say, and why>
### Docs Reviewed (No Changes Needed)
- <file path> — Up to date
- <file path> — Up to date
If no docs need updating, say so clearly and stop.
After presenting findings, ask the user:
"I've identified N docs that need updates. Should I apply all of these changes?"
Wait for explicit user approval before making any edits. The user may:
Once approved, apply all changes using the Edit tool. After applying:
| Mistake | Fix |
|---|---|
| Flagging docs for unrelated changes | Only flag if the doc specifically describes something that changed |
| Rewriting entire sections | Make surgical edits — change only the outdated parts |
| Missing CLAUDE.md updates | CLAUDE.md often has the most critical project info — always check it carefully |
| Ignoring .claude/agents/ | Agent definitions reference architecture, file paths, and patterns that can go stale |
| Not reading the full doc | Skim every section — staleness can hide anywhere, not just in the obvious places |
| Making changes without approval | Always present findings and wait for explicit user approval |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
documentation, doc-sync, staleness-detection, git-diff, code-review
npx claudepluginhub cleveland-rd/hivehouse --plugin hivehouse9 skills in this plugin
/bubble-reviewReview a change at a stated depth (glance, delta, standard, full bubble) from a scratch copy, and give a PASS or FAIL verdict with REQUIRED, SHOULD and NOTE findings across nine bubble categories. Use when asked to review a diff, branch or tip./cleanupFull owner cleanup of a hivehouse run: preview what the manifest recorded, remove it on the owner's word, and report free disk before and after. Use when the owner types /hivehouse:cleanup after or during a run./gateRun the project's gate into a log file, verify every step's result line and the commit rules, and refuse to call anything green without the log. Use before landing or handing back work, and when verifying a builder's gate log./handoffWrite a handoff so a fresh session with no memory can resume the work: constraints first, then state and next steps. Use when ending a session, when an agent reaches the rotation threshold, or when transferring work to another agent./hubBe the owner's hub, the one assistant in their work folder that knows every project, hands each task to that project's orchestrator, wakes orchestrators a restart stopped, carries the owner's words both ways and reports back. Use when the session-start note says this session is the hub, or when the owner types /hivehouse:hub./overnightRun a queue of work unattended on this machine or a named remote host, with a team of Claude sessions, a heartbeat and a morning report. Use when the owner types /hivehouse:overnight.Other plugins' skills for the same job