Generate actionable task list with dependencies from implementation plan
Breaks down implementation plans into actionable, dependency-ordered tasks with acceptance criteria and effort estimates. Use this after creating a plan to get a clear roadmap for implementation.
/plugin marketplace add retsohuang/retso-marketplace/plugin install spec-kit@retso-marketplaceclaude-sonnet-4-5Break down the implementation plan into actionable, dependency-ordered tasks with acceptance criteria and effort estimates.
/spec-kit:tasks
Optionally specify a spec: /spec-kit:tasks 001 or /spec-kit:tasks user-auth
Use the get-current-spec skill to determine which spec to work with.
The skill will:
After the skill completes, you will have:
Read the implementation plan:
cat .claude/spec-kit/specs/{NNN}-{feature-name}/plan.md
If plan.md doesn't exist, direct user to run /spec-kit:plan first.
node ${CLAUDE_PLUGIN_ROOT}/scripts/dist/cli.js template tasks-template --plugin-root ${CLAUDE_PLUGIN_ROOT}
Break the plan into tasks by analyzing:
Each task should:
Group tasks into implementation phases from the plan:
For each task, identify:
Map dependencies clearly:
Phase 1: Foundation
├─ Task 1.1 (no dependencies)
├─ Task 1.2 → depends on 1.1
└─ Task 1.3 → depends on 1.1
Phase 2: Core Features
├─ Task 2.1 → depends on 1.2, 1.3
├─ Task 2.2 → depends on 2.1
└─ Task 2.3 → depends on 2.1
For each task, create a detailed entry with:
Status: ⬜ Not Started (all tasks start here)
Priority: High | Medium | Low
Complexity: Low | Medium | High
Estimated Effort:
Description: Clear explanation of what needs to be done and why
Acceptance Criteria: 3-5 checkboxes of what "done" looks like:
Implementation Notes:
Files to Create/Modify: List specific files with purpose
Testing Requirements:
Include explicit tasks for:
Testing Strategy (Phase 1)
End-to-End Testing (Phase 3)
Deployment Checklist (Phase 3)
Count:
✅ Task List Generated!
Feature: {NNN}-{feature-name}
Location: .claude/spec-kit/specs/{NNN}-{feature-name}/tasks.md
Task Breakdown:
- Phase 1 (Foundation): {count} tasks, ~{effort} days
- Phase 2 (Core Features): {count} tasks, ~{effort} days
- Phase 3 (Polish & Launch): {count} tasks, ~{effort} days
- Total: {count} tasks, ~{effort} days estimated
Priority Distribution:
- 🔴 High: {count} tasks
- 🟡 Medium: {count} tasks
- 🟢 Low: {count} tasks
Critical Path: {count} sequential tasks (~{effort} days)
Next Steps:
1. Review task breakdown: .claude/spec-kit/specs/{NNN}-{feature-name}/tasks.md
2. Validate consistency: /spec-kit:analyze
3. Begin implementation: /spec-kit:implement
Tip: Start with Phase 1 foundation tasks. They unblock the rest of the work.
### Task 2.1: Implement User Authentication Service
- **Status**: ⬜ Not Started
- **Priority**: High
- **Complexity**: Medium
- **Estimated Effort**: M (1 day)
- **Dependencies**: Task 1.1 (User model), Task 1.2 (Database setup)
**Description:**
Create authentication service that handles user login, logout, and token management using JWT tokens.
**Acceptance Criteria:**
- [ ] Service validates email/password credentials
- [ ] Returns JWT token on successful login
- [ ] Token includes user ID and role
- [ ] Token expires after 24 hours
- [ ] Handles invalid credentials gracefully
**Implementation Notes:**
- Use bcrypt for password hashing (already in dependencies)
- Follow pattern in `src/services/apiService.ts`
- Store tokens in httpOnly cookies for security
- Use zod to validate login payload
**Files to Create/Modify:**
- `src/services/authService.ts` - Main service
- `src/types/auth.ts` - Auth-related types
**Testing Requirements:**
- [ ] Unit tests for login success/failure
- [ ] Unit tests for token generation
- [ ] Integration test for full auth flow
### Task: Auth Stuff
- Do authentication
- Make it work
- Test it
XS Tasks (< 2 hours):
S Tasks (2-4 hours):
M Tasks (4-8 hours / 1 day):
L Tasks (1-2 days):
XL Tasks (2-5 days):
/spec-kit:plan