一键导入
decompose
Turn a design document into an executable Jira epic — phase issues, acceptance criteria, dependency relations, following project conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Turn a design document into an executable Jira epic — phase issues, acceptance criteria, dependency relations, following project conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | decompose |
| description | Turn a design document into an executable Jira epic — phase issues, acceptance criteria, dependency relations, following project conventions |
| allowed-tools | ["Read","Glob","Grep","Bash","Agent","AskUserQuestion","mcp__jira__getJiraIssue","mcp__jira__searchJiraIssuesUsingJql","mcp__jira__getVisibleJiraProjects","mcp__jira__getJiraProjectIssueTypesMetadata","mcp__jira__getTransitionsForJiraIssue","mcp__jira__createJiraIssue","mcp__jira__editJiraIssue","mcp__jira__createIssueLink","mcp__jira__getIssueLinkTypes","mcp__jira__getConfluencePage","mcp__jira__createConfluencePage","mcp__jira__updateConfluencePage","mcp__jira__searchConfluenceUsingCql"] |
You are structuring a design into executable work items. The thinking is done — now make it actionable.
$ARGUMENTS is one of:
/ideate)plans/)Read the full design document. Extract:
Also read the relevant source code to understand the current state. The design may reference modules that have changed since it was written.
Break the work into phases following the project's established pattern (modeled after DAT-173):
Each phase must:
Typical phasing patterns in this project:
For each phase, identify:
| Low Effort | High Effort | |
|---|---|---|
| High Value | Quick win — schedule early, build momentum | Big bet — worth it, but phase carefully |
| Low Value | Fill-in — slot in when convenient | Money pit — defer or cut |
This drives phase ordering: quick wins first (early value, team confidence), then big bets (the core work), fill-ins whenever there's a gap. Money pits get flagged — ask the user whether to keep or cut them. A phase that's high-effort/low-value often means the scope is wrong, not that it should be built anyway.
For each phase, write concrete, verifiable acceptance criteria. Follow the project's pattern:
Good:
- [ ] `look` tool returns column count, row count, types, roles, distributions, and sample rows
- [ ] `measure` tool returns per-column entropy scores, BBN readiness, and contract status
- [ ] Old `get_quality` and `analyze` tools return deprecation errors
- [ ] Unit tests for each tool's response format
- [ ] Handoff.md updated with calibration items
Bad:
- [ ] Look tool works
- [ ] Tests pass
- [ ] Code is clean
Acceptance criteria must be checkable by the spec-compliance-reviewer. If a criterion is ambiguous, it's useless.
Create the dependency graph between phases. Use the project's ASCII format:
Phase 1 (DAT-nnn)
└──→ Phase 2 (DAT-nnn) [blocked by Phase 1]
├──→ Phase 3 (DAT-nnn) [blocked by Phase 2]
└──→ Phase 4 (DAT-nnn) [blocked by Phase 2]
└──→ Phase 5 (DAT-nnn) [blocked by Phase 3 + 4]
Also identify cross-repo work that should be tracked:
Ask the user for confirmation before creating anything. Show them:
Then create, in order:
Title: Epic: {descriptive name}
Label: Epic
Project: {appropriate project, usually "Phase 1: Open Source Core"}
Description:
## Vision
{1-2 sentences from the design doc}
## Specs & Design
- [{document title}]({confluence url})
- Design artifacts: `plans/{topic}/` on {branch}
## Execution
{dependency graph with issue references — fill in after creating phase issues}
Create a Confluence page with:
Attach to the epic issue.
For each phase:
Title: Phase N: {tool/feature names} + {brief description}
Label: Feature
Parent: {epic issue}
Project: {same as epic}
Status: Backlog (or Todo for Phase 1 if ready)
Description:
**Plan:** [{plan document title}]({url})
**Design:** [{design document title}]({url})
**Branch:** {current working branch}
**Blocked by:** Phase N-1 (DAT-nnn) [if applicable]
## Deliverables
{detailed specifications per tool/module}
## Acceptance Criteria
- [ ] {concrete, verifiable items}
## Cross-repo
- eval: {what needs calibration}
- testdata: {hints for new test scenarios}
blockedBy Phase N (where applicable)Go back and fill in the issue references in the dependency graph.
Print the created structure:
Epic: DAT-nnn — {title}
Phase 1: DAT-nnn — {title} [Todo]
Phase 2: DAT-nnn — {title} [Backlog, blocked by Phase 1]
Phase 3: DAT-nnn — {title} [Backlog, blocked by Phase 2]
...
Cross-repo: DAT-nnn — eval: {title}
Documents:
- {plan document title} — attached to epic
Ready: /refine DAT-nnn (Phase 1 issue) to start
Point the user to the first actionable phase issue: "Run /refine DAT-nnn to start Phase 1."
If open questions from the design doc remain unresolved, suggest creating spike issues first.
/refine.基于 SOC 职业分类
Pre-release editorial sweep — make sure README, docs, CHANGELOG, and version metadata reflect what actually shipped before tagging.
Quick UX smoke test — drive the cockpit (or a REST route) you just built and see how it feels as a practitioner
Structured implementation with mandatory checkpoints and psychological safety — stop early rather than deliver incomplete work
Take a single independently-mergeable task end-to-end as one parallel lane — worktree, refine, implement, lane-smoke, PR. Invoke once per task. Launch N concurrently via the Agent tool with isolation:worktree.
Pre-implementation exploration — surface conflicts between spec, codebase, and reality before committing to an approach
Collaborative exploration of a product idea — think it through, check feasibility against the codebase, produce a design document draft