/flow:flow-completionfrom flow
Reviews, simplifies, finishes, archives, cleans up, reverts, and validates Flow bundles. Use for post-implementation tasks like spec conformance checks, code review, and knowledge archiving.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use for review (../flow/references/review.md), simplify (../../templates/agent/simplify-card.md), finish (../flow/references/finish.md), archive (../flow/references/archive.md), cleanup (../flow/references/cleanup.md), revert (../flow/references/revert.md), and validate (../flow/references/validate.md).
/flow:review [flow_id] [chapter_id]):
base_commit..head_commit range for the target chapter or full flow and inspect the changed code, test, spec, OKF, and doc surface.flow review plan --json. Non-small diffs include a subtraction-only simplify reviewer beside conformance and quality. For a standalone subtraction pass (/flow:review simplify <target>), pin a 1-to-2-line behavior goal and pass --mode simplify with ../../templates/agent/simplify-card.md. Run workflows/flow-dual-review/workflow.py on Google Antigravity (checking git status --porcelain afterward), or isolated @code-reviewer, @quality-reviewer, and matching .agents/agents/<domain>-reviewer subagents elsewhere (../flow/references/orchestration.md). Pass only disk paths (spec.md, chapters/index.md, chapters/<ch_id>/spec.md, tasks/*.md, .agents/skills/, and knowledge/).ADOPT vs. CONTEST vs. ESCALATE), fix adopted code or doc-drift findings, re-verify, and stamp last_reviewed_commit: <REVIEWED_HEAD_SHA> on the reviewed chapter/flow spec.md./flow:finish / "finish and sync"):
/flow:validate on <flow_id> to verify the completion check. Confirm zero open chapters or tasks remain, every deferred item has deferred_by: "user" and deferred_reason, and every task commit touched a declared path in files: or tests:. Also verify each completed chapter has a valid last_reviewed_commit and [N/N files documented] is satisfied. If planning_quality: degraded is present on spec.md, remind the user before sign-off.knowledge/workflow.md, including any > 60s full test suite deferred during chapter checks) and confirm flow-wide reviews passed. Evaluate the ADR Filter (knowledge/decisions/adr-NNN-<slug>.md) and mark root spec.md state: completed (current_chapter: null, current_task: null). When asked to "finish and sync", run /flow:learn, flow sync, and flow spec closeout <flow_id> --apply in one pass. Pass --keep to preserve the spec directory when requested. Otherwise present completion options (Archive flow now, Archive and open/update PR, Merge locally and archive, Discard work)./flow:archive):
/flow:validate passes completion checks on <flow_id> (state: completed with zero open chapters/tasks) before touching specs/<flow_id>/. In linked local-only Git worktrees, apply .agents/ updates directly to the primary checkout's .agents/ bundle./flow:learn pass (1 subagent per domain when >= 2 domains) across all chapters, OKF knowledge namespaces, and .agents/skills/** before deletion.knowledge/** + .agents/skills/** first, prepend the archive entry to .agents/bundles/log.md second, delete .agents/bundles/specs/<flow_id>/ (including chapters/) last, and run /flow:validate afterward to confirm zero broken links./flow:cleanup, /flow:revert, /flow:validate):
debloat across touched files (/flow:cleanup), or revert designated task, chapter, phase, or flow commits while resetting roadmaps in present tense (/flow:revert). Run /flow:validate to check OKF bundles, workflows, schema cards, completion checks, worktrees, hooks, skills, and specs./flow:finish or /flow:archive so regressions never enter shipped state.last_reviewed_commit or close a chapter/flow until code, tests, specs, and docs are synced in present tense. This keeps Stop hooks and future readers aligned with Git history./flow:archive until durable discoveries are captured into .agents/bundles/knowledge/** and logged in .agents/bundles/log.md.flow review plan --range main..HEAD --mode auto --json
flow review plan --range main..HEAD --mode simplify --json
flow spec closeout <flow_id> --apply
Return the review summary (ADOPT / CONTEST / ESCALATE), check exit codes, updated spec.md state or .agents/bundles/knowledge/ archive report, and next action.
Confirm all required review and verification checks passed with exit code 0, spec.md and tasks/*.md states match Git history, and .agents/bundles/index.md and log.md are updated.
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-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-docsUse when writing or auditing technical documentation, READMEs, user guides, design docs, agent instructions, pull requests, commit messages, or changelogs. Don't use for planning implementation specs (use flow-planning) or syncing task state against Git (use flow-learn)./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