Generating a Task List from Requirements
HARD-GATE
DO NOT skip Task 0.0 (create the feature branch).
DO NOT combine TDD sub-tasks into a single task.
DO NOT generate tasks from an unapproved PRD.
Quick Reference
- Task 0.0: create feature branch.
- Output:
/tasks/tasks-[feature-name].md. - Auto-detect test command, source dir, test dir, doc tool.
- Validate test command before full generation.
Workflow
1. Project Detection
Detect conventions using config files (see TEST_COMMANDS.md). Identify source and test directories.
2. Validation
Run detected test command; if it fails, confirm with user.
3. Requirements Analysis
Break down the feature/PRD:
- Identify user-visible behaviors.
- Choose a smallest slice (first-slice heuristics) for TDD.
- Group behaviors into parent task groups.
4. Generate Task List
Create /tasks/tasks-[feature-name].md using the template in TASK_TEMPLATES.md. Each parent group follows TDD quadruplet (write failing test, confirm fail, implement, confirm pass).
5. Final Validation
Review tasks for coverage, correctness, and file paths.
Integration
| Skill | When |
|---|---|
| create-prd | Feeds requirements |
| estimate-tasks | After tasks generated |