Prompt file imported from debate-timer/debate-timer-fe (
.codex/prompts/tasks.md). Copyright stays with the author.
Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts.
Steps
- Run
.specify/scripts/bash/check-prerequisites.sh --jsonto get FEATURE_DIR and AVAILABLE_DOCS - Load: plan.md (required), spec.md (required), data-model.md, contracts/, research.md (optional)
- Extract tech stack, user stories with priorities, entities, endpoints, decisions
- Generate tasks organized by user story using
.specify/templates/tasks-template.md - Task format:
- [ ] T001 [P] [US1] Description with file path
Task Phases
- Phase 1: Setup (project initialization)
- Phase 2: Foundational (blocking prerequisites)
- Phase 3+: User Stories in priority order (Types → Utils → API → Hooks → Components → Page)
- Final: Polish & cross-cutting concerns
Project Paths
src/page/{PageName}/— Pages with local components/ and hooks/src/hooks/query//src/hooks/mutations/— TanStack Query hookssrc/apis/apis/— API functions,src/apis/requests/+responses/— Typessrc/components/— Reusable componentssrc/mocks/handlers/— MSW handlers
Context
- Full workflow details:
.claude/commands/speckits/tasks.md - Next step: run analyze or implement workflow