Convert a PRD into structured backend development tasks with reliability patterns. Use when planning backend work from requirements.
Installation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Read and apply language protocol: ${CLAUDE_PLUGIN_ROOT}/docs/extending/language-protocol.md
Override field for this skill: language_backend-task-breakdown
Language exception: Generated code output (variable names, code blocks, schemas, SQL, API specs) is NOT affected by this setting and remains in the project's programming language.
PHASE 1: Analysis (Read-Only)
Thinking Mode
ultrathink
Use extended reasoning for:
Analyzing PRD to extract entities and actions
Mapping requirements to task types (migrations, models, controllers, jobs)
Building dependency graphs
Detecting implicit tasks that PRDs don't mention
Assessing complexity and risks
Step 1: Parse Input
Analyze the provided input to extract requirements:
If PRD file path:
Read the PRD file using the Read tool
Extract:
Title and problem statement
User stories and acceptance criteria
Technical constraints mentioned
API requirements
Parse content for entity extraction (Step 3)
If tech plan path:
Read the tech plan file
Extract:
Architecture decisions
Data model notes
API contracts
Technical approach
Use as additional context for task breakdown
If feature description:
Parse the description
Identify:
Core entities (nouns)
User actions (verbs)
Data relationships
Integration points
Build an initial understanding:
INPUT SUMMARY
─────────────
Type: {prd/tech-plan/description}
Entities: {list of identified entities}
Actions: {list of user actions}
Integrations: {external systems}
Unknown: {areas needing clarification}
Step 2: Clarify Scope
Ask up to 5 smart questions based on what's unclear from Step 1. Skip questions already answered by the input or tech.md.
Slicing strategy (always ask):
"What task breakdown approach?
[1] Vertical — Each task delivers complete functionality through all layers (recommended)
[2] Horizontal — Separate by layer (migrations, models, controllers)
[3] Hybrid — Foundation layer + vertical feature slices"
Framework questions (ask if tech.md unavailable):
2. "What backend framework?" — only if not in tech.md
"only if admin", "requires permission", "owner can"
Policy/Middleware
"OrderPolicy@update"
Relationship phrases
"belongs to", "has many", "associated with"
Model relationships
"belongsTo(User::class)"
Integration mentions
Third-party APIs, webhooks, external services
Service class + Job
"StripePaymentService"
For each entity identified, record:
Name (singular, PascalCase for models)
Table name (plural, snake_case)
Key attributes (from PRD context)
Relationships to other entities
Operations needed (CRUD, custom actions)
For each action identified, record:
HTTP method and endpoint
Controller and method
Request validation needs
Authorization requirements
Present extraction results:
ENTITY EXTRACTION
═════════════════
Entities: {count}
─────────
1. User → users (registration, profile, auth)
2. Order → orders (create, update, cancel, fulfill)
3. Payment → payments (process, refund, void)
Actions: {count}
────────
1. POST /api/orders → OrderController@store
2. PUT /api/orders/{id}/cancel → OrderController@cancel
3. POST /api/payments → PaymentController@process
Relationships:
──────────────
- Order belongsTo User
- Order hasMany OrderItems
- Payment belongsTo Order
Step 4: Detect Implicit Tasks
Automated scan for tasks the PRD doesn't explicitly mention but are required for production:
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "Implicit Tasks Detection Checklists" for the full checklists across all 4 categories (Database, Error Handling, Security, Observability) with signals and task patterns.
Scan for implicit tasks across all 4 categories. For each detected task, record the signal that triggered it.
Present detected implicit tasks:
IMPLICIT TASKS DETECTED
═══════════════════════
Database (4 tasks):
- Add index on users.email (search/login)
- Add soft deletes to orders (restoration requirement)
- Add cascade delete orders→order_items
- Add unique constraint on subscriptions (user_id, status='active')
Error Handling (3 tasks):
- Add circuit breaker for Stripe API calls
- Configure retry logic for ProcessPaymentJob (3 attempts, exponential backoff)
- Set 30s timeout for webhook deliveries
Security (2 tasks):
- Create OrderPolicy for ownership checks
- Add rate limiting to /api/auth/* endpoints (5 req/min)
Observability (2 tasks):
- Add audit log for order cancellations
- Configure error monitoring for payment failures
Step 5: Plan Task Structure
Organize all extracted and implicit tasks into a structured breakdown:
Slicing Strategy
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "Slicing Strategy Examples" for Vertical and Horizontal slicing patterns with examples.
Vertical (default): Group by user-facing feature — each slice delivers end-to-end functionality.
Horizontal: Group by technical layer — requires careful dependency management.
Hybrid: Foundation layer + vertical feature slices.
T-shirt Sizing
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "T-shirt Sizing" for size benchmarks (XS through XXL) and escalation factors.
Dependency Notation
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "Dependency Notation Format" for blocked-by, needs, and parallel-with marker syntax with examples.
Critical Path Calculation
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "Critical Path Calculation" for identification method and example.
Identify the longest chain of sequential dependencies — this determines minimum project duration.
Anti-pattern Detection
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "Anti-pattern Detection Rules" for the 5 anti-patterns (too granular, too coarse, missing error handling, orphan tasks, hero tasks) with fix strategies.
Flag issues before HARD STOP.
Present planned structure:
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "Task Breakdown Plan Display Template" for the full display format.
If tech stack needed, extract sections from tech.md:
Current Stack: #current-stack
Frameworks: #frameworks
Constraints: #constraints
Patterns: #patterns
Fill all template sections with analysis from Phase 1:
Master Task Card Template
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "Master Task Card Template" for the full task card format including: Size/Priority/Complexity fields, File paths, Dependencies, Acceptance Criteria, Data Model Notes (YAML schema), Idempotency, Error Scenarios, Reliability Notes, Security Checklist, and Test Requirements.
Dependency Graph
Generate a text-based dependency graph showing critical path, parallel tracks, and integration points.
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "Dependency Graph Format" for the full graph template.
Ambiguity Defaults Applied
Document all defaults applied where PRD was ambiguous (delete strategy, pagination, timestamps, status fields, error format).
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "Ambiguity Defaults Table" for the standard defaults table.
Step 7: Generate Export Formats
Append export-ready formats to the document: Jira CSV Import, Linear Markdown, and JSON Export.
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "Export Formats" for full templates of all three formats (Jira CSV, Linear Markdown, JSON).
Step 8: Quality Check
Before preview, validate the breakdown against all four checklists: Coverage, Structure, Technical, and Anti-pattern validation.
Reference: See ${CLAUDE_PLUGIN_ROOT}/docs/extending/backend-export-formats.md section "Quality Checklists" for the complete validation checklists.
If any check fails, fix before preview.
Step 9: Preview & Approval
Show the complete task breakdown document.
"Here's the task breakdown preview. Write to $JAAN_OUTPUTS_DIR/backend/task-breakdown/{id}-{slug}/{id}-{slug}.md? [y/n]"
✓ Task breakdown written to: $JAAN_OUTPUTS_DIR/backend/task-breakdown/{NEXT_ID}-{slug}/{NEXT_ID}-{slug}.md
✓ Index updated: $JAAN_OUTPUTS_DIR/backend/task-breakdown/README.md
Step 11: Suggest Next Skill
"Backend task breakdown complete."
Recommended next step: For comprehensive data model documentation with constraints, indexes, migration playbooks, and retention policies: