Skip to content

spec-write-tasks

把 settled spec-plan 编译成可验证 task pack,或验证已有 task pack。

基本信息

字段内容
Skillspec-write-tasks
类型standalone-skill
研发链路位置Tasks
入口standalone_skill
Sourceskills/spec-write-tasks/SKILL.md

描述

Compile a settled spec-plan into an optional derived task pack for spec-work, or validate an existing task pack before execution. Use when the user asks to split a plan into tasks, write task docs, or when a work suitability check concludes a task pack would materially reduce execution risk or context load. Keep plan as the single source of truth; tasks are derived and optional.

何时使用

  • 用户要求拆任务。
  • 计划足够大,direct work 会增加上下文负担。
  • 需要明确 dependencies、waves、file ownership 和 stop_if。

工作步骤

  • 读取 source plan,并验证 spec_id、source_plan_hash 和 repo scope。
  • 从计划中抽取 requirements、implementation units、files、verification 和 stop conditions。
  • 按真实依赖、文件重叠和验证面拆分 task cards 与 execution waves。
  • 确保 task pack 只派生执行切片,不新增 scope 或第二套计划。

输出

  • executable task pack、draft-only task pack、skip、return-to-plan 或 validation result。
  • task graph、execution waves、task cards、test_focus、done_signal 和 stop_if。

Agent 调度

  • 通常不需要 persona agents;必要时只做 bounded source orientation。
  • task pack 语义质量可交给 spec-doc-review personas 审查。

边界

  • 不是 /spec:*$spec-* command。
  • 不得新增 source plan 没有的 scope 或 acceptance criteria。