templates/tasks-template.md
Input: Design documents from /specs/[###-feature-name]/
Prerequisites: plan.md (required), spec.md (required for user stories), research.md, data-model.md, contracts/
Tests: The examples below include test tasks. Tests are OPTIONAL - only include them if explicitly requested in the feature specification.
Organization: Tasks are grouped by user story to enable independent implementation and testing of each story.
[ID] [P?] [Story] Descriptionsrc/, tests/ at repository rootbackend/src/, frontend/src/api/src/, ios/src/ or android/src/Purpose: Project initialization and basic structure
Purpose: Core infrastructure that MUST be complete before ANY user story can be implemented
⚠️ CRITICAL: No user story work can begin until this phase is complete
Examples of foundational tasks (adjust based on your project):
Checkpoint: Foundation ready - user story implementation can now begin in parallel
Goal: [Brief description of what this story delivers]
Independent Test: [How to verify this story works on its own]
NOTE: Write these tests FIRST, ensure they FAIL before implementation
Checkpoint: At this point, User Story 1 should be fully functional and testable independently
Goal: [Brief description of what this story delivers]
Independent Test: [How to verify this story works on its own]
Checkpoint: At this point, User Stories 1 AND 2 should both work independently
Goal: [Brief description of what this story delivers]
Independent Test: [How to verify this story works on its own]
Checkpoint: All user stories should now be independently functional
[Add more user story phases as needed, following the same pattern]
Purpose: Improvements that affect multiple user stories
# Launch all tests for User Story 1 together (if tests requested):
Task: "Contract test for [endpoint] in tests/contract/test_[name].py"
Task: "Integration test for [user journey] in tests/integration/test_[name].py"
# Launch all models for User Story 1 together:
Task: "Create [Entity1] model in src/models/[entity1].py"
Task: "Create [Entity2] model in src/models/[entity2].py"
With multiple developers: