一键导入
kiro-spec-tasks
Generate implementation tasks from requirements and design. Use when creating actionable task lists.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate implementation tasks from requirements and design. Use when creating actionable task lists.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Investigate implementation failures using root-cause-first debugging. Use when an implementer is blocked, verification fails, or repeated remediation does not converge.
Entry point for new work. Determines the best action path or work decomposition (update existing spec, create new spec, mixed decomposition, or no spec needed) and refines ideas through structured dialogue.
Implement approved tasks using TDD with native subagent dispatch. Runs all pending tasks autonomously or selected tasks manually.
Review a task implementation against approved specs, task boundaries, and verification evidence. Use after an implementer finishes a task, after remediation, or before accepting a task as complete.
Create complete specs (requirements, design, tasks) for all features in roadmap.md using parallel subagent dispatch by dependency wave.
Generate comprehensive technical design translating requirements (WHAT) into architecture (HOW) with discovery process. Use when creating architecture from requirements.
| name | kiro-spec-tasks |
| description | Generate implementation tasks from requirements and design. Use when creating actionable task lists. |
| allowed-tools | Read, Write, Edit, Glob, Grep, Agent |
| argument-hint | <feature-name> [-y] [--sequential] |
| metadata | {"shared-rules":"tasks-generation.md, tasks-parallel-analysis.md"} |
tasks.md is writtenIf steering/spec context is already available from conversation, skip redundant file reads. Otherwise, load all necessary context:
.kiro/specs/{feature}/spec.json, requirements.md, design.md
.kiro/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/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/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/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/specs/{feature}/"Incomplete Requirements Coverage:
Spec Gap Found During Task Review:
tasks.md/kiro-spec-tasks {feature}"Template/Rules Missing:
.kiro/settings/"Tasks are approved in Step 4 via user confirmation. Once approved:
/kiro-impl {feature}/kiro-impl {feature} 1.1,1.2