Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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=none or unknown explicit value: terminate from workflow.md Phase 0 without reading workflow-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_PATH is 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 its CLI message: reports a usage, credit or spend limit, report that message and stop instead of RETRY:; 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_UNHEALTHY means stop automatic retries and repair the backend.
  • none skips only when selected explicitly or resolved from configuration.
  • Foreground rule: run every flowctl <backend> plan-review call as one blocking foreground Bash call with a generous timeout (10 minutes; verdicts typically land in 1–7) — never run_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

  1. Execute workflow.md Phase 0 and Phase 1 (saves the mandatory checkpoint).
  2. If Phase 0 returns for none or an unknown value, stop.
  3. For codex, copilot, cursor, claude, or command, execute the CLI Fast Path below; for host, read and follow workflow-host.md.
  4. 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).

  • claude same-family advisory: on a Claude Code host, writer and reviewer share a model family; the receipt records it and the run proceeds (prefer codex or host when 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=command leaves 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

Полный SKILL.md на GitHub

Установить flow-next-plan-review в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlreferences/maintainability-pointer.mdreferences/plan-review-prompt.mdworkflow-host.mdworkflow.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить flow-next-plan-review с