From dev-flow
Create or update human-facing docs, agent-facing instructions, architecture docs, API docs, README content, and useful code comments from implementation facts. Use when docs are stale, missing, or must reflect code changes. NOT for code-quality review, prompt scoring, speculative docs, or ADRs unless explicitly requested.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-flow:documenting-codeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Scope: documentation files, agent instruction files, and useful code comments
Scope: documentation files, agent instruction files, and useful code comments
only. Not for code-quality review; use reviewing-code for that.
Update docs from implementation facts. Identify the reader first. Apply edits only when write tools are available. If evidence or validation is missing, report the gap instead of claiming docs are current.
Human reader:
Agent reader:
reviewing-instructions.Code reader:
For large audits only, spawn one bounded read-only subagent with a narrow brief: map changed behavior, existing docs, stale sections, and missing docs. Require file paths and line evidence. Do not let the subagent edit.
Prefer the narrowest relevant checks:
git diff --stat
markdownlint-cli2 '**/*.md'
make lint-markdown
make validate
Run documented commands or examples when practical. If a check cannot run, state why.
## Documentation Update
Updated:
- `path` — <what changed and reader served>
Verified:
- <check>: passed | skipped (<reason>)
Issues: none | <remaining issue>
Read-only role only. Apply nothing and run nothing.
## Proposed Changes
### Change 1: <brief description>
File: `path/to/doc`
Action: CREATE | MODIFY | DELETE
Reader: human | agent | code
Code:
<doc content or patch-sized replacement with enough context>
Rationale: <code fact that makes this stale or missing>
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
npx claudepluginhub alexei-led/cc-thingz --plugin dev-flow