文件
skills/cc-switch-dev-workflow/references/knowledge-base/templates/todo-yaml-template.md
2026-03-26 00:27:17 -07:00

1.8 KiB

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

  • 如果标题读不出范围和依据,重写任务,不补描述赌运气

Template

tasks:
  # Priority 1
  - title: "Plan <feature> (<operation>) and use <planning-skill> to generate .plans/<date>-<slug>.md"
    description: "Scope: <where>. Reference: <spec/research/source>."
    completed: false

  - title: "Implement <feature> in <where>, covering <reference>, and use <implementing-skill> to follow .plans/<date>-<slug>.md"
    description: "Validation: <tests/checks>. Impact: <create/modify files>."
    completed: false

  - title: "Review <where> for simplification opportunities and use code-simplifying skill"
    description: "Keep behavior unchanged."
    completed: false

  - title: "Review <where> for refactoring opportunities and use code-refactoring skill to generate .plans/<date>-<refactor-slug>.md"
    description: "Focus: DRY/SRP/OCP/KISS."
    completed: false

Title Rules

  • 必须是一行
  • 必须点名模块或路径
  • 必须点名依据文档或计划文件
  • 不写“实现某功能”这种无上下文标题