/pipeline:decomposefrom pipeline
Breaks concept documents, drafts, or product briefs into independent, shippable PRDs. Analyzes feature boundaries, dependencies, and produces an implementation order for /pipeline:ship.
Ships in pipeline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Decompose concept documents in .claude/input/ into independent, shippable PRDs.
$ARGUMENTS is an optional name or focus hint. The primary source is .claude/input/.
Read every file in .claude/input/ — documents, images, screenshots, PDFs, sketches, markdown, plain text. Treat them collectively as a single concept brief.
Also read:
CLAUDE.md for project context, tech stack, and conventions.claude/context/ for long-lived project references (schemas, API docs, glossaries)Build a mental model of what the concept describes: the overall goal, the user-facing features, the technical components, and any constraints or priorities mentioned.
Analyze the concept and identify independent features — units of work that:
For each candidate feature, note:
/pipeline:fleet uses these for conflict analysis)Build a dependency graph between the identified features:
Produce an implementation order — a suggested sequence that respects hard dependencies. Group independent features at the same level. Example:
Level 1 (independent — can run in any order):
- user-profile-api
- notification-settings-ui
Level 2 (depends on Level 1):
- notification-delivery (depends on: user-profile-api)
Level 3 (depends on Level 2):
- notification-analytics (depends on: notification-delivery)
If all features are independent, say so — that's the ideal case.
Before writing PRDs, ask clarifying questions about:
.claude/context/, ask about themUse selectable options where possible. Wait for answers before proceeding.
If the concept is clear and unambiguous, skip this step.
For each feature, write a PRD to .claude/input/<kebab-case-feature-name>.md with this structure:
# <Feature Name>
> Decomposed from: <original concept doc filename(s)>
> Dependency: none | soft(<other-feature>) | hard(<other-feature>)
> Priority: <from user answers, or "not specified">
## Problem
What user problem or business need does this feature address? 1-2 sentences.
## Requirements
Bulleted list of what this feature must do. Be specific — these become the spec's requirements.
## Out of scope
What this PRD explicitly does NOT cover (especially things that belong to sibling PRDs from the same decomposition).
## User stories / flows
- As a <role>, I want <action> so that <outcome>
- Include the key interaction flows if UI is involved
## Acceptance criteria
Observable conditions that confirm the feature is done. Write them as testable statements:
- "When X happens, Y is visible"
- "API returns Z when called with W"
## Expected files
List the files this feature will likely create or modify. Used by `/pipeline:fleet` for conflict analysis — be specific:
- **New:** `src/components/FeatureName.tsx`, `src/lib/featureName.ts`, ...
- **Modified:** `src/app/layout.tsx`, `src/types.ts`, ...
## Technical hints
Optional notes about:
- Existing codebase patterns to follow
- Known constraints or gotchas
- Suggested approach (without being prescriptive)
## Assets
Reference any specific screenshots, wireframes, or diagrams from the original input that apply to this feature. Use relative paths to `.claude/input/` files.
Important:
/pipeline:0_spec which will expand them into full specsMove the original concept documents to .claude/input/archive/:
mkdir -p .claude/input/archive
mv .claude/input/<original-files> .claude/input/archive/
Do NOT move the newly written PRDs — only the original source documents.
If any original files are images or screenshots referenced by the PRDs (in their "Assets" section), copy instead of move so the references remain valid.
Write .claude/specs/decomposition-<name>.md with:
# Decomposition: <concept name>
> Source: <list of original input files>
> Date: <today>
> Features: <count>
## Implementation order
<paste the dependency graph from Step 3>
## Features
| # | Feature | PRD | Dependencies | Status |
|---|---------|-----|--------------|--------|
| 1 | <name> | `.claude/input/<name>.md` | none | pending |
| 2 | <name> | `.claude/input/<name>.md` | soft(1) | pending |
| ...
## Next step
\`\`\`bash
# Ship all features in parallel:
/pipeline:fleet <decomposition-name>
# Or ship one at a time:
/pipeline:ship <feature-name>
\`\`\`
Print a summary:
## Decomposition complete
**Source:** <original input files>
**Features identified:** N
| # | Feature | Dependencies | Estimated size |
|---|---------|-------------|----------------|
| 1 | <name> | none | S / M / L |
| 2 | <name> | soft(1) | S / M / L |
**Suggested start:** `/pipeline:ship <first-feature-name>` (no dependencies)
**Manifest:** `.claude/specs/decomposition-<name>.md`
Size estimates: S = 1-3 files, M = 4-7 files, L = 8+ files. These are rough — /pipeline:ship --dry-run gives precise counts.
Then ask: "Ready to ship? Options:
A) /pipeline:fleet — ship all features in parallel with conflict-aware batching
B) /pipeline:fleet --dry-run — generate specs and show the batch plan first
C) /pipeline:ship <feature> — ship features one at a time in dependency order"
What SKILL.md sets; muted values are Claude Code's defaults
claude-opus-4-7highnpx claudepluginhub dixus/claudeframework --plugin pipeline25 skills in this plugin
/0_specWrite a feature spec from requirements in .claude/input/. Use when starting a new feature, before implementation begins./1_implementImplement a feature from a spec file in .claude/specs/. Use after a spec is written and approved./2_reviewReview implementation changes and write a report to .claude/reviews/. Use after implementation is complete, before merging or committing./3_fixFix issues found in a review report in .claude/reviews/. Use after a review identifies issues that need fixing.Other plugins' skills for the same job