phase-to-taskslisted
Install: claude install-skill rajurayhan/ai-agent-framework
# Phase to Tasks
Transforms requirements phases or open progress items into actionable sprint backlogs.
## Prerequisites
- Stable `docs/SRS.md` or `docs/REQUIREMENTS.md` with FR/REQ IDs (from `requirements-analyst` if greenfield)
- Phase defined in requirements doc
## Inputs
1. Module or phase name
2. Source spec: requirements doc, `{MODULE}_PLAN.md`, or progress tracker ⬜ items
3. Sprint range or single sprint number
4. Team capacity (default: 80h, 20% buffer → 64h available)
## Steps
1. Read scope and requirement IDs; flag blocking open decisions
2. Write `{MODULE}_SPRINT_PLAN.md` with sprint overview table
3. Assign `TASK-{SSS}{NN}` IDs (SSS = sprint zero-padded, NN = sequence)
4. Create `docs/sprints/sprint-{N}-{slug}.md` per sprint with P0/P1, demo script, risks
5. Create/update progress tracker with ⬜/🔄/✅ status
6. Link agents/skills on critical-path tasks
7. (Optional) Push to external PM API via idempotent `external_ref`
## Capacity rule
P0 total must fit within 64h buffered capacity — cut or defer to P1 first.
## Task block template
```markdown
- [ ] **TASK-00501** — Schema migration for core entities (10h)
- **AC:** Tables created; FKs; indexes
- **Agent:** backend-architect + new-migration skill
- **REQ:** FR-1, FR-2
- **Dependencies:** None
```
## Handoff
Activate `project-planner`. Delegate ceremonies to `sprint-facilitator`.
**Full playbook:** If Cursor initialized, see `.cursor/skills/phase-to-tasks/SKILL.md`