Chapter 14 of 22 · about 1 min
14. Step 6: tasks
What it is
It breaks the plan into a numbered, ordered list of small tasks that the AI can complete one at a time.
How to run it
/speckit-tasksNo extra prompt is needed. It reads plan.md, spec.md and any supporting files (data-model.md, contracts/, research.md, quickstart.md).
How tasks.md is organized
Phase 1: Setup → dependencies, config, package structurePhase 2: Foundational → shared building blocks everything needs (DB, security config, base entities)Phase 3: User Story 1 (P1) → tests FIRST, then the implementation for that storyPhase 4: User Story 2 (P2) → ...Phase N: Polish & Cross-Cutting → docs, extra validation, cleanup+ Dependencies & execution order+ Parallel opportunities+ Implementation strategy (e.g. "MVP = Phase 1–3") Learning aidFrom plan to phases
- Phase 1: Setupdependencies, config, package structure
- Phase 2: Foundationalshared building blocks everything needs
- Phase 3: User Story 1 (P1)tests FIRST, then the implementation
- Phase 4: User Story 2 (P2)...
- Phase N: Polish & Cross-Cuttingdocs, extra validation, cleanup
MVP = Phase 1–3
[P] tasks touch different files, so they can run side by side (illustrative)
A typical line:
- [ ] T014 [P] [US1] Create RegistrationForm DTO with validation in src/main/java/.../web/RegistrationForm.javaHow to read it:
T014is the task ID[P]means this can run in parallel with other[P]tasks (they touch different files)[US1]means it belongs to User Story 1- then the action and the exact file path
Learning aidReading one task line
- [ ]checkboxticked off when done (chapter 16)- task IDis the task ID
- parallelcan run in parallel with other [P] tasks
- user storybelongs to User Story 1
- actionwhat to do
- exact file pathwhere to do it
Why it's organized by user story
Each story can be built, tested and demoed on its own. You could ship P1 as an MVP and add P2 later.
Your job
Skim it. Are tests before implementation (if your constitution requires it)? Are any tasks missing or too vague? It's your build checklist, so make it right.
Optional reviewCheck yourself