mirror of
https://github.com/github/spec-kit.git
synced 2026-01-30 04:32:02 +00:00
Update tasks-template.md
This commit is contained in:
@@ -135,73 +135,6 @@ Examples of foundational tasks (adjust based on your project):
|
||||
- [ ] T027 [US3] Implement [Service] in src/services/[service].py
|
||||
- [ ] T028 [US3] Implement [endpoint/feature] in src/[location]/[file].py
|
||||
|
||||
---
|
||||
|
||||
## Phase 3: User Story 1 - [Title] (Priority: P1) 🎯 MVP
|
||||
|
||||
**Goal**: [Brief description of what this story delivers]
|
||||
|
||||
**Independent Test**: [How to verify this story works on its own]
|
||||
|
||||
### Tests for User Story 1 (OPTIONAL - only if tests requested) ⚠️
|
||||
|
||||
**NOTE: Write these tests FIRST, ensure they FAIL before implementation**
|
||||
|
||||
- [ ] T005 [P] [US1] Contract test for [endpoint] in tests/contract/test_[name].py
|
||||
- [ ] T006 [P] [US1] Integration test for [user journey] in tests/integration/test_[name].py
|
||||
|
||||
### Implementation for User Story 1
|
||||
|
||||
- [ ] T007 [P] [US1] Create [Entity1] model in src/models/[entity1].py
|
||||
- [ ] T008 [P] [US1] Create [Entity2] model in src/models/[entity2].py
|
||||
- [ ] T009 [US1] Implement [Service] in src/services/[service].py (depends on T007, T008)
|
||||
- [ ] T010 [US1] Implement [endpoint/feature] in src/[location]/[file].py
|
||||
- [ ] T011 [US1] Add validation and error handling
|
||||
- [ ] T012 [US1] Add logging for user story 1 operations
|
||||
|
||||
**Checkpoint**: At this point, User Story 1 should be fully functional and testable independently
|
||||
|
||||
---
|
||||
|
||||
## Phase 3: User Story 2 - [Title] (Priority: P2)
|
||||
|
||||
**Goal**: [Brief description of what this story delivers]
|
||||
|
||||
**Independent Test**: [How to verify this story works on its own]
|
||||
|
||||
### Tests for User Story 2 (OPTIONAL - only if tests requested) ⚠️
|
||||
|
||||
- [ ] T013 [P] [US2] Contract test for [endpoint] in tests/contract/test_[name].py
|
||||
- [ ] T014 [P] [US2] Integration test for [user journey] in tests/integration/test_[name].py
|
||||
|
||||
### Implementation for User Story 2
|
||||
|
||||
- [ ] T015 [P] [US2] Create [Entity] model in src/models/[entity].py
|
||||
- [ ] T016 [US2] Implement [Service] in src/services/[service].py
|
||||
- [ ] T017 [US2] Implement [endpoint/feature] in src/[location]/[file].py
|
||||
- [ ] T018 [US2] Integrate with User Story 1 components (if needed)
|
||||
|
||||
**Checkpoint**: At this point, User Stories 1 AND 2 should both work independently
|
||||
|
||||
---
|
||||
|
||||
## Phase 3: User Story 3 - [Title] (Priority: P3)
|
||||
|
||||
**Goal**: [Brief description of what this story delivers]
|
||||
|
||||
**Independent Test**: [How to verify this story works on its own]
|
||||
|
||||
### Tests for User Story 3 (OPTIONAL - only if tests requested) ⚠️
|
||||
|
||||
- [ ] T019 [P] [US3] Contract test for [endpoint] in tests/contract/test_[name].py
|
||||
- [ ] T020 [P] [US3] Integration test for [user journey] in tests/integration/test_[name].py
|
||||
|
||||
### Implementation for User Story 3
|
||||
|
||||
- [ ] T021 [P] [US3] Create [Entity] model in src/models/[entity].py
|
||||
- [ ] T022 [US3] Implement [Service] in src/services/[service].py
|
||||
- [ ] T023 [US3] Implement [endpoint/feature] in src/[location]/[file].py
|
||||
|
||||
**Checkpoint**: All user stories should now be independently functional
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user