# Template: TODO.yaml ## Purpose 统一任务清单格式,保证任务标题自包含并适配循环执行。 ## When to Use - Spec tasking - Code tasking - Alignment tasking ## Inputs - 已审核的 `ANALYSIS.md` - 当前阶段的来源文件 ## Outputs - `TODO.yaml` ## Primary Agent/Model `GPT-5.4 Pro xhigh` ## Secondary Agent/Model `Claude Opus 4.6` ## Required Skills - `spec-tasking` - `spec-gap-tasking` - `spec-implementing-tasking` ## Steps 1. 每个任务标题都写清 `Action + Where + Reference`。 2. 复杂任务拆成 `Plan + Impl`。 3. 每批任务插入质量检查点。 ## Exit Criteria - 任务可以只看标题执行 ## Failure Recovery - 如果标题读不出范围和依据,重写任务,不补描述赌运气 ## Related Templates - [`analysis-template.md`](./analysis-template.md) ## Template ```yaml tasks: # Priority 1 - title: "Plan () and use to generate .plans/-.md" description: "Scope: . Reference: ." completed: false - title: "Implement in , covering , and use to follow .plans/-.md" description: "Validation: . Impact: ." completed: false - title: "Review for simplification opportunities and use code-simplifying skill" description: "Keep behavior unchanged." completed: false - title: "Review for refactoring opportunities and use code-refactoring skill to generate .plans/-.md" description: "Focus: DRY/SRP/OCP/KISS." completed: false ``` ## Title Rules - 必须是一行 - 必须点名模块或路径 - 必须点名依据文档或计划文件 - 不写“实现某功能”这种无上下文标题