audit
Audit `.flow/memory/` entries against the current codebase — Keep / Update / Consolidate / Replace / Delete / Harden per entry
Refine a spec, task, or spec file in-depth - question passes (business, technical, both) or a read-only research pass
> /plugin marketplace add gmickel/flow-next > /plugin install flow-next@flow-next
How it fires
How this command gets triggered: by you, by Claude, or both.
/refineContext preview
What this command does when you run it.
Refine a spec, task, or spec file in-depth - question passes (business, technical, both) or a read-only research pass
name: refine description: Refine a spec, task, or spec file in-depth - question passes (business, technical, both) or a read-only research pass argument-hint: "[spec ID, task ID, or file path] [--scope=business|technical|both|research | --biz | --tech] [--docs | --no-docs] [--strategy | --no-strategy] [--force]"
The ONLY purpose of this command is to call the `flow-next-refine` skill. You MUST use that skill now.
**User input:** $ARGUMENTS
Pass the user input to the skill. The skill handles the question passes and the research pass. `/flow-next:interview` is the deprecated alias for one release.
Conflicting flags (`--biz --tech`, `--scope=business --tech`, `--scope=foo`) error cleanly with an explicit "conflicting scope flags" or "invalid --scope value" message. R-IDs in `## Acceptance Criteria` are append-only across scope passes — never renumbered, never replaced.
Without any doc-aware flag, the mode autodetects: it activates when `GLOSSARY.md` has at least one defined term (`flowctl glossary list --json` reports `total_terms > 0`) OR `.flow/memory/knowledge/decisions/` has at least one entry OR `STRATEGY.md` has populated sections. An empty `# Glossary` husk left behind after the last term is removed does not trip autodetect.
The `--scope` axis is orthogonal to doc-aware — both can be combined freely (e.g., `--scope=business --docs` runs the biz pass with doc-aware behaviors layered on).
Examples:
Repeatable agentic engineering. The workflow layer that turns AI coding agents into a disciplined factory: durable specs, fresh-context workers, adversarial cross-model reviews, receipts. Everything in your repo, zero dependencies. Claude Code · Codex · Cursor · Droid.
Audit `.flow/memory/` entries against the current codebase — Keep / Update / Consolidate / Replace / Delete / Harden per entry
Synthesize the current conversation into a flow-next spec at `.flow/specs/<spec-id>.md` — source-tagged, saved-spec review, no silent overwrite
Decision-map discovery for one oversized/unclear idea before capture - ground, chart a frontier, resolve one decision per invocation, brief for capture
Seed or maintain the committed user-POV feature map at `.flow/features/`
Conductor - an idea or change request, a spec or task id, a tracker issue, a branch or path, a bug report, a how or why question, something slow, a…
John Carmack-level implementation review via RepoPrompt or Codex