Catalogue / task-breakdown-engineering
task-breakdown-engineering
Apache-2.0SignedEngineering practice: Task breakdown — Turn a spec into small, ordered tasks that each have acceptance criteria and a check that proves them done, so work can be reviewed, handed to an agent and finished one piece at a time. Use in any language or framework whenever this practice applies, and when r…--- name: task-breakdown-engineering description: "Engineering practice: Task breakdown — Turn a spec into small, ordered tasks that each have acceptance criteria and a check that proves them done, so work can be reviewed, handed to an agent and finished one piece at a time. Use in any language or framework whenever this practice applies, and when reviewing work that should follow it." type: engineering stack: practice core: "1.1" checked: 2026-10-26 ---
Task breakdown
Turn a spec into small, ordered tasks that each have acceptance criteria and a check that proves them done, so work can be reviewed, handed to an agent and finished one piece at a time.
Use this after the spec is agreed and before anyone writes code, especially when a coding agent will do the work. A good task list prevents half-finished branches, giant pull requests, hidden dependencies discovered late and tasks nobody can tell are done.
How to do it
- Start from the acceptance criteria — List the spec's acceptance criteria or requirement IDs. Every task you write must serve at least one, and every criterion must be covered by some task.
- Find the risky unknowns — Name anything you cannot estimate: an unfamiliar API, a performance limit, a migration on a large table. Make each a time-boxed spike task that ends in a written answer, placed first.
- Slice vertically — Cut tasks so each delivers a thin piece of behaviour end to end (interface, logic, storage, test) rather than one layer at a time. The first slice is the simplest path that works.
- Write each task completely — Give every task a title, the criteria or IDs it covers, acceptance criteria, files likely touched, the command or test that proves it done, and its dependencies.
- Apply a size limit — Split any task whose diff would take a reviewer more than about 30 minutes, or that touches more than a handful of files. If you cannot name its done check, it is too vague; split or clarify it.
- Order by dependency and risk — Sequence spikes first, then the walking-skeleton slice, then the remaining slices. Mark tasks that can run in parallel and those that block others.
- Make it executable one at a time — Save the list as a checklist in the repository or issue. An agent takes the top unblocked task, completes it, runs its check, ticks it off and stops for review before the next.
- Revise as you learn — When a spike or task changes the picture, update the remaining tasks before continuing. Record removed or deferred tasks rather than deleting them silently.
Checklist
- [ ] Every acceptance criterion or requirement ID maps to at least one task
- [ ] Each task has acceptance criteria, likely files, a done check and dependencies
- [ ] No task is larger than about 30 minutes of review
- [ ] Risky unknowns are spikes at the front of the list with a time box
- [ ] Tasks are vertical slices that each leave the build green
- [ ] The order respects dependencies and parallel tasks are marked
- [ ] The task list is saved where the implementer and reviewer can both see it
Rules
- Every task ends in a state where the build passes and the change could merge on its own. _(Tasks that leave the build broken force several tasks to be reviewed and merged together.)_
- Give every task a done check that a machine or reviewer can run: a test name, a command or a visible result. _(A task without a check cannot be called finished with confidence.)_
- Time-box spikes and throw their code away; keep only the written finding. _(Spike code is written to learn, not to last.)_
- Put schema and migration changes in their own task ahead of the code that depends on them, and make them backward compatible. _(Separating them lets each deploy and roll back independently.)_
Do
- Write the first slice as the thinnest path through the whole feature
- Name the test that will prove each task before starting it
- Hand an agent one task with its context, not the whole list at once
Don't
- Do not split work by layer (all database, then all API, then all UI)
- Do not write tasks like "implement checkout" with no done check
- Do not leave the riskiest unknown until the end of the list
Quality gates
| Gate | Tool | Threshold | When | |---|---|---|---| | Task size | Pull request size check | Pull requests linked to a task stay under 400 changed lines | Every pull request |
Workflow
Review
- Review the task list with the spec owner before work starts
- Check that each pull request covers exactly one task and passes its done check
Definition of done
- All tasks complete or explicitly deferred with a reason
Examples
Task list an agent can execute (specs/checkout.tasks.md)
# Checkout tasks (spec: specs/checkout.md) - [ ] T1 Spike: can the payment client confirm in test mode? (time box 2h) Done: findings written under "Spike results" below; code discarded - [ ] T2 Create pending order from basket [CHK-001] depends: T1 Accept: POST /orders returns 201 with status pending Files: src/api/orders.ts, src/domain/order.ts Check: pnpm test -- orders.test.ts -t "CHK-001" - [ ] T3 Server-side totals [CHK-002] depends: T2 Accept: total = sum(lines) + tax; client total ignored Files: src/domain/pricing.ts Check: pnpm test -- pricing.test.ts - [ ] T4 Owner-only confirm [CHK-003] depends: T2 (parallel with T3) Accept: another user's basket returns 403 Files: src/api/orders.ts Check: pnpm test -- orders.test.ts -t "CHK-003" - [ ] T5 Expired card message [CHK-004] depends: T2 Accept: "Card expired" shown; basket kept Files: src/ui/Checkout.tsx Check: pnpm e2e -- checkout.spec.ts ## Spike results
Further reading
- addyosmani/agent-skills — Open-source agent skills that include planning and breaking work into tasks.
- obra/superpowers — Agent skills for writing implementation plans made of small, checkable steps.
_Written for Celestial; the sources above inspired it._
| File | Size | SHA-256 |
|---|---|---|
| AGENTS.md | 3.4 kB | 1ad3e300f32a |
| README.md | 1.6 kB | ba4ab8fb5fc8 |
| SKILL.md | 6.1 kB | 2cac32bdea6e |
| SKILVAULT_SOURCE.json | 1.4 kB | cd2cc30478c5 |
| THIRD_PARTY_NOTICES.md | 12.1 kB | 1c854865f701 |
| rules/task-breakdown-engineering.mdc | 3.4 kB | 796167bbdf89 |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | fd377a713c69 | 29 Nov 2026 |
Locking a skill to one version needs Pro.