Loads an approved plan from `.cursor/plans/`, runs tasks in dependency waves with parallel Task subagents, and requires each executor to fix its own task until plan validations pass (capped rounds). Use when the user runs Execute Plan or points at a saved plan file to implement.
/execute-plan command@-reference.<plan title>. Proceed?"## User approval to execute section — replace its body with:
- Approved: yes
- At: <ISO timestamp>
- User confirmation: "Invoked via /execute-plan command — user confirmed proceed"
.cursor/plans/<file>.md (user path or @-reference) or from a pasted body if no file.## User approval to execute section exists and does not contain PENDING — do not execute.## Task <TaskID> (level-2 markdown heading).## Integration validation and runs only after all tasks PASS.Give each subagent:
## Task ... through the end of that section).readonly: false for normal execution (implement + run commands)..cursor/project.md exists in the repo root, read it and include its full contents as the <PROJECT_CONTEXT> value in the executor prompt. If the file does not exist, pass the string 'None' for <PROJECT_CONTEXT>.package.json test script, *.sln, pytest.ini, go.mod with test files): write tests before implementing the feature (TDD). Place tests following the project's existing test conventions. Focus on happy paths; keep test complexity low. Write the minimum tests that verify the task's stated behavior. Tests must pass before the task is PASS. If no test structure exists, or if the task only modifies documentation, configuration, or skill/plan files, note "No tests applicable" in the result.Plans may use ### Code only, ### Implementation (explicit_instructions) only, or both. The executor must follow ### Steps, ### Contracts, and whichever implementation sections exist—no improvising names, paths, or public surfaces that the plan does not specify.
After all tasks in a wave return PASS, spawn a wave-code-reviewer subagent (readonly: true). Load the prompt from .cursor/skills/wave-code-reviewer/SKILL.md. Provide:
The reviewer returns PASS or REVISE. If REVISE:
The wave is fully PASS only when the reviewer returns PASS (or the cap is reached).
readonly: false). Load the skill from .cursor/skills/test-plan/SKILL.md. Provide the plan file path. The subagent will discover and run the project's full test suite and assess scenario coverage against the plan's manual validation task.See reference.md for overlap, ambiguous scopes, and parsing notes.