Skip to content

Reading

Appearance

Text size

Bookmarks

    No bookmarks yet. Use “Bookmark chapter” or “Bookmark this section” while reading.

    Your data

    Saved only in this browser on this device. It is not synced to other devices or sent anywhere.

    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-tasks

    No 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 structure
    Phase 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 story
    Phase 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
    1. Phase 1: Setupdependencies, config, package structure
    2. Phase 2: Foundationalshared building blocks everything needs
    3. Phase 3: User Story 1 (P1)tests FIRST, then the implementation
    4. Phase 4: User Story 2 (P2)...
    5. 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)

    Phases run left to right as listed in tasks.md. Inside a user-story phase, tests come first. The MVP bracket is the guide's example ("MVP = Phase 1–3"); the stacked [P] bars are illustrative.

    A typical line:

    - [ ] T014 [P] [US1] Create RegistrationForm DTO with validation in src/main/java/.../web/RegistrationForm.java

    How to read it:

    • T014 is 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
    1. - [ ]checkboxticked off when done (chapter 16)
    2. task IDis the task ID
    3. parallelcan run in parallel with other [P] tasks
    4. user storybelongs to User Story 1
    5. actionwhat to do
    6. exact file pathwhere to do it
    The task line from the guide, split into its parts. Select a part to find its explanation in the list above.

    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
    1. What does [P] mean on a task?
    2. Why are tasks organised by user story?