一键导入
tdk-task-breakdown
Generate parent epic child-spec-seed breakdown artifacts from epic PRD plus /tdk-epic-hld context. Use before child /tdk-specify loops.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate parent epic child-spec-seed breakdown artifacts from epic PRD plus /tdk-epic-hld context. Use before child /tdk-specify loops.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
Primary implementation skill. Execute phases from plan.md ## Phases table. Read plan.md as source of truth for status + dependency graph.
Execute the implementation planning workflow using the plan template to generate design artifacts.
Create spec.md from a feature or child-slice description, or replay --interview against existing spec.md. Supports --fast, memory, and an embedded quality gate.
Project-level architecture recommendation and brownfield recovery advisor. Writes architecture reports only; does not mutate layout or config.
Deprecated compatibility route for /tdk-workspace-layout-propose.
| name | tdk-task-breakdown |
| description | Generate parent epic child-spec-seed breakdown artifacts from epic PRD plus /tdk-epic-hld context. Use before child /tdk-specify loops. |
| metadata | {"version":"1.0.0"} |
Create parent epic child-spec-seed Markdown from epic PRD and epic HLD context.
$ARGUMENTS
Trigger: /tdk-task-breakdown <epic-id> [--force]
This command produces:
{FEATURE_DIR}/index.md{FEATURE_DIR}/tasks-breakdown.md{FEATURE_DIR}/tasks-breakdown/tasks-breakdown/task-NNN-{slice}.md filesThis command does NOT:
spec.md files (use /tdk-specify <child-id> "<seed>")/tdk-clarify)/tdk-plan)/tdk-implement)UR-*, FR-*, SC-*, or FS-* identifiersCore output is tracker-neutral child spec seed Markdown. Child specs are the implementation units after this stage.
Load before deriving any breakdown content:
references/task-breakdown-output-contract.mdInvoke tdk-validate-task-id with $ARGUMENTS and host skill name /tdk-task-breakdown.
If STOP, halt execution.
Store: TASK_ID, TASK_ID_SOURCE.
Invoke tdk-load-project-context with validated TASK_ID.
Store: PROJECT_CONTEXT, FEATURE_DIR.
Require and read:
{FEATURE_DIR}/epic-prd.md
{FEATURE_DIR}/epic-prd/prd.md
{FEATURE_DIR}/epic-prd/slice-map.md
{FEATURE_DIR}/epic-prd/open-questions.md
If any file is missing, STOP before writing and tell the user to run
/tdk-epic-prd {TASK_ID} first.
Require {FEATURE_DIR}/high-level-design.md and read the artifacts it
lists. If it is missing, STOP and tell the user to run /tdk-epic-hld {TASK_ID}
first.
HLD is parent design context only: it sharpens boundaries, dependencies, assumptions, risks, and child spec seed wording. It is not requirement authority.
STOP before writing any file when:
epic-prd/open-questions.md has any item under ## Blocking Questions.epic-prd/slice-map.md has no independently specifiable slice.epic-prd/slice-map.md contains catch-all slices such as "all features",
"entire MVP", or "whole epic".high-level-design.md does not mark the HLD set ready for task breakdown.Read references/task-breakdown-output-contract.md from this skill directory.
Use that reference as the single source of truth for:
From epic-prd/slice-map.md, extract slice keys, capability, actor, outcome,
dependencies, suggested child spec title, priority, and seed text.
From HLD artifacts, extract only boundary, dependency, data/user flow, interface, assumption, risk, and follow-up context that affects child spec seed quality.
Do not invent file paths, APIs, database tables, owners, estimates, tracker labels, or formal requirement IDs unless the epic PRD or HLD explicitly states them as assumptions to validate.
Create one breakdown file for each independently specifiable slice:
/tdk-specify <child-id> "<seed>" text.If a slice is too broad to become a child spec, STOP and tell the user to refine the epic PRD slice map before writing output.
If tasks-breakdown/index.md exists and sibling tasks-breakdown.md is missing,
STOP with:
legacy layout detected: tasks-breakdown/index.md is from the old nested-manifest layout. Re-run with --force to regenerate task breakdown in the new layout, or recreate the test epic. TDK does not auto-migrate old tasks-breakdown/index.md content.
Create or update only:
{FEATURE_DIR}/tasks-breakdown.md{FEATURE_DIR}/tasks-breakdown/task-NNN-{slice}.mdDo not write tasks.md, child spec.md, plan files, tracker config, or
implementation files.
tasks-breakdown.md is the authoritative manifest for the current generated
set. Consumers and agents must read the child spec seed files listed in the
stage manifest, not glob every file in tasks-breakdown/.
Update the generated task-breakdown section in {FEATURE_DIR}/index.md. Link
the tasks-breakdown.md stage manifest, summarize seed count and tracker
boundary, and show the next command for child /tdk-specify. Preserve
user-owned content outside generated sections. Replace an existing generated
task-breakdown section only after confirmation or when --force is supplied.
Report:
{FEATURE_DIR}/index.md, tasks-breakdown.md, and each seed file/tdk-specify <child-id> "<seed>"Use AskUserQuestion with header "Next Step" after reporting results:
| Option | Action |
|---|---|
Start first child /tdk-specify (Recommended) | Read the first seed listed in tasks-breakdown.md, then invoke its suggested /tdk-specify <child-id> "<seed>" command exactly |
| Choose a different child seed | Stop and tell the user to choose one seed file from tasks-breakdown.md; do not infer a different child order |
| End session | Stop |
epic-prd/open-questions.md has no blocking questionsreferences/task-breakdown-output-contract.md was loaded{FEATURE_DIR}/index.md, tasks-breakdown.md, and tasks-breakdown/task-NNN-{slice}.md were writtenUR-*, FR-*, SC-*, or FS-* identifiers were minted