/document-release
Use when implementation on a branch is complete and it is about to be merged or PR'd — or when finishing-a-development-branch reaches its docs-audit gate — and after code changes are committed, to ensure all project documentation accurately reflects shipped code. Covers README,
$ npx -y skills add DollarDill/beads-superpowers --skill document-release --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/document-release
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use when implementation on a branch is complete and it is about to be merged or PR'd — or when finishing-a-development-branch reaches its docs-audit gate — and after code changes are committed, to ensure all project documentation accurately reflects shipped code. Covers README,
SKILL.md
document-release.SKILL.mdname: document-release
description: Use when implementation on a branch is complete and it is about to be merged or PR'd — or when finishing-a-development-branch reaches its docs-audit gate — and after code changes are committed, to ensure all project documentation accurately reflects shipped code. Covers README, ARCHITECTURE, CONTRIBUTING, CHANGELOG, CLAUDE.md, TODOS, and VERSION files. Triggers on "update docs", "sync documentation", "post-ship docs", "document release", "documentation audit".
Document Release: Post-Ship Documentation Update
<!-- Adapted from garrytan/gstack document-release (MIT). Attribution: README "Built on". -->
**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.
Beads Integration
# Create a doc-update bead at start
bd create "Docs: update documentation for <branch>" -t chore
Closed with evidence at Step 9 — the single source of truth for the close command.
Key Operating Principles
**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):**
- Factual corrections derived directly from the diff
- Adding items to existing lists and tables
- Updating file paths, counts, and version numbers
- Fixing stale cross-references between documents
- Minor CHANGELOG wording polish (preserving all content)
- Marking TODOs as complete
**Always ask before:**
- Narrative or philosophy changes
- Removing any section
- Security model rewrites
- Large rewrites (10+ lines in one section)
- VERSION bumps
- New TODO items
Audit Methodology (9-Step Process)
Step 0: Platform Detection
Detect git platform (GitHub/GitLab/unknown) and determine the base branch. Use `gh`/`glab` if available, fall back to git-native commands.
Done when: the platform and base branch are both determined.
Step 1: Pre-flight and Diff Analysis
1. Verify you are on a feature branch (not base branch) 2. Gather what changed: `git diff <base>..HEAD` and `git log --oneline <base>..HEAD` 3. Discover all `.md` files: `find . -name '*.md' -not -path './.git/*' -not -path './.worktrees/*'` 4. Categorise changes: new features, behaviour changes, removals, infrastructure
Done when: the diff is gathered, all `.md` files are discovered, and every change is categorised.
Step 1.5: Coverage Map (Diataxis Blast-Radius Audit)
Catches **missing** docs (shipped public surface that was never documented) — the per-file audit (Step 2) only catches **stale** docs.
1. **Extract new public surface** from `git diff <base>..HEAD`. "Public surface" is whatever the project exposes to users — a general superset, not any one project type:
- **Apps:** new API endpoints, CLI flags, config keys, env vars.
- **Libraries:** new exported functions, classes, public types.
- **Tools / plugins:** new skills, user-facing commands, hooks, manifest fields, install flags.
- …plus any renamed or removed surface in the above.
2. **Grid each item against the four Diataxis quadrants** (definitions are generic; the doc targets in parentheses are *examples*, never a hardcoded file list):
- **Reference** — factual descriptions, signatures, option lists (README tables, AGENTS.md lists)
- **How-to** — task-oriented guidance (README examples, CONTRIBUTING workflows)
- **Tutorial** — step-by-step learning paths (getting-started guides)
- **Explanation** — rationale and design reasoning (ARCHITECTURE, design docs, ADRs)
<entity> reference how-to tutorial explanation
<entity-1> yes no no no
<entity-2> yes yes no no
3. **Calibrate gaps (avoid alert-fatigue).** The grid *shows* all four cells, but only **judgment-confirmed gaps** become debt: a new user-facing surface with **zero** coverage anywhere, OR missing the **one quadrant that surface type genuinely needs** (e.g. a new flag with no Reference; a new workflow with no How-to). Tutorial/Explanation are flagged only when the change is significant enough to warrant them. An empty cell the entity genuinely doesn't need is **not** a gap. 4. **Guardrail — informs, never generates.** The coverage map flags gaps for beads + the PR body; it does **not** auto-write doc pages. Point real gaps at the **`write-documentation`** skill as the follow-up. 5. **Diagram-drift sub-check (flag-only).** Scope to **entity-bearing diagrams** — architecture / component / data-flow diagrams whose labels name code entities (e.g. `ARCHITECTURE.md`, or `docs/*.md` Mermaid). Extract entity names, cross-reference the diff, and flag any the diff **renamed or removed**. Prose/workflow flowcharts (e.g. process `dot` graphs) are in scope only when a renamed skill/command/step is itself the label. Never auto-edit a diagram. 6. **Empty-check gate (conservative early exit).** After building the coverage map, if the diff is **unambiguously doc-irrelevant** — both (a) `git diff <base>..HEAD --name-only -- '*.md'` is empty (zero docs changed) **and** (b) the coverage map found **no** new user-facing surface — emit "All documentation is up to date" and exit without an empty commit. **When in doubt, do not exit — run the full audit (Steps 2–9).** A false-skip would ship undocumented surface (the failure this skill exists to prevent), which is strictly worse than a redundant audit.
Done when: every new public-surface item is grid-checked against the four quadrants, or the empty-check gate confirms the diff is doc-irrelevant.
Step 2: Per-File Documentation Audit
Read each documentation file and cross-reference against the diff:
| File | What to Check | |------|--------------| | **README** | Features, install
Read more
name: document-release description: Use when implementation on a branch is complete and it is about to be merged or PR'd — or when finishing-a-development-branch reaches its docs-audit gate — and after code changes are committed, to ensure all project documentation accurately reflects shipped code. Covers README, ARCHITECTURE, CONTRIBUTING, CHANGELOG, CLAUDE.md, TODOS, and VERSION files. Triggers on "update docs", "sync documentation", "post-ship docs", "document release", "documentation audit".
Document Release: Post-Ship Documentation Update
<!-- Adapted from garrytan/gstack document-release (MIT). Attribution: README "Built on". -->
**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.
Beads Integration
# Create a doc-update bead at start bd create "Docs: update documentation for <branch>" -t chore
Closed with evidence at Step 9 — the single source of truth for the close command.
Key Operating Principles
**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):**
- Factual corrections derived directly from the diff
- Adding items to existing lists and tables
- Updating file paths, counts, and version numbers
- Fixing stale cross-references between documents
- Minor CHANGELOG wording polish (preserving all content)
- Marking TODOs as complete
**Always ask before:**
- Narrative or philosophy changes
- Removing any section
- Security model rewrites
- Large rewrites (10+ lines in one section)
- VERSION bumps
- New TODO items
Audit Methodology (9-Step Process)
Step 0: Platform Detection
Detect git platform (GitHub/GitLab/unknown) and determine the base branch. Use `gh`/`glab` if available, fall back to git-native commands.
Done when: the platform and base branch are both determined.
Step 1: Pre-flight and Diff Analysis
1. Verify you are on a feature branch (not base branch) 2. Gather what changed: `git diff <base>..HEAD` and `git log --oneline <base>..HEAD` 3. Discover all `.md` files: `find . -name '*.md' -not -path './.git/*' -not -path './.worktrees/*'` 4. Categorise changes: new features, behaviour changes, removals, infrastructure
Done when: the diff is gathered, all `.md` files are discovered, and every change is categorised.
Step 1.5: Coverage Map (Diataxis Blast-Radius Audit)
Catches **missing** docs (shipped public surface that was never documented) — the per-file audit (Step 2) only catches **stale** docs.
1. **Extract new public surface** from `git diff <base>..HEAD`. "Public surface" is whatever the project exposes to users — a general superset, not any one project type:
- **Apps:** new API endpoints, CLI flags, config keys, env vars.
- **Libraries:** new exported functions, classes, public types.
- **Tools / plugins:** new skills, user-facing commands, hooks, manifest fields, install flags.
- …plus any renamed or removed surface in the above.
2. **Grid each item against the four Diataxis quadrants** (definitions are generic; the doc targets in parentheses are *examples*, never a hardcoded file list):
- **Reference** — factual descriptions, signatures, option lists (README tables, AGENTS.md lists)
- **How-to** — task-oriented guidance (README examples, CONTRIBUTING workflows)
- **Tutorial** — step-by-step learning paths (getting-started guides)
- **Explanation** — rationale and design reasoning (ARCHITECTURE, design docs, ADRs)
<entity> reference how-to tutorial explanation <entity-1> yes no no no <entity-2> yes yes no no
3. **Calibrate gaps (avoid alert-fatigue).** The grid *shows* all four cells, but only **judgment-confirmed gaps** become debt: a new user-facing surface with **zero** coverage anywhere, OR missing the **one quadrant that surface type genuinely needs** (e.g. a new flag with no Reference; a new workflow with no How-to). Tutorial/Explanation are flagged only when the change is significant enough to warrant them. An empty cell the entity genuinely doesn't need is **not** a gap. 4. **Guardrail — informs, never generates.** The coverage map flags gaps for beads + the PR body; it does **not** auto-write doc pages. Point real gaps at the **`write-documentation`** skill as the follow-up. 5. **Diagram-drift sub-check (flag-only).** Scope to **entity-bearing diagrams** — architecture / component / data-flow diagrams whose labels name code entities (e.g. `ARCHITECTURE.md`, or `docs/*.md` Mermaid). Extract entity names, cross-reference the diff, and flag any the diff **renamed or removed**. Prose/workflow flowcharts (e.g. process `dot` graphs) are in scope only when a renamed skill/command/step is itself the label. Never auto-edit a diagram. 6. **Empty-check gate (conservative early exit).** After building the coverage map, if the diff is **unambiguously doc-irrelevant** — both (a) `git diff <base>..HEAD --name-only -- '*.md'` is empty (zero docs changed) **and** (b) the coverage map found **no** new user-facing surface — emit "All documentation is up to date" and exit without an empty commit. **When in doubt, do not exit — run the full audit (Steps 2–9).** A false-skip would ship undocumented surface (the failure this skill exists to prevent), which is strictly worse than a redundant audit.
Done when: every new public-surface item is grid-checked against the four quadrants, or the empty-check gate confirms the diff is doc-irrelevant.
Step 2: Per-File Documentation Audit
Read each documentation file and cross-reference against the diff:
| File | What to Check | |------|--------------| | **README** | Features, install
Showing the first part of this file.
Superpowers & Beads task memory for AI coding agents - supports Claude Code, Codex, OpenCode, Cursor, Gemini CLI, GitHub Copilot CLI, Kimi Code, Antigravity, Factory Droid, and Pi.
Other skills on beads-superpowers.
- /auditing-upstream-drift
Use when checking if beads-superpowers is outdated, before a plugin release, or when auditing for missing capabilities — covers upstream drift, test execution, documentation, plugin health, and content integrity
Open skill - /brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Open skill - /dispatching-parallel-agents
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Open skill - /executing-plans
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Open skill - /finishing-a-development-branch
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Open skill - /getting-up-to-speed
Orients on an unfamiliar or stale codebase at the start of a session, after compaction, or whenever the project state is unclear. Loads beads context, deep-dives the codebase, and produces a structured 'current state' summary. Triggers on phrases like "catch me up", "where are
Open skill

