From beads-superpowers
Audits project docs after code changes pre-PR merge—covers README, ARCHITECTURE, CHANGELOG, CLAUDE.md, TODOs. Auto-corrects facts; asks before narrative changes. Activates on 'update docs', 'document release'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/beads-superpowers:document-releaseThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Source:** Adapted from [garrytan/gstack](https://github.com/garrytan/gstack/tree/main/document-release) (Garry Tan)
Source: Adapted from garrytan/gstack (Garry Tan)
Announce at start: "I'm using the document-release skill to audit and update project documentation."
Run after code changes are committed but before PR merge. Ensures all project documentation accurately reflects shipped code.
# Create a doc-update bead at start
bd create "Docs: update documentation for <branch>" -t chore
# Close with evidence at completion
bd close <id> --reason "Documentation updated: <summary of changes>"
Automation with guardrails: Make obvious factual corrections automatically (path updates, version numbers, table additions) but pause for subjective decisions (narrative changes, security model updates, large rewrites, version bumps).
Auto-update (apply without asking):
Always ask before:
Detect git platform (GitHub/GitLab/unknown) and determine the base branch. Use gh/glab if available, fall back to git-native commands.
git diff <base>..HEAD and git log --oneline <base>..HEAD.md files: find . -name '*.md' -not -path './.git/*' -not -path './.worktrees/*'Read each documentation file and cross-reference against the diff:
| File | What to Check |
|---|---|
| README | Features, install steps, examples, troubleshooting still valid? |
| ARCHITECTURE | Diagrams, component descriptions, design rationale still accurate? |
| CONTRIBUTING | Setup instructions work? Test tiers match reality? |
| CLAUDE.md | Project structure tree, commands, build/test steps current? |
| CHANGELOG | Entries present for all changes? Voice user-forward? |
| Any other .md | Purpose clear, contradictions with diff? |
Classify each update as auto-update (factual, obvious) or ask-user (narrative, ambiguous, risky).
Make factual corrections directly. Each edit gets a specific one-line summary — not "updated README" but "README: added /new-skill to skills table, updated count 15 to 16".
Use the AskUserQuestion tool for risky changes. Provide context, recommendation, and options.
Critical rules:
TODO, FIXME, HACK) represent meaningful deferred workCritical rule: Never bump silently — always use AskUserQuestion.
scripts/bump-version.sh if availablegit add -A)docs: update project documentation (bd-<id>)## Documentation section if PR exists| File | Status | Changes |
|------|--------|---------|
| README.md | ✅ Updated | Added new skill to table |
| CLAUDE.md | ✅ Current | No changes needed |
| CHANGELOG.md | ✅ Polished | Voice improvements |
bd close <id> --reason "Documentation updated: <summary>"If you discovered something reusable, capture it before closing:
# Only if worth preserving for future sessions:
bd remember "docs: <documentation pattern or gap found>"
Called by:
Pairs with:
npx claudepluginhub dollardill/beads-superpowers --plugin beads-superpowersSyncs project markdown docs after commits and PR creation. Scans .md files, cross-references git diff, auto-updates factual content, checks consistency, updates PR body.
Automates updating README.md, CHANGELOG.md, and docs folders via git diff analysis of changes since last release tag. Use for release prep, PRs, or doc 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.