spec-tasks
Spec-Tasks
Generate task list organized by user story for implementation.
Prerequisites: plan.md must exist (run /spec-plan first).
Workflow
- Setup - Run
.specify/scripts/bash/check-prerequisites.sh --json - Load documents - plan.md (required), spec.md, data-model.md, contracts/
- Generate tasks - Organized by user story priority
- Write tasks.md - Using
.specify/templates/tasks-template.md - Report - Task count, parallel opportunities, MVP scope
Task Format
- [ ] [TaskID] [P?] [Story?] Description with file path
| Component | Description |
|---|---|
- [ ] |
Checkbox (required) |
[T001] |
Sequential ID |
[P] |
Parallelizable (optional) |
[US1] |
User story label (for story phases) |
Examples
- [ ] T001 Create project structure per implementation plan
- [ ] T005 [P] Implement auth middleware in src/middleware/auth.py
- [ ] T012 [P] [US1] Create User model in src/models/user.py
Phase Structure
| Phase | Purpose |
|---|---|
| Phase 1: Setup | Project initialization |
| Phase 2: Foundational | Blocking prerequisites |
| Phase 3+: User Stories | One phase per story (P1, P2, P3...) |
| Final: Polish | Cross-cutting concerns |
Task Sources
- User Stories (spec.md) - Primary organization
- Contracts - Map endpoints to stories
- Data Model - Map entities to stories
- Infrastructure - Setup/foundational tasks
Parallel Rules
[P]= Different files, no dependencies- Models before services
- Services before endpoints
- Tests FAIL before implementation (if TDD)
Implementation Strategy
MVP First
- Setup → Foundational → User Story 1
- Test US1 independently
- Deploy/demo
Incremental
- Add each story independently
- Test and deploy each increment
Next Steps
After /spec-tasks:
/spec-analyze- Check consistency/spec-implement- Execute tasks
More from xfstudio/skills
baoyu-post-to-wechat
Posts content to WeChat Official Account (微信公众号) via Chrome CDP automation. Supports article posting (文章) with full markdown formatting and image-text posting (图文) with multiple images. Use when user mentions "发布公众号", "post to wechat", "微信公众号", or "图文/文章".
19frontend-design
Create distinctive, production-grade frontend interfaces with intentional aesthetics, high craft, and non-generic visual identity. Use when building or styling web UIs, components, pages, dashboards, or frontend applications.
11tailwind-design-system
Build scalable design systems with Tailwind CSS, design tokens, component libraries, and responsive patterns. Use when creating component libraries, implementing design systems, or standardizing UI patterns.
10backend-patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
10scroll-experience
Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences. Like NY Times interactives, Apple product pages, and award-winning web experiences. Makes websites feel like experiences, not just pages. Use when: scroll animation, parallax, scroll storytelling, interactive story, cinematic website.
9vulnerability-scanner
Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization.
9