/dev-flow:documenting-codefrom dev-flow
Writes, rewrites, or updates project documentation from implementation facts. Covers READMEs, user guides, architecture docs, agent instructions, and code comments. Use when code changes make docs stale or when improving clarity, concision, or accuracy.
Ships in dev-flow. 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.
Read when SKILL.md points to them; scripts run unread.
Turn implementation facts into docs that a named reader can use. Every claim in the result matches the code, and every visual renders cleanly.
Decide the reader before writing.
references/doc-set.md only for
doc-set structure or Overhaul mode, references/style.md when rewriting prose,
and references/visuals.md only when changing diagrams or charts.reviewing-instructions.references/code.md for shared comment rules and per-language doc
checks.git diff --name-only),
and find the existing docs that cover them.references/doc-set.md before editing.references/claims.md for
configuration, API, or measured-performance claims. Generate sample output
when changing examples. Mark unconfirmed claims and say where you looked.references/visuals.md, render them, inspect the
images, and fix the faults.Run the bundled scripts on the changed docs from the project root.
<skill-dir> is the directory that contains this SKILL.md, as the host
reports it. Do not use a scripts/ directory of the project instead.
python3 <skill-dir>/scripts/check-links.py <files or dirs> # relative links and #anchors
bash <skill-dir>/scripts/render-mermaid.sh <files or dirs> # renders each Mermaid block to PNG
python3 <skill-dir>/scripts/prose-lint.py <files or dirs> # advisory plain-language lint
markdownlint-cli2 or a
make docs target, when they exist.Done when the relevant build/test/lint checks pass on what you changed, or you name each check that did not run and why.
docs/adr/ changes unless explicitly requested.## Documentation Update
Mode: update | overhaul
Updated:
- `path` — <what changed> (reader: <human | agent | code>)
Moved (overhaul only):
- <fact> → owned by `path`; other docs now link to it
Checked:
- claims: <n> checked against source; unconfirmed: none | <claim — where looked>
- visuals: <n> rendered and inspected | none changed
- gate: links <passed | failed>, diagrams <passed | skipped (reason)>, prose <n findings>
Issues: none | <remaining issue>
Without write access, return proposed changes (file, change, reason) instead of applying them.
git diff --stat)
before you report success.assets/examples/decision-outcomes.mmd (opens in a new tab)assets/examples/lifecycle.mmd (opens in a new tab)assets/examples/pipeline.mmd (opens in a new tab)assets/examples/request-flow.mmd (opens in a new tab)assets/examples/system-context.mmd (opens in a new tab)references/claims.md (opens in a new tab)references/code.md (opens in a new tab)references/doc-set.md (opens in a new tab)references/style.md (opens in a new tab)references/visuals.md (opens in a new tab)scripts/check-links.py (opens in a new tab)scripts/prose-lint.py (opens in a new tab)scripts/render-mermaid.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
documentation, readme, code-comments, architecture-docs, user-guides
npx claudepluginhub alexei-led/cc-thingz --plugin dev-flow7 skills in this plugin
/committing-codeCreate normal git commits with logical grouping. Use when committing, saving changes, creating commits, or grouping work into commits. For drafting or editing commit messages without committing, use writing-style. NOT for amending, rebasing, force-pushing, or rewriting history./fixing-codeFix code defects with a reproducible feedback loop, root-cause diagnosis, minimal patch, regression test, and clean verification. Use when debugging, diagnosing, or resolving lint/test/build failures. NOT for test-suite cleanup without a production bug (use improving-tests), or code review findings without fixes (use reviewing-code)./improving-testsImprove test design, speed, and coverage with behavior-focused tests, useful seams, characterization tests, TDD, and test refactoring. Use when improving tests, optimizing slow suites, adding coverage, refactoring brittle tests, or removing test waste. NOT for fixing production bugs (use fixing-code), or reviewing non-test code quality (use reviewing-code)./releasing-codePrepare, publish, or repair a software release and write its release notes. Use for cutting a versioned release or editing release notes. NOT for updating an installed package, publishing articles, or discussing a release; for general documentation use documenting-code./reviewing-codeUse when reviewing changed code, PRs, diffs, or specific files. Finds evidence-backed defects in security, correctness, tests, reliability, performance, maintainability, and docs. Supports quick, standard, deep, team, and external-review modes, plus a simplify mode for over-engineering and "what can we delete" reviews. NOT for repo-wide architecture review, general codebase exploration, fixing issues (use fixing-code), or improving tests without a code review (use improving-tests)./writing-styleWrite or edit commit messages, PR/MR descriptions, issues, review comments, and technical discussions. Use for concise, clear engineering communication grounded in facts, without filler or boilerplate. NOT for creating commits (committing-code), project docs (documenting-code), release notes (releasing-code), or AI instructions (writing-skills).
Other plugins' skills for the same job