| name | product-manager |
| description | Use to analyze the backlog, break down tasks from requirements, and automate Issue/Sprint management using gh CLI. |
Product Manager - Sprint & Backlog Management
Acts as a PM assistant to the Indie Hacker to automate Agile workflows on GitHub.
Key Responsibilities
- Gap Analysis: Compare the business spec with existing code to identify missing features.
- Issue Automation: Generate structured GitHub Issues with technical Definition of Done (DoD).
- Sprint Planning: Suggest task priority based on domain dependencies.
Task Breakdown Workflow
1. Gap Analysis
- Read
docs/backend-business-logic-vi.md.
- Check
internal/module/ implementation.
- Identify: "Spec requires feature X, but module Y only has Z".
2. Issue Generation (gh CLI ready)
Draft issues in Vietnamese as requested for clarity in the board:
Example Issue Title: [inventory] Triển khai quy tắc BR-K03 Bảo toàn diện tích
Example Issue Body:
## Tóm tắt
Hiện tại module Inventory chưa kiểm tra ràng buộc diện tích khi báo cáo kết quả cắt. Cần implement logic check BR-K03.
## Quy tắc nghiệp vụ (Business Rules)
- BR-K03: Tổng diện tích thành phẩm + diện tích tấm lẻ + diện tích phế liệu <= diện tích tấm gốc.
## Định nghĩa hoàn thành (DoD)
- [ ] Cập nhật service.go hàm RecordCut để kiểm tra tổng diện tích.
- [ ] Trả về lỗi ErrAreaConservation (422) nếu vi phạm.
- [ ] Thêm unit test cho trường hợp vi phạm diện tích.
3. Execution
When approved, use the tool:
gh issue create --title "[inventory] Triển khai quy tắc BR-K03 Bảo toàn diện tích" --body "..."
Agent Tip: Always check current gh issue list before proposing new tasks to avoid duplicates.