task-breakdown

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

task-breakdown

任务拆解

Purpose

目的

Break an approved spec into ordered implementation tasks with dependencies and done criteria.
将已获批的需求规格拆解为带有依赖关系和完成标准的有序实施任务。

Use When

适用场景

  • A spec is approved and work needs sequencing.
  • An orchestrator needs clearer execution slices.
  • A change is large enough that hidden dependencies could cause churn.
  • 需求规格已获批,需要对工作进行排序时。
  • 编排者需要更清晰的执行拆分单元时。
  • 变更规模较大,隐藏的依赖关系可能导致工作混乱时。

Do Not Use When

不适用场景

  • The task is a tiny single-step change with no dependency chain.
  • The spec itself is still incomplete or unapproved.
  • 任务是无需依赖链的微小单步骤变更时。
  • 需求规格本身仍不完整或未获批时。

Inputs

输入

  • Approved spec
  • Current repository state
  • 已获批的需求规格
  • 当前代码仓库状态

Outputs

输出

  • Task list
  • Ordering rationale
  • Dependency notes
  • 任务列表
  • 排序依据说明
  • 依赖关系备注

Workflow

工作流程

  1. Identify the main workstreams implied by the approved spec.
  2. Sequence dependencies and determine what can run in parallel.
  3. Attach done criteria and handoff notes to each execution slice.
  4. Call out blockers, prerequisite decisions, or risky coupling.
  1. 识别已获批需求规格中隐含的主要工作流。
  2. 梳理依赖关系的顺序,确定可并行执行的工作。
  3. 为每个执行拆分单元添加完成标准和交接备注。
  4. 标注出阻塞项、前置决策要求或存在风险的耦合关系。

Rules

规则

  • Keep tasks outcome-oriented.
  • Prefer the smallest coherent execution slices.
  • Make dependency ordering explicit instead of implied.
  • 保持任务以结果为导向。
  • 优先拆分为最小的连贯执行单元。
  • 明确标注依赖顺序,而非隐含说明。

Checklist

检查清单

  • Workstreams are clear.
  • Dependencies are ordered.
  • Done criteria exist for each slice.
  • Risks or blockers are visible.
  • 工作流清晰明确。
  • 依赖关系已排序。
  • 每个拆分单元都有完成标准。
  • 风险或阻塞项清晰可见。

Non-Negotiable Rules

不可违反规则

  • Do not redefine approved scope while breaking down work.
  • Do not hide prerequisites that can block downstream execution.
  • Do not create task lists that are too vague to hand off safely.
  • 拆解工作时不得重新定义已获批的范围。
  • 不得隐藏可能阻塞下游执行的前置条件。
  • 不得创建过于模糊、无法安全交接的任务列表。

References

参考资料

  • specs/
  • context/repo-context.md
  • rules/global-rules.md
  • specs/
  • context/repo-context.md
  • rules/global-rules.md

Examples

示例

Example Trigger

示例触发指令

Break this approved spec into implementation slices with dependencies and done criteria.
将这份已获批的需求规格拆解为带有依赖关系和完成标准的实施拆分单元。

Example Output Shape

示例输出格式

Produce an ordered task list with sequencing notes, dependencies, and explicit completion criteria per slice.
生成包含排序说明、依赖关系以及每个拆分单元明确完成标准的有序任务列表。