Generate implementation tasks from requirements and design. Use when creating actionable task lists.
tasks.md is writtenIf steering/spec context is already available from conversation, skip redundant file reads. Otherwise, load all necessary context:
{{KIRO_DIR}}/specs/{feature}/spec.json, requirements.md, design.md
{{KIRO_DIR}}/specs/{feature}/tasks.md (if exists, for merge mode)
Core steering context: product.md, tech.md, structure.md
Additional steering files only when directly relevant to requirements coverage, design boundaries, runtime prerequisites, or team conventions that affect task executability
Determine execution mode:
sequential = (sequential flag is true)Validate approvals:
-y) is true: Auto-approve requirements and design in spec.json. Tasks approval is also handled automatically in Step 4.rules/tasks-generation.md from this skill's directory for principlesrules/tasks-parallel-analysis.md from this skill's directory for parallel judgement criteria{{KIRO_DIR}}/settings/templates/specs/tasks.md for format (supports (P) markers)The following research areas are independent and can be executed in parallel:
After all parallel research completes, synthesize findings before generating tasks.
Generate task list following all rules:
(P) markers to tasks that satisfy parallel criteria when !sequential(P) when tasks appear parallel but are not safe(P) entirelytasks.md yetTask Plan Review Gate from rules/tasks-generation.md_Depends:_, _Boundary:_, and (P) markers still match the dependency graph and architecture boundariesBefore writing tasks.md, run one lightweight independent sanity review of the task graph.
tasks.md is being updated. The reviewer should read requirements.md, design.md, and the task-generation rules directly instead of relying on a parent-synthesized coverage summary.PASSNEEDS_FIXESRETURN_TO_DESIGNNEEDS_FIXES, repair the draft once and re-run the sanity review one time.RETURN_TO_DESIGN, stop without writing tasks.md and point back to the exact gap in requirements/design.Write tasks.md:
{{KIRO_DIR}}/specs/{feature}/tasks.mdphase: "tasks-generated"approvals.tasks.generated: true, approved: falseapprovals.requirements.approved: trueapprovals.design.approved: trueupdated_at timestampApproval:
-y) is true:
approvals.tasks.approved: true in spec.json/kiro-impl {feature}"approvals.tasks.approved: true in spec.json/kiro-impl {feature}"approvals.tasks.approved: false(P) tasks, recommended for all (_Boundary: ComponentName_)_Depends: X.X_Provide brief summary in the language specified in spec.json:
{{KIRO_DIR}}/specs/{feature}/tasks.mdFormat: Concise (under 200 words)
Requirements or Design Not Approved:
/kiro-spec-tasks {feature} -y to auto-approve all (requirements, design, and tasks) and proceed"Missing Requirements or Design:
{{KIRO_DIR}}/specs/{feature}/"Incomplete Requirements Coverage:
Spec Gap Found During Task Review:
tasks.md/kiro-spec-tasks {feature}"Template/Rules Missing:
{{KIRO_DIR}}/settings/"Tasks are approved in Step 4 via user confirmation. Once approved:
/kiro-impl {feature}/kiro-impl {feature} 1.1,1.2