Execute Task
Execute the next TaskMaster task using the implementation plan with CDD verification.
Install
npx skills add anombyte93/prd-taskmaster --skill execute-task -g -a claude-code -y- Repository
- anombyte93/prd-taskmaster606
- Category
- Design
- Updated
- 3mo ago
- License
- MIT
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Execute the next TaskMaster task using the implementation plan with CDD verification. Picks the next ready task, matches it to the plan step, implements via a dispatched subagent, verifies subtasks with evidence, marks the task done, and loops until every task is complete. Wraps the TaskMaster next -> in-progress -> done lifecycle with CDD GREEN / RED / BLUE verification and the plugin's triple-verification rule. Autonomous by design, no user prompts inside the loop.
execute-task
The execution loop. Three sources converge:
- Plan (HOW),
docs/superpowers/plans/*.mdproduced by GENERATE - TaskMaster (WHAT),
.taskmaster/tasks/tasks.jsonwith dependencies and complexity scores - CDD (PROOF), acceptance cards per task, evidence-gated
execute-task is the single skill that runs the full build from "tasks are ready" to SHIP_CHECK_OK. It is autonomous, no AskUserQuestion inside the loop. Any gap that would require user input is surfaced through the recon escalation ladder (step 11) or the inbox (steps 4 and 8), never via a modal prompt.
Entry
This skill is invoked either:
- Directly by the user once HANDOFF has completed and a task-execution mode (A/B/C) has been dispatched, or
- By the
prd-taskmasterorchestrator whencurrent_phaseisEXECUTE.
On entry, confirm that:
.atlas-ai/state/pipeline.jsonexists and recordsphase: EXECUTE.taskmaster/tasks/tasks.jsonexists with at least one ready task.atlas-ai/customizations/system-prompt-template.mdis present (may be empty, absence is a setup bug, empty is fine)
If any of the above are missing, report the gap and halt. Do NOT attempt to bootstrap the missing artifact from inside this loop, that is the orchestrator's job.
Cycle (per iteration)
Each pass through this cycle moves exactly one TaskMaster task from pending
to done. Do the 13 steps in order. Do not skip.
Task-start SHA, at the very beginning of each iteration (before step 2), capture the current git HEAD:
task_start_sha=$(git rev-parse HEAD)Record
$task_start_shain the execute-log row for this iteration. It is the oracle of truth for every reachability sweep in step 9b below: "what modules did THIS task add?" isdiff $task_start_sha..HEAD. The oracle flow already issues per-task start commits; this surfaces the same value in the loop prose.


