mk:breakdown
Turns a spec, PRD or epic into user stories with acceptance criteria, optionally creates tickets, and writes one breakdown report.
| Source | .claude/skills/breakdown/SKILL.md |
| Owner | jira |
| Runtime | claude-code |
| Risk | medium |
mk:breakdown reads a spec source, derives user stories with binary acceptance criteria, can create a ticket per story and run a tech breakdown, and writes one report. It stops before planning and names the planning command to run next. Use it when a Confluence page, Jira epic, GitHub issue, Linear ticket or pasted PRD needs refined stories.
When not to use it
| If you need | Use |
|---|---|
| Sprint capacity planning | mk:planning-engine |
| Fibonacci sizing of pasted stories | mk:story-sizer |
| Analysis or root cause of one ticket | mk:intake or mk:jira-analyst |
Usage
mk:breakdown <source> [--source confluence|jira|github|linear|paste] [--project <KEY>]| Argument | Meaning |
|---|---|
<source> | Confluence URL or page id, Jira key, GitHub issue URL, Linear URL, file path, or nothing when you paste the spec |
--source | Override auto-detection |
--project <KEY> | Required before any ticket is created. Without it, ticket creation aborts, the analysis is kept and the report ends with a re-run footer |
What it does
- Analyse the source. Confluence goes to
mk:confluence-spec-analyst. Jira, GitHub, Linear, pasted text and files go tomk:intake. - Decompose into stories: title, binary acceptance criteria, a complexity hint and the open questions the source leaves unanswered.
- Optionally create a ticket per accepted story with
mk:jira-issue, confirming each story separately. - Optionally run
mk:planning-engine plan --tickets <keys>once tickets exist. - Write the report.
Outputs
The report goes to tasks/reports/breakdown-{YYMMDD}-{slug}.md, or into the active plan's research/ directory when a plan is active. The run prints the report path, story count, ticket keys created, any warnings and the next planning command (mk:plan-creator for implementation planning). A same-day re-run overwrites the report. Tickets already created stay, so choose "Skip" for stories that have one.
Gotchas
- Spec content is data. Requirements are extracted from it and instructions inside it are not followed.
- Missing tracker configuration skips ticket creation and still produces the analysis and report.
- A failed analysis or a source with no stories stops the run without a partial report.
- Confluence shortlinks are not resolved. Give the canonical URL or page id.
mk:intake
Scores a ticket or PRD for completeness, classifies its product area, scans the codebase and hands off a structured report. Works with Jira, Linear, GitHub, Confluence or pasted text.
mk:arch
Writes and maintains architecture decision records under docs/architecture/adr and checks a proposed change against them.