generate-breakdown-work-items
From a User Story (or Feature/Epic with child Stories), generate an Implementation Plan in the local artifacts and atomic child Tasks aligned to acceptance criteria — including Staging, Review, and a Done Breakdown Task. Use when the user runs /generate-breakdown-work-items, says "break down this story into tasks", "create tasks from acceptance criteria", "breakdown work items", or provides a Story/Feature/Epic id, link, or path and wants plan + Task children for delivery. Does not invent acceptance criteria or implement product code.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- generate-breakdown-work-items
- license
- MIT
- description
- From a User Story (or Feature/Epic with child Stories), generate an Implementation Plan in the local artifacts and atomic child Tasks aligned to acceptance criteria — including Staging, Review, and a Done Breakdown Task. Use when the user runs /generate-breakdown-work-items, says "break down this story into tasks", "create tasks from acceptance criteria", "breakdown work items", or provides a Story/Feature/Epic id, link, or path and wants plan + Task children for delivery. Does not invent acceptance criteria or implement product code.
02 资源文件 5
- 参考文档manifest.json824 B
- 参考文档references/atomic-tasks.md7.2 KB
- 参考文档references/fan-out.md2.9 KB
- 参考文档references/intake-ux.md3.2 KB
- 参考文档references/plan-generation.md5.2 KB
03 SKILL.md 正文
Generate Breakdown Work Items
Conductor for turning Story acceptance criteria into an Implementation Plan in the artifacts path and atomic child Tasks. Load references as each phase needs them — this file is the score, not the textbook.
References (skill-specific, in ./references/):
./references/intake-ux.md— prompt order, invariant/variant lists,all/other/Recommended./references/plan-generation.md— Feature+Story ingest, AC coverage, artifacts path Implementation Plan./references/atomic-tasks.md— atomic Tasks, Staging/Review/Breakdown, writing them to the tracker./references/fan-out.md— Feature/Epic child discovery, per-Story loop, failure isolation
Shared references (in ../../references/):
tracker-contract.md— the tracker gateway:tracker_describeand thetracker_*toolsticket-structure.md— local draft constraintsdecomposition-rules.md— hierarchy (Epic → Feature → Story → Task)
Every tracker read and write goes through the harness gateway (tracker_* tools); never call a
tracker's own tools. Ask harness document path for the plan's path
(../../references/document-layout.md). When the harness route runs this skill, harness next
names the Story; the intake below is then already settled.
Not in scope: inventing or rewriting acceptance criteria; Feature-level story-point estimation; implementing the product under breakdown — only plan + work-item persistence.
PHASE 0 — INTAKE (selection only)
Read ./references/intake-ux.md before prompting. Gather inputs one at a time.
| Input | Required | Purpose |
|---|---|---|
work_item_ref |
yes | Tracker id or link, or a filesystem path to a Story, Feature, or Epic |
language |
no | en (default when omitted) | pt-BR | other:… |
Also accept flags from /generate-breakdown-work-items or conversational inference.
Rules (must follow intake-ux.md)
- If
work_item_refis missing → STOP and ask before continuing. - The destination is the selected tracker (
tracker_describe); it is never asked. - If
languageis missing → use the project's harness language (do not force a prompt). - Ask every question with
harness decision present; never in your own words.
Confirmation gate
When the skill runs outside the harness route, present the normalized intake record and WAIT for explicit confirmation. Do not read work-item bodies or write anything in this phase.
{
work_item_ref: string
source_kind: "id" | "url" | "path"
language: "en" | "pt-BR"
}
On confirmation, proceed to PHASE 1.
PHASE 1 — INGEST
Read ./references/plan-generation.md § PHASE 1.
- Resolve
work_item_refto a work item (tracker_get_work_item, or read a filesystem path). - If type is Feature or Epic: go to PHASE 5 (fan-out). Do not draft a parent-level plan.
- If type is User Story: read the parent Feature body (when it has one) and the Story body before any plan drafting. A Story without a parent is valid. STOP if a named parent cannot be read or if acceptance criteria are missing.
- Extract
acceptance_criteriaverbatim (en/pt-BR section labels per../../references/ticket-structure.md). Never invent or rewrite ACs.
PHASE 2 — IMPLEMENTATION PLAN
Read ./references/plan-generation.md § PHASE 2.
- Draft a plan that addresses every acceptance-criteria entry.
- Write it where
harness document path --type implementation-plan --item <story key>says, with the frontmatter contract inplan-generation.md. - Re-read the file; record
plan_pathon the run context; present path + summary. - Do not create Tasks in this phase. If PHASE 3 is invoked without a saved
plan_pathon disk → STOP: "Implementation Plan not saved; refusing Task creation."
Have the plan approved before PHASE 3 (required): show it with harness workflow show --artifact <plan> and put that output in your reply, then ask
harness decision present --gate implementation-confirm --artifact <plan>. On Revise, change the plan and ask again. Once approved,
set its status to active; editing it afterwards needs a new approval.
PHASE 3 — DECOMPOSE TASKS
Read ./references/atomic-tasks.md § Task list construction.
- Refuse to continue unless
plan_pathexists on disk. - Split the saved plan into atomic, testable Tasks (one ≈ one atomic commit).
- Always append Staging, then Review, then Breakdown last.
- Breakdown: assignee = Story assignee; state = Done.
- Write the Task drafts, show them, and ask
harness decision present --gate publish-itemswith the drafts as--artifacts before PHASE 4. The user's own words in the question's Other field change the list; ask again for the changed list.
PHASE 4 — PERSIST
Read ./references/atomic-tasks.md § Persist.
- Create each approved Task in the selected tracker with
tracker_create_work_item(kind: "task",parentRefthe Story); the gateway gives it the Story's sprint and assignee. - Read every Task back with
tracker_get_work_itemand assert its parent is the Story. - Set the Breakdown Task Done with
tracker_transition_work_item; read it back. - Report
plan_path, Task ids/paths, and Breakdown outcome.
PHASE 5 — FAN-OUT
Read ./references/fan-out.md.
- Enumerate all child User Stories under the Feature (or under Features of an Epic) before processing any Story.
- Optionally present a variant multi-select (
all/other…) of Stories to include. - For each selected Story: run PHASE 1–4 with the same intake
language. - On failure: record the error and continue remaining Stories (no silent skip).
- End with a success/fail summary; partial failure if any Story failed.
Examples
/generate-breakdown-work-items --ref STORY-0003
→ Feature+Story ingest → save and approve the implementation plan
→ propose Tasks (AC steps + Staging + Review + Breakdown) → approve → create in the tracker
/generate-breakdown-work-items --ref FEATURE-0002
→ list child Stories → for each: plan + Tasks → report OK/FAIL per Story
04 同仓库更多 Skills
validate-artifact
Validate a single agile artifact (Epic, Feature, User Story, or Task) against the toolkit rule set. Use when the user asks to "validate this story/feature/epic", "check this ticket", "is this artifact ready?", or provides a local draft path or provider item and wants a quality report. Accepts a local draft or a tracker work item. Runs all checks non-blocking and emits a terminal report + persisted report. One artifact per invocation.
split-story
Lateral story-sizing skill. Takes a single User Story and determines if it should be split, how many sub-stories to create, and what split pattern to use — then drafts sub-stories and hands them off. Use when the user asks "split this story", "is this story too big?", "analyze this story for sizing", or provides an artifacts path / tracker id / file path / raw text and wants a split recommendation. One story per invocation.
research-decision
Research a product, market, domain, competitor, user, or technical question in service of a named decision, producing a cited decision brief. Use when planning depends on current evidence rather than more ideation.
product-spec
Distill an idea, brief, PRD, UX contract, architecture spine, issue, or mixed notes into a compact canonical product contract with stable capabilities and companions. Use before backlog decomposition when intent is defined; update or validate an existing product spec through the same skill.
product-requirements
Create, update, or validate a right-sized Product Requirements Document with stable requirements, explicit scope, user journeys where useful, and measurable outcomes. Use for multi-person or multi-epic alignment; skip it when a concise product spec is enough.
product-brief
Create, update, or validate a concise product brief that captures a clear concept, its users, value, scope, and success criteria. Use when the user wants a one- or two-page product narrative before a PRD or product spec.