| name | pc-task-breakdown |
| description | Use when reviewed architecture or API contracts must be decomposed into implementation-ready work items, especially when sequencing, reversible brownfield increments, dependency mapping, and vertical slices must be explicit before coding begins. |
| metadata | {"phase":"03-planning","inputs":["architecture-doc","spec-doc","api-contract"],"outputs":["task-list","dependency-graph"],"prerequisites":["pc-system-design"],"quality_gate":"All tasks completable in 1-3 days, dependencies mapped, no orphan tasks","roles":["tech-lead","developer"],"methodologies":["all"],"effort":"medium"} |
Task Breakdown
Break big work into small, shippable pieces. If a task takes more than 3 days, it's not broken down enough.
Context
Task breakdown turns architecture and specs into actionable work items.
See context and anti-pattern notes.
Inputs
I/O contract notes define required inputs and authority.
Process
Step 1: Identify Work Packages
From the architecture, identify major work areas:
- Backend API endpoints
- Data model and migrations
- Frontend components and pages
- Infrastructure and deployment
- Integration points and third-party services
For brownfield work, identify work packages around reversible seams, coexistence adapters, compatibility boundaries, and characterization/regression safety rather than assuming replacement-only implementation.
Step 2: Decompose into Tasks
Each task should be:
- Completable in 1-3 days (if longer, decompose further)
- Independently testable (has a clear "done" state)
- Single-responsibility (one concern per task)
Pattern: [Verb] [noun] [context]
- "Implement user registration API endpoint"
- "Create database migration for orders table"
- "Add input validation to checkout form"
Where possible, decompose into vertical slices that preserve user-visible or contract-visible value instead of layer-only sequences.
Step 3: Map Dependencies
Identify which tasks must complete before others can start:
- Data model before API, API before frontend
- Core functionality before edge cases
- Infrastructure before deployment
Visualize as a DAG (directed acyclic graph) to identify critical path and parallelism opportunities.
Flag tasks that are blocked by unresolved upstream questions. Do not hide those blockers inside optimistic sequencing.
Step 4: Define Done Criteria
Each task has explicit "done" criteria:
- Code written and self-reviewed
- Tests written and passing
- Documentation updated (if applicable)
- Ready for code review
Step 5: Sequence for Optimal Flow
Order tasks to:
- Reduce blocked time (dependencies resolved early)
- Enable parallel work (independent tasks can happen simultaneously)
- Deliver value incrementally (shippable slices, not layers)
- Preserve rollback and coexistence safety when working in brownfield systems
Brownfield Sequencing Heuristics
When the work is modernization or migration:
- sequence work around compatibility seams first
- land characterization or contract tests before risky implementation tasks
- keep legacy and new-path support explicit in the task list
- avoid public-API or data-migration commitments that depend on unresolved architecture questions
- make rollback or fallback work a first-class task where coexistence matters
Outputs
Produce only declared outputs at their documented quality boundary.
Quality Gate