Create implementation plan with task breakdown and acceptance criteria
Creates a detailed implementation plan with task breakdown and acceptance criteria. Use when starting new features with clear requirements to get structured tasks for tracking progress.
/plugin marketplace add MaouStan/ai-productivity-kit/plugin install ai-productivity-kit@ai-productivity-kitNew Plan - Create Implementation Plan สร้างแผนงาน implementation พร้อม task breakdown
/ccc ถ้าไม่มี context issue ล่าสุด# Implementation Plan: [Feature Name]
## Overview
{{สรุป feature ที่จะทำ}}
## Tasks
- [ ] **Task 1**: [Description]
- **Acceptance**: [criteria]
- **Files**: [expected files]
- **Estimate**: [time]
- [ ] **Task 2**: [Description]
- **Acceptance**: [criteria]
- **Files**: [expected files]
- **Estimate**: [time]
- [ ] **Task 3**: [Description]
- **Acceptance**: [criteria]
- **Files**: [expected files]
- **Estimate**: [time]
## Dependencies
- {{external dependencies}}
- {{related features}}
## Definition of Done
- [ ] All tasks complete
- [ ] Tests passing (coverage > 80%)
- [ ] Documentation updated
- [ ] Code reviewed
## Context Issue
- #{{context_issue_number}}
เมื่อ user พิมพ์ /ai-kit:nnn [description]:
Check context:
/ccc ก่อนAsk for requirements (ถ้าจำเป็น):
What are the requirements?
- Input format?
- Output format?
- Constraints?
- Edge cases to handle?
Create plan:
Create GitHub issue:
plan, implementationUser: /ai-kit:nnn ทำระบบ refresh token
AI:
# Creating Implementation Plan...
Checking context...
✓ Found context issue #12
Gathering requirements...
📝 Questions:
1. Refresh token ใช้ได้กี่วัน?
2. เก็บ token ที่ไหน (database/redis)?
3. มี blacklist token ไหม (logout)?
[User answers]
✅ Created issue #13: "Plan: Refresh Token System"
---
# Implementation Plan: Refresh Token System
## Overview
Add refresh token mechanism to existing JWT auth for better security.
## Tasks
- [ ] **Task 1**: Create refresh token model
- **Acceptance**: User table has refresh_token column
- **Files**: src/models/user.py
- **Estimate**: 30 min
- [ ] **Task 2**: Implement token refresh endpoint
- **Acceptance**: POST /refresh returns new access token
- **Files**: src/api/auth.py
- **Estimate**: 1 hour
- [ ] **Task 3**: Add token blacklist for logout
- **Acceptance**: Logged out tokens cannot refresh
- **Files**: src/api/auth.py, src/middleware/auth.py
- **Estimate**: 45 min
- [ ] **Task 4**: Write tests
- **Acceptance**: Coverage > 80% for new code
- **Files**: tests/test_auth.py
- **Estimate**: 45 min
## Definition of Done
- [ ] All tasks complete
- [ ] Tests passing
- [ ] API documentation updated
## Context Issue
- #12
---
Ready to execute? Use /ai-kit:gogogo
/ai-kit:nnn จะ auto-run /ccc ถ้าไม่มี context