con un clic
tasks
Use when a spec has design.md and needs implementation tasks.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Use when a spec has design.md and needs implementation tasks.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Use when a spec has tasks.md and should enter autonomous task execution.
Use when starting curdx-flow, creating a spec, resuming work, or routing intent.
Use when handling curdx-flow flags, state files, delegation, execution loops, or skill entrypoint rules.
Use when curdx-flow needs user decisions after codebase facts are discovered.
Use when showing curdx-flow slash skills, options, workflow, or troubleshooting.
Fixture help skill
| name | tasks |
| description | Use when a spec has design.md and needs implementation tasks. |
| argument-hint | [spec-name] [--task-granularity auto|coarse|standard|fine] |
| allowed-tools | Read Write Edit Bash Agent AskUserQuestion |
| disable-model-invocation | true |
Generate implementation tasks for the active spec. Running this command implicitly approves design. You are a coordinator, not a task planner -- delegate ALL work to the task-planner subagent.
Complete these coordination steps in order; do not create user-facing implementation tasks from this checklist:
--quick)spec-reviewer + code-quality-reviewer); QuickMode bypass per D5curdx-flow snapshot --spec "$ARGUMENTS" when $ARGUMENTS begins with a spec name; otherwise run curdx-flow snapshot.snapshot.active is false, error: "No active spec. Run /curdx-flow:new first."snapshot.spec.fsPath as $SPEC_PATH.snapshot.artifacts.design.exists is false, error: "Design not found. Run /curdx-flow:design first."snapshot.artifacts.requirements.exists is false, error: "Requirements not found. Run /curdx-flow:requirements first."curdx-flow state merge "$SPEC_PATH/.curdx-state.json" '{"awaitingApproval":false}'
--task-granularity flag handling: Check $ARGUMENTS for --task-granularity flag:
auto, coarse, standard, finegranularity in .curdx-state.json and treat it as an explicit override of autoPolicy.taskGranularityInvalid --task-granularity value "<value>", using autoPolicy/default standard) and set "granularity": "auto"--task-granularity flag is absent: leave granularity unchanged in .curdx-state.json (preserve any value set by /curdx-flow:start)autoPolicy exists in the snapshot, run:
curdx-flow route --goal "$GOAL" --flags "$ARGUMENTS"
Merge the JSON into .curdx-state.json as { "autoPolicy": <policy>, "granularity": <policy.taskGranularity> }..curdx-state.json when present: route.stackProfile, route.qualityGates, route.suggestedVerifier, and route.contextBudget. Use ${CLAUDE_PLUGIN_ROOT}/references/intelligent-routing.md only when the compact route facts need interpretation.requirements.md, design.md, research.md (if exists), .progress.mdCheck if --quick appears in $ARGUMENTS. If present, skip to Step 3.
Parse Intent Classification and all prior interview responses to skip already-answered questions.
Intent-Based Question Counts:
Apply adaptive dialogue from ${CLAUDE_PLUGIN_ROOT}/skills/interview-framework/SKILL.md. Ask context-driven questions one at a time.
Tasks Exploration Territory (hints, not a script):
autoPolicy.verificationLevel is strict or the design has explicit UI/deployment risk; prefer Playwright CLI, but select Chrome DevTools MCP for GIS/WebGL/canvas/map/GPU or console/network/performance debugging.After dialogue, propose 2-3 execution strategies. Examples (illustrative only):
Append to .progress.md under "Interview Responses":
### Tasks Interview (from tasks.md)
- [Topic 1]: [response]
- Browser verification: playwright/chrome-devtools-mcp/none/blocked -- [strategy or "auto"]
- Chosen approach: [name] -- [brief description]
Pass combined context to delegation prompt as "Interview Context".
ALL specs MUST follow POC-first workflow. Read ${CLAUDE_PLUGIN_ROOT}/references/phase-rules.md for the mandatory 5-phase structure and phase distribution rules.
Read ${CLAUDE_PLUGIN_ROOT}/references/quality-checkpoints.md for checkpoint insertion rules (frequency, format, final verification sequence).
Agent Teams are experimental and disabled by default in Claude Code. Use the team lifecycle only when CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set and the TeamCreate / TaskCreate / TaskList / SendMessage tools are visible in the current session. If any team tool is unavailable or fails, immediately continue with the direct Agent(agent_type: task-planner) path. Treat this as the normal path, not a degraded path.
Direct path:
TaskCreate(subject: "Generate implementation tasks for $spec", activeForm: "Generating tasks"). If unavailable or failing, continue without it.Agent(agent_type: task-planner) with requirements, design, interview context, and the Delegation Context below. Instruct it to:
references/workflow-contract.md, references/source-coverage-audit.md, references/browser-verification-policy.md, and references/agent-output-contract.mdtasks.md with ## Source Coverage Audit, then ## Browser VerifyTASKS_BLOCKEDautoPolicy.taskTargetRange; if this requires more than 12 tasks, stop and recommend /curdx-flow:triageautoPolicy.reviewCadence and autoPolicy.verificationLevel./specs/$spec/tasks.mdtest:e2e or the repo's equivalent script before final verification.intent.workspaceState == "empty" or route greenfield-spec), include a walking-skeleton task before business slices. It must prove the selected project shape, contract, and dev runtime can start and verify together.curdx-flow dev detect, curdx-flow dev up, curdx-flow dev health, curdx-flow dev verify, and curdx-flow dev down for local runtime evidence when project scripts exist../verify.sh --check by itself. Generate startup/check/cleanup steps that keep the server alive for browser interaction, and require curdx-flow verify run --description to include the concrete MCP proof: tool used, URL, add/toggle/delete or equivalent action sequence, DOM assertion, and console-error result.TASKS_READY before proceeding; if TASKS_BLOCKED, surface the blocking source items and stop.$SPEC_PATH/tasks.md.Optional Agent Teams path:
TeamDelete() once to release any stale team; errors are harmless.TeamCreate(team_name: "tasks-$spec")TaskCreate(subject: "Generate implementation tasks for $spec", activeForm: "Generating tasks")Agent(agent_type: task-planner, team_name: "tasks-$spec", name: "planner-1") with the same prompt as the direct path.TaskList check.SendMessage(type: "shutdown_request", recipient: "planner-1")./specs/$spec/tasks.md, then TeamDelete().Delegation Context: When delegating to task-planner, include these inputs:
- AutoPolicy: full
.curdx-state.json::autoPolicyJSON- Granularity:
autoPolicy.taskGranularity, unlessgranularityexplicitly overrides it- Task Target:
autoPolicy.taskTargetRange- Review Cadence:
autoPolicy.reviewCadence- Verification Level:
autoPolicy.verificationLevel- Value Slice Rule: test/reproduce + implementation + verification + commit stay inside one top-level task
- Intent Facts: full
.curdx-state.json::intentJSON when present- Project Topology: full
.curdx-state.json::projectTopologyJSON when present- Greenfield Rule: if workspace is empty/greenfield, plan foundation as a walking skeleton before business slices
For VE Tasks — VE1 (startup), VE2 (check), VE3 (cleanup) — generation:
- Browser Verification: Playwright CLI by default, Chrome DevTools MCP for GIS/WebGL/canvas/map/GPU/rendering or console/network/performance diagnosis, none only for non-browser work
- Verification Tooling: the Verification Tooling section from research.md (dev server commands, browser deps, ports, health endpoints)
- Strategy: the user's chosen verification strategy, or "auto" in quick mode
- Lifecycle: startup must keep the dev server alive until cleanup; short-lived background commands from a subshell are not valid evidence unless a health check proves the server remains reachable.
Read .curdx-state.json::autoPolicy.reviewCadence:
minimal: skip subagent artifact review for tasks.md; run the task-planner self-check and proceed to walkthrough.final, periodic, strict: run the two-stage review below.This step runs the two-stage review protocol at the tasks phase boundary: spec-reviewer (specCompliance) and code-quality-reviewer (codeQuality) are dispatched in parallel, in ONE message, against the frozen tasks.md artifact. Both reviewers must complete before reconciliation.
Required reading before dispatch (read once at top of step, do not skip):
bounded-parallel-dispatch.md — independence criteria + the Review-domain "ALL Agent calls in ONE message" rule (anti-pattern #3 + #5–#8). Both reviewers must be spawned in the SAME message.two-stage-review.md — domain boundary table (specCompliance vs codeQuality), 3-layer drift defense, anti-rationalization rule, SLSA-shape verdict glossary, QuickMode behavior contract.The two reviewers do not see each other's output (Layer 2 isolation). The coordinator never arbitrates findings across domains.
1. Optional TaskCreate(subject: "Spec-compliance review of tasks.md",
activeForm: "Reviewing tasks (spec-compliance)")
Optional TaskCreate(subject: "Code-quality review of tasks.md",
activeForm: "Reviewing tasks (code-quality)")
2. # ALL Agent calls in ONE message — see bounded-parallel-dispatch.md anti-pattern #3
Agent(agent_type: spec-reviewer,
prompt: "Review ./specs/$spec/tasks.md for spec-compliance ONLY.
Upstream: design.md + requirements.md.
Your domain: traceability, phase artifact structure, requirement
coverage, artifact format. Do NOT comment on code-quality concerns
(smell / security / readability / test-shape) — those belong to the
peer code-quality-reviewer (which you do NOT see and MUST NOT
reference). Emit a markdown findings table and a final line
`REVIEW_PASS` or `REVIEW_FAIL` (byte-equal).")
Agent(agent_type: code-quality-reviewer,
prompt: "Review ./specs/$spec/tasks.md for code-quality ONLY.
Your domain: code smell / security / implementation quality /
readability / test quality / no-hallucinations. Do NOT comment
on traceability to requirements / phase artifact structure /
requirement coverage / artifact format / front-matter — those
belong to spec-reviewer (which you do NOT see and MUST NOT
reference). Emit a markdown findings table and a final line
`REVIEW_PASS` or `REVIEW_FAIL` (byte-equal).")
3. # Wait for both Agent results; collect REVIEW_PASS/REVIEW_FAIL final lines.
4. # Persist verdicts under verificationBlocks.tasks.reviews via merge-state (FR-T3 — never hand-edit state):
curdx-flow state merge \
"$SPEC_PATH/.curdx-state.json" \
'{"verificationBlocks":{"tasks":{"reviews":{
"specCompliance":{"verdict":"<PASS|FAIL>","findings":[...],"reviewerId":"spec-compliance","timestamp":"<ISO8601>"},
"codeQuality":{"verdict":"<PASS|FAIL>","findings":[...],"reviewerId":"code-quality","timestamp":"<ISO8601>"}
}}}}'
Optional Agent Teams overlay: if Agent Teams are enabled and available, create TeamCreate(team_name: "review-tasks-$spec"), add matching team_name and name fields to both Agent calls, wait via automatic teammate messages or one TaskList check, then SendMessage(...shutdown_request...) and TeamDelete(). If any team step fails, rerun or continue with the direct dual Agent(...) calls above.
Read state.quickMode from .curdx-state.json. specCompliance is always a hard gate; QuickMode only relaxes codeQuality.
if state.quickMode === true:
if specCompliance.verdict === "FAIL":
# Hard gate even in QuickMode — FR-M2 reverse contract.
block; show findings; do NOT advance to Step 5.
if codeQuality.verdict === "FAIL":
# Advisory downgrade — set advisory:true via merge-state, surface findings,
# continue. Never set advisory on specCompliance.
merge-state into verificationBlocks.tasks.reviews.codeQuality.advisory = true
log warning to .progress.md; proceed to Step 5.
else: # normal mode
if specCompliance.verdict === "FAIL" OR codeQuality.verdict === "FAIL":
# Either FAIL blocks. Display findings table, ask user (Step 5 "Run review" / "Request changes" loop).
Iteration < 3: re-invoke task-planner with merged feedback, loop back to 4.1.
Iteration >= 3: graceful degradation, log warning, proceed (permissive ceiling matches prior behavior).
else:
proceed to Step 5.
Anti-rationalization: the coordinator MUST NOT pass spec-reviewer's findings into the code-quality-reviewer prompt (or vice versa). Both verdicts are stored verbatim under verificationBlocks.tasks.reviews. See two-stage-review.md §2.
Revision delegation: Re-invoke task-planner with the merged feedback (both reviewers' findings concatenated, attributed by reviewerId) and design.md + requirements.md upstream context. Focus on the union of issues.
Error handling: Reviewer no signal = treat as REVIEW_PASS for that slot (permissive ceiling). Agent failure = retry once, then use the surviving reviewer's verdict alone (still hard-gate on specCompliance if it survived).
Fallback: Direct dual Agent(...) calls in ONE message are the default. Team failures are non-blocking unless both reviewers fail to return a verdict.
Read ./specs/$spec/tasks.md and display:
Tasks complete for '$spec'.
Output: $PWD/specs/$spec/tasks.md
## What I Planned
**Total**: [X] tasks across 4 phases
**Phase Breakdown**:
- Phase 1 (POC): [count] tasks - proves the idea works
- Phase 2 (Refactor): [count] tasks - clean up
- Phase 3 (Testing): [count] tasks - add coverage
- Phase 4 (Quality): [count] tasks - CI/PR
**POC Milestone**: Task [X.Y] - [brief description of what's working at that point]
If --quick, skip to Step 6.
Ask ONE question: "How do you want to proceed?" with these options via AskUserQuestion:
If "Approve": proceed to Step 6. If "Run review": Invoke spec-reviewer via Agent tool with full tasks.md content (upstream: design.md + requirements.md). Display findings table. If REVIEW_PASS, note it. If REVIEW_FAIL, show feedback. Then loop back to this same 3-choice question (user decides next action). If "Request changes" or "Other":
Agent(agent_type: task-planner) and feedback; use the optional team lifecycle only if Agent Teams are enabled and available.curdx-state.json: { "phase": "tasks", "totalTasks": <count>, "awaitingApproval": true }.progress.md: mark design as implicitly approved, set current phase, update task countRead commitSpec from .curdx-state.json. If true:
git add ./specs/$spec/tasks.md
git commit -m "spec($spec): add implementation tasks"
git push -u origin $(git branch --show-current)
If commit or push fails, display warning but continue.
(Does not apply in --quick mode.)
-> Next: Run /curdx-flow:implement to start execution/curdx-flow:implement