/rex-flow:exec [plan file]from rex-flow
Orchestrates plan execution by spawning parallel task-worker agents, committing each task separately, and reviewing results. Useful for executing structured plans from docs/plans/.
Ships in rex-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.
Run a plan's tasks with subagents. This session is the orchestrator: it picks tasks, starts workers, ticks checkboxes and commits. It never reads code to debug, never fixes code and never implements anything itself; all code work happens in workers.
The plan's checkboxes are the only state. A stopped run is resumed by running /rex-flow:exec again: it picks up from the first unchecked task.
$ARGUMENTS if it names a file. Else list docs/plans/*.md (not completed/): one file → use it; several or none → ask with AskUserQuestion.git status --porcelain shows changes, show them and ask: continue (those changes are left alone and never committed by this run) or stop.<name> is the plan's file name without .md and the date prefix (20260329-auth-fix.md → auth-fix). Find the default branch (git symbolic-ref --short refs/remotes/origin/HEAD, minus origin/; else main or master, whichever exists).
<name>, then git branch -m <name> inside it; else git checkout <name> when that branch exists (a resumed run), or git checkout -b <name>.Makefile, package.json, go test ./...). Note it, or note that there is none. Run it once and note the tests that already fail.Repeat until no task has an unchecked box, at most 50 waves. At 50, stop and report.
[ ] boxes and every task in its **Depends on:** is fully checked. Go through the ready tasks in plan order and add each one whose **Files:** don't overlap any task already in the wave.
**Files:** or without **Depends on:** runs alone, in order.rex-flow:task-worker agent per task, all in ONE message. Each prompt holds:
**Files:** list, and that it must not touch any other file;**Files:**. Step 4 runs the full suite.git add only its **Files:** (for a task without **Files:**, the files its worker reported changing) and the plan;<type>: <task title> (type feat, fix, refactor, docs, test, chore or perf, from the task). Follow the user's commit rules: about 500 lines and 10 files at most, never --no-verify. If a hook fails, pass its output to a retry worker for that task.git status then shows changes that weren't staged in step 5 (other than changes the user chose to keep at start), tell the user the paths and leave them uncommitted.Keep every [decision] and [deviation] line the workers report, with its task number, for the summary.
Runs after all tasks are done and before the finish. The diff is always git diff <default>...HEAD (<default> from Start step 3); prompts name that command and never paste the diff. Announce each phase as --- Review phase N: <name> ---.
Reviewer. A rex-flow:reviewer agent whose prompt names the focus file ${CLAUDE_PLUGIN_ROOT}/references/focus/<focus>.md, the diff command and the plan path.
External. Read ${CLAUDE_PLUGIN_ROOT}/skills/exec/prompts/external-review.md, replace {{DIFF_COMMAND}}, {{PLAN_FILE}}, {{FOCUS}} (comprehensive) and {{PREVIOUS}} (none, or the last fixer's FIXED/REJECTED), and save it with the Write tool as /tmp/rex-flow-external-review-<name>.md (<name> from Start step 3). Never put the prompt in a shell command. Run with Bash, run_in_background: true:
"${CLAUDE_PLUGIN_ROOT}/scripts/review-with.sh" '${user_config.reviewer}' '${user_config.use_hub}' /tmp/rex-flow-external-review-<name>.md
Keep the single quotes. On a non-zero exit, tell the user "External review didn't run: <reason from its review-with: stderr line>" and go on without it. A failed external review is never a clean one.
Fixer. A rex-flow:fixer agent whose prompt holds the full findings (never summarized or filtered: the fixer decides what's real), the plan path and the test command, and tells it to commit its fixes as fix: <what>, staging only the files it changed by explicit path, never with --no-verify. Show its FIXED and REJECTED lists. Then run git status --porcelain; if it shows paths, warn that they're uncommitted and missing from the diff the next review sees.
Phases:
quality, implementation, testing, simplification, documentation) and the external review. Collect every finding. None → "Phase 1: clean". Else run the fixer, then critical re-checks: two reviewers (focus critical) → fixer, until they find nothing or after 3 loops.smells) → fixer if it found anything.{{PREVIOUS}}. After each loop with findings, run the fixer. Stop when a loop has no CRITICAL or MAJOR finding (minor-only findings still get that loop's fixer pass), or when the review didn't run.critical) → fixer if they found anything. One pass.Delete /tmp/rex-flow-external-review-<name>.md when the phases are done.
mkdir -p docs/plans/completed, git mv <plan> docs/plans/completed/, commit docs: complete <plan name> plan.git log --oneline <default>..HEAD);[decision] and [deviation] from the workers, or "no decisions or deviations were reported";Never push and never open a PR. Tell the user that /ship or /rex-flow:release take it from here when they're ready.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub evgeny-golubev/rex-extensions --plugin rex-flow5 skills in this plugin
/brainstormTurns an idea into a validated design through one-question-at-a-time dialogue, 2-3 approaches with a recommendation, and a design confirmed section by section. Use before creative work or significant changes, or when the user says "brainstorm", "let's brainstorm", "think through", "help me design", "explore options for", or asks for deep analysis of a feature or architectural decision./planWrites an implementation plan in docs/plans/ with tasks, files, dependencies and tests, then has it reviewed by Claude and the configured external agent before execution. Use when the user says "plan", "make a plan", "write a plan", "plan this feature", or after /rex-flow:brainstorm hands off a design./releaseCuts a GitHub release with gh. Picks the next version from the commits since the last tag, writes the CHANGELOG.md entry in the file's own style, shows the notes, and pushes, tags and publishes only after the user confirms. Also shows what changed since the last tag. Use when the user says "create release", "cut a release", "new release", "new version", "publish version", "last tag" or "what changed since the last release"./review-prReviews a GitHub PR with Claude reviewers and the configured external agent, or reads an issue, then drafts a review or reply in the user's voice and posts it only after the user approves. Use when the user says "review pr 123", "review this PR", "check this PR", "look at PR <url>", "comment on issue 42" or "reply to issue 42".Other plugins' skills for the same job