execute-task
FreeNo executable scriptsNot checkedExecute 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…
by anombyte93★ 612 GitHub starsAbout this skill
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.
Heartbeat check: verify the execute-task heartbeat timer is running. If missing, register one via
CronCreate("execute-task-heartbeat", "* * * * *", "echo heartbeat"). Abort the iteration if the timer cannot be created — a missing heartbeat means a missing stuck-session detector, and that is load-bearing.Inbox reconciliation: read
.atlas-ai/state/pipeline.json,.taskmaster/tasks/tasks.json, and the current TodoWrite list. Diff them. If the three are stale by more than 5 tasks (i.e. TodoWrite says 10 done but tasks.json says 3 done), report the diff and halt — do not paper over bookkeeping drift by silently reconciling.Pick next task: run backend op
nextwith the plugin's project-root pointer. Use exactly this invocation:python3 script.py next-taskParse the JSON result.
- If no ready tasks and all tasks are
done, run.atlas-ai/ship-check.py, emit SHIP_CHECK_OK on success, exit the loop. - If no ready tasks but pending tasks exist, the dependency graph is deadlocked — report and halt.
- If no ready tasks and all tasks are
Load plan step: search for the matching task ID in this priority order, halting only after all three fail:
docs/superpowers/plans/*.md(the superpowers GENERATE default output).taskmaster/docs/plan.md(the prd-taskmaster HANDOFF default output, whose path is also recorded inpipeline.json:phase_evidence.HANDOFF.plan_file_path)- Any custom path declared in
pipeline.json:phase_evidence.HANDOFF.plan_file_path(in case a future handoff variant writes elsewhere)
If none of the three contains the matching task ID, the task was invented downstream of the plan — mark the task
blocked, inbox the parent orchestrator withmessage_type="blocker", and continue to the next iteration.(Codified 2026-06-04 — yesterday's ai-human-tasker run had its plan at
.taskmaster/docs/plan.mdonly, while this step previously readdocs/superpowers/plans/*.mdexclusively. The controller silently improvised; a cold-start successor would have hit theblockedpath on every task.)Generate CDD card: convert the task's
subtasksfield into atesting_plan. Each subtask becomes a verifiable check with a concrete evidence path (file, command output, or test name). Write the card to.atlas-ai/cdd/task-<id>.json. A task without subtasks is treated as a single RED card.Set in-progress: run backend op
set-statusfrom the current project root:python3 script.py set-status --id <N> --status in-progressThis flip is observable by watchers and anchors the iteration in TaskMaster itself.
Dispatch implementer subagent — NEVER in-session. The controller must:
- Provide the FULL task text to the subagent. Never tell the subagent to "read tasks.json" — per spec §12, the controller serialises the task into the dispatch prompt.
- Inject the plugin customisation block at `.atlas-ai/customizat
Install execute-task in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
ReadWriteEditBashSkillAgentToolSearchmcp__atlas-enginemcp__plugin_prd_gomcp__plugin_prd-taskmaster_gomcp__plugin_atlas-go_goFAQ
What does the execute-task skill do?
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.
How do I install the execute-task skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the execute-task skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
by Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
by Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
by Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
by Anthropic