breakdown
БесплатноБез исполняемых скриптовНе проверенBreak down a PRD or CRD into self-contained implementation tasks for LLM execution. Use when you have a PRD/CRD file and want to generate executable task…
Об этом скилле
/breakdown - PRD/CRD Task Breakdown
You are orchestrating the breakdown of a PRD (Product Requirements Document) or CRD (Change Request Document) into implementation tasks optimized for autonomous LLM execution.
Arguments
<input-path>: Path to PRD index.md or CRD document (required)--layer <N>: Only generate tasks for specific layer (optional, 0-4)--review-only: Only run review pass on existing tasks (optional)--output-dir <path>: Target directory for greenfield projects (overrides default)--project-path <path>: Existing project path for brownfield/CRD (overrides PRD value)--auto-setup: Automatically execute Layer 0 tasks after generation (greenfield only)
Input Format Detection
The skill automatically detects whether the input is a PRD or CRD:
| Root Element | Format | Description |
|---|---|---|
<prd> |
PRD | Full product requirements (greenfield or brownfield) |
<crd> |
CRD | Change request for existing project |
CRD handling:
- CRDs are always brownfield (no Layer 0)
- CRDs require
--project-pathor a project with PROJECT.md - CRDs use
<impact-analysis>to scope task generation - CRDs typically produce fewer tasks (focused changes)
Output Location
Tasks are written to: docs/tasks/<prd-slug>/
For greenfield with --output-dir:
- Layer 0 tasks reference the output-dir as target
- Other layer tasks are still saved to docs/tasks/
Workflow
Execute these phases in order:
Phase 1: Validate Input
- Read the input file at the provided path
- Detect format by checking root element (
<prd>or<crd>) - Verify valid XML structure
- Extract the slug from
<meta><slug>tag - Create output directory:
docs/tasks/{slug}/ - If directory exists, check for existing
.donemarkers to resume
For CRD input:
- Require
--project-pathargument (CRDs always target existing projects) - Verify PROJECT.md exists at
{project-path}/PROJECT.md - Load PROJECT.md context for use in task generation
Phase 2: Analyze Input
For PRD:
Invoke the breakdown-analyze-prd skill with the full PRD content.
Pass the PRD XML content and request structured extraction of:
- All features with priorities
- Tech stack with versions
- Implied data models
- Implied API endpoints
- Implied frontend components
- External dependencies
- Template path if specified
For CRD: Extract directly from CRD structure:
- Requirements from
<requirements>section - Acceptance criteria from
<acceptance-criteria>section - Affected files from
<impact-analysis><affected-files> - Affected features from
<impact-analysis><affected-features> - Tech stack from PROJECT.md context
- Related existing features from
<context><related-features>
The CRD already contains impact analysis, so less inference is needed.
Save the analysis to docs/tasks/{slug}/analysis.json
Phase 3: Plan Layers
For PRD:
Invoke the breakdown-plan-layers skill with the analysis JSON.
Request organization into 4-5 layers:
- 0-setup: Template copy, git init, environment (greenfield only)
- 1-foundation: Database models, migrations, base config
- 2-backend: API endpoints, services, business logic
- 3-frontend: React components, state management, routing
- 4-integration: Wiring, E2E flows, polish
For CRD:
Layer planning is simpler based on <impact-analysis>:
- If
<affected-schemas>has changes: Include Layer 1 (foundation) - If
<affected-apis>has changes: Include Layer 2 (backend) - If frontend files in
<affected-files>: Include Layer 3 (frontend) - Always include Layer 4 (integration) for wiring changes together
CRD typically produces 2-3 layers, not 5.
Save the layer plan to docs/tasks/{slug}/layer_plan.json
Phase 4: Generate Tasks (Per Layer)
Determine layers to process based on input type:
- PRD Greenfield:
[0-setup, 1-foundation, 2-backend, 3-frontend, 4-integration] - PRD Brownfield:
[1-foundation, 2-backend, 3-frontend, 4-integration](skip Layer 0) - CRD: Only layers identified in Phase 3 based on impact analysis
For each layer in order:
Check completion: If
{layer}/.doneexists, skip this layerCreate directory:
docs/tasks/{slug}/{layer}/Batch tasks: Split layer tasks into batches of max 5 tasks each
- If layer has ≤5 tasks: single batch
- If layer has 6-10 tasks: 2 batches
- If layer has 11-15 tasks: 3 batches
- Example: 14 tasks → batches of [5, 5, 4]
For each batch, with retry loop (max 3 attempts per batch):
for batch in batches: for attempt in [1, 2, 3]: # Generate invoke breakdown-generate-tasks with: - Layer name - Task batch (subset of layer tasks) - PRD analysis - Template path (if any) - Output directory: docs/tasks/{slug}/{layer}/ - Previous review feedback (if retry) # Review in
Установить breakdown в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobGrepWriteSkillBashВложенные файлы
FAQ
Что делает скилл breakdown?
Break down a PRD or CRD into self-contained implementation tasks for LLM execution. Use when you have a PRD/CRD file and want to generate executable task files for autonomous implementation.
Как установить скилл breakdown?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл breakdown запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic