flow-next-plan-review
БесплатноБез исполняемых скриптовНе проверенCarmack-level review of a flow-next spec or plan via the configured backend. Use when asked to review a plan or spec.
от gmickel★ 735 звёзд на GitHubОб этом скилле
Plan Review Mode
Conduct a John Carmack-level review of spec plans.
Role: Code Review Coordinator (NOT the reviewer)
Backends: Codex CLI (codex), GitHub Copilot CLI (copilot), Cursor CLI (cursor),
Claude Code CLI (claude), a configured review command (command:<label>), or host-native (host).
- CLI backends (
codex,copilot,cursor,claude,command): run directly from the CLI Fast Path below after workflow.md Phase 0 & 1 — no extra backend file read needed. BACKEND=host: read workflow-host.md after workflow.md Phase 0 & 1.BACKEND=noneor unknown explicit value: terminate from workflow.md Phase 0 without readingworkflow-host.md.
Read working-rules.md first unless you already have this run; it holds for every step of this skill.
Preamble — execute common routing exactly once
Read and execute workflow.md Phase 0 once. It defines $FLOWCTL,
parses an explicit --review mode before configured-backend resolution,
resolves SPEC_ID, and handles ASK, none and unknown values. Never invoke
flowctl review-backend a second time.
Common Critical Rules
- The coordinator never self-declares a verdict.
- Stick to one backend for the full review/fix cycle.
- If
REVIEW_RECEIPT_PATHis set, every review verdict writes a receipt. - Any backend/transport failure outputs
RETRY: no verdict (backend or transport failure)and stops; never silently fall back to a different backend. When itsCLI message:reports a usage, credit or spend limit, report that message and stop instead ofRETRY:; a retry fails the same way. Autonomous callers receive the same retry terminal and decide whether to re-enter. A no-verdict dispatch is refunded and recorded by flowctl; never manually reset the review counter for a transport failure. Exit 5 /TRANSPORT_UNHEALTHYmeans stop automatic retries and repair the backend. noneskips only when selected explicitly or resolved from configuration.- Foreground rule: run every
flowctl <backend> plan-reviewcall as one blocking foreground Bash call with a generous timeout (10 minutes; verdicts typically land in 1–7) — neverrun_in_background+ monitor/poll (a background completion does not reliably resume a subagent context). Host-backend subagent dispatches are also blocking.
Input
Arguments: $ARGUMENTS
Format: <flow-spec-id> [focus areas] [--review=<mode>] [mode:autonomous]. mode:autonomous marks an
unattended run (working-rules.md's review loop applies); it is not a focus area.
Workflow
- Execute workflow.md Phase 0 and Phase 1 (saves the mandatory checkpoint).
- If Phase 0 returns for
noneor an unknown value, stop. - For
codex,copilot,cursor,claude, orcommand, execute the CLI Fast Path below; forhost, read and follow workflow-host.md. - Carry the verdict directly into the shared Fix Loop below until its terminal contract is satisfied.
CLI Fast Path (codex, copilot, cursor, claude, command)
Use $FLOWCTL "$BACKEND" plan-review exclusively — never call codex exec, claude -p, cursor-agent, or copilot directly, never reconstruct the prompt in prose, and never fabricate a first-call resume id. Always pass --receipt (re-reviews resume only when the prior receipt matches the same backend mode, and same label for command).
claudesame-family advisory: on a Claude Code host, writer and reviewer share a model family; the receipt records it and the run proceeds (prefercodexorhostwhen family independence matters).cursor: effort is baked into the model name (cursor:<model>);cursor:<model>:<effort>is rejected.command: when--review=command:<label>named a label, pass--spec "command:<label>"on the first review and every fix-loop re-review; a bare--review=commandleaves the label to the configured backend (FLOW_REVIEW_COMMAND_<LABEL>).
FLOWCTL="${CODEX_HOME:-$HOME/.codex}/scripts/flowctl"
[ -x "$FLOWCTL" ] || FLOWCTL="<plugin-root>/scripts/flowctl" # <plugin-root> = the directory two levels above this skill's SKILL.md file (the harness gave you that file's absolute path when the skill loaded); substitute it literally
[ -x "$FLOWCTL" ] || FLOWCTL=".flow/bin/flowctl"
SPEC_ID="<spec id resolved in workflow.md Phase 0>" # substitute literally
BACKEND="<codex|copilot|cursor|claude|command>" # substitute literally
REVIEW_SPEC="<command:<label> when --review named one, else empty>"
RECEIPT_PATH="${REVIEW_RECEIPT_PATH:-$(git rev-parse --show-toplevel)/.flow/tmp/plan-review-receipt-${SPEC_ID}.json}"
args=("$SPEC_ID" --receipt "$RECEIPT_PATH")
[ -n "$REVIEW_SPEC" ] && args+=(--spec "$REVIEW_SPEC")
"$FLOWCTL" "$BACKEND" plan-review "${args[@]}"
Output includes `VERDICT=SHIP|NEEDS_WORK|MAJOR_RETHINK|NEEDS
Установить flow-next-plan-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл flow-next-plan-review?
Carmack-level review of a flow-next spec or plan via the configured backend. Use when asked to review a plan or spec.
Как установить скилл flow-next-plan-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл flow-next-plan-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic