PRD — Product Requirements Document
Tạo PRD đầy đủ cho tính năng mới, bao gồm user stories, acceptance criteria, và technical requirements.Cú pháp
PRD bao gồm gì
1
Tổng quan
- Tên tính năng
- Mục tiêu
- Đối tượng sử dụng
- Phạm vi (in scope / out of scope)
2
User Stories
Format: “As a [role], I want to [action], so that [benefit]”
3
Acceptance Criteria
Format GIVEN/WHEN/THEN:
4
Technical Requirements
- API endpoints cần thiết
- Database schema changes
- Third-party integrations
- Performance requirements
5
UI/UX
- Wireframes hoặc mô tả UI
- User flow
- Responsive requirements
Output mẫu
PRD và QA
Sau khi PRD xong:- Dev dùng PRD để
/planvà/cook - QA dùng PRD để
/qa-full:accept(nghiệm thu theo PRD) - QA tạo test cases từ PRD với
/test-plan
Lưu ý
- Lưu PRD tại
docs/prd/FXX-ten-tinh-nang.md - Đặt tên theo feature code: F01, F02, F03…
- PRD là nguồn sự thật cho tất cả teams
- Cập nhật PRD khi requirements thay đổi
Related Skills
/docs-project:prd — Auto-generate PRD từ codebase
/docs-project:prd — Auto-generate PRD từ codebase
Prefix: Khi dùng: Khi có code nhưng cần PRD hoặc update PRD từ code thay đổi
/docs-project:prd <feature>Tự động tạo/update PRD từ codebase. Phân tích code → extract requirements → viết PRD./estimate — Ước lượng effort theo velocity
/estimate — Ước lượng effort theo velocity
Prefix: Khi dùng: Sau PRD để ước lượng timeline cho sprint planning
/estimate <feature>, /estimate --velocity <pts/week>Ước lượng story points dựa trên complexity, dependencies, risk. Calibrate theo team velocity.