แบ่งงานใหญ่เป็น task เล็กๆ | Break complex task into smaller pieces
Break down complex tasks into manageable sub-tasks with a structured plan. Use this when starting large projects to create an organized todo list and effort estimates.
/plugin marketplace add MaouStan/ai-productivity-kit/plugin install ai-productivity-kit@ai-productivity-kitแบ่งงานใหญ่เป็น task เล็กๆ Break complex task into smaller pieces
/ai-kit:breakdown [task description]
เมื่อ user พิมพ์ /ai-kit:breakdown [task]:
Understand the task - ถามคำถามถ้าไม่ชัดเจน:
Break it down เป็น:
Create todo list ด้วย TodoWrite tool
Show plan ในรูปแบบ table
User: /ai-kit:breakdown ทำระบบ login ด้วย JWT
AI:
# Task Breakdown: JWT Login System
## Phase 1: Research & Design
- [ ] Research JWT libraries for Python
- [ ] Design auth flow diagram
- [ ] Define API endpoints
- [ ] Plan database schema
## Phase 2: Core Implementation
- [ ] Install dependencies (python-jose, passlib, bcrypt)
- [ ] Create User model (if not exists)
- [ ] Implement password hashing
- [ ] Create JWT token generation
- [ ] Implement login endpoint
- [ ] Implement logout endpoint
## Phase 3: Security
- [ ] Add input validation
- [ ] Implement token refresh flow
- [ ] Add rate limiting
- [ ] Secure cookie handling
## Phase 4: Testing
- [ ] Unit tests for auth functions
- [ ] Integration tests for endpoints
- [ ] Test security scenarios
## Phase 5: Documentation
- [ ] Document API endpoints
- [ ] Write setup guide
- [ ] Add usage examples
## Estimated Effort
| Phase | Tasks | Est. Time |
|-------|-------|-----------|
| Research | 4 | 1-2 hrs |
| Implementation | 6 | 3-4 hrs |
| Security | 4 | 2-3 hrs |
| Testing | 3 | 2-3 hrs |
| Documentation | 3 | 1-2 hrs |
| **Total** | **20** | **9-14 hrs** |
Created todo list with 20 items. Ready to start! 🚀