/flow:flow-docsfrom flow
Writes and audits technical documentation, READMEs, user guides, agent instructions, pull requests, commit messages, and changelogs. Enforces first-time reader clarity, source-anchored claims, and eliminates AI slop.
Ships in 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.
Write clear, accurate technical documentation, user guides, agent instruction files (AGENTS.md, SKILL.md, OKF knowledge chapters), commit messages, changelogs, and pull requests.
/flow:docs [mode])write — Author or update READMEs, user guides, module docs, or agent skills using file-checklist source coverage ([k/N files documented]).validate — Audit documentation and .agents/bundles/ for first-time reader clarity, primary-source path/to/file::Symbol accuracy, broken links, and stale history.capture — Distill validated architectural and operational patterns from code and completed flows into .agents/bundles/knowledge/ and user-facing docs/.sync — Sync documentation claims and examples against live repository signatures and configuration.pr — Draft or update pull request titles, ## Summary + ## Key Changes bodies, signed commits, and release changelogs.[k/N files documented]). List the in-scope files first, read every file completely, and anchor claims to path/to/file::Symbol. Never guess behavior from filenames or function names.Reason:. Write direct, present-tense sentences. When documenting a constraint or design choice, state the rule followed by Reason: <why>.seamless, robust, comprehensive, pivotal, delve, leverage, blazingly fast), decorative adverbs (seamlessly, effortlessly, obviously), negative parallelisms ("not just X, but Y"), or formulaic transitions ("Moreover", "Furthermore")."engineering lawbooks", "causal waterfall", "zero-tolerance"). Name components and headings semantically so counts never break when items change."Added in v2", "Previously we used X") inside current-state documentation or specs. History belongs in CHANGELOG.md and .agents/bundles/log.md.PROJ-123, test_task_1_2_*), workflow internals, ## Verification command logs, ## Merge Danger blocks, ASCII trees, or local paths.---) inside bundle bodies. Move traceability matrices into .agents/bundles/knowledge/ or a companion index.| Area | Reference File | Key Topics |
|---|---|---|
| Technical Prose & Documentation | references/prose-and-documentation.md | First-time reader standard, file-checklist coverage ([k/N files documented]), component scaling templates, guide structure, diagram rules, validation report |
Agent Context, .agents/, & Harness Config | references/agent-context.md | Cross-harness .agents/ discovery (skills, subagents, rules, hooks, MCP configs), context load vs. cognitive load, information hierarchy, context pointers, progressive disclosure, completion criteria, positive framing, pruning discipline |
| Pull Requests, Commits, & Changelogs | references/prs-commits-and-changelogs.md | <type>(<scope>): <summary> titles, ## Summary + ## Key Changes PR bodies, signed commits, changelog conventions, inline PR reviews, GitHub issues |
references/prose-and-documentation.md.AGENTS.md, SKILL.md, subagents, or .agents/bundles/knowledge/ chapters, load references/agent-context.md.references/prs-commits-and-changelogs.md.[0/N files documented]) and read each implementation file before drafting prose.>= 2 domains, subsystems, or chapters (/flow:docs write | capture | sync), fan out isolated per-domain documentation subagents so each file gets runnable, code-verified examples rather than a compressed summary.<= 200 lines), leading with a runnable example and expected output.specs/<flow_id>/spec.md, chapters/index.md, chapters/<ch_id>/spec.md), .agents/bundles/knowledge/** chapters, and user docs/ in present tense. State current verified reality, remaining chapters, and the full plan with zero Revision History sections.SKILL.md files <= 200 lines (< 24,000 bytes), <!-- truth: start --> blocks <= 40 lines, and bundle bodies free of standalone --- horizontal rules, disclosing deep reference material into references/*.md.make lint).docs/: Keep Mermaid diagrams in user-facing docs/ and README.md conceptual (4-6 nodes focused on the user mental model). Place detailed module/implementation diagrams in .agents/bundles/knowledge/architecture/.!) or dismissive language in documentation, PR bodies, or code reviews.[N/N files documented]) and every technical claim cites a verified source (path/to/file::Symbol).## Summary and ## Key Changes and every PR # or Issue # in chat is a clickable Markdown link.make lint exits 0.Invoke /flow:docs write to document a module with [4/4 files documented] coverage tracking, /flow:docs validate to audit .agents/bundles/ and docs/ for stale symbols or prose bloat, or /flow:docs pr when preparing a pull request in /flow:finish.
flow git validate-pr-body --title "feat(auth): add PKCE exchange" --from pr.md
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cofin/flow --plugin flow11 skills in this plugin
/debloatUse when reviewing or simplifying code, tests, prose, or repository checks through behavior-preserving cuts while keeping typing, performance, and conventions intact. Don't use for adding new features, planning specs (use flow-planning), or running full workflow closeouts (use flow-completion)./flowUse when a repository has .agents, or when routing Flow lifecycle tasks (setup, prd, spec, plan, revise, research, implement, status, dispatch, delegate, coordinate, learn, refresh, sync, docs, pr, review, simplify, finish, archive, cleanup, revert, validate, studio). Don't use for direct coding without specs or standalone plugin authoring (use multi-harness-plugins)./flow-completionUse when running independent code, spec, or subtraction-only simplify reviews, finishing and syncing completed specs, archiving into knowledge bundles, cleaning up, reverting, or validating Flow bundles. Don't use for planning new specs (use flow-planning) or implementing open tasks (use flow-execution)./flow-dispatchUse when choosing between inline work, subagents, packaged workflows, or bounded worker swarms, routing models and task briefs, dispatching work across CLI harnesses, or coordinating separate workspace conversations. Don't use for planning specs (use flow-planning), writing code (use flow-execution), or reviews (use flow-completion)./flow-executionUse when implementing an approved Flow chapter's task worksheets or reporting live spec and branch status. Don't use for drafting or revising specs (use flow-planning), initializing bundles (use flow-setup), or final review and closeout (use flow-completion)./flow-learnUse when catching up across machines or harnesses, syncing spec checklists against Git, auditing drift, sharpening domain glossaries and ADRs, or updating OKF v0.2 knowledge and .agents/skills/. Don't use for planning new specs (use flow-planning) or public README/PR drafting (use flow-docs).Other plugins' skills for the same job