User Story Writing (INVEST)
DeliveryViết user story theo nguyên tắc INVEST: Independent, Negotiable, Valuable, Estimable, Small, Testable.
Đăng nhập để đánh dấu kỹ năng và theo dõi tiến độ.
Roadmap — Cách học và đạt kỹ năng
Format story
As a [persona / role] I want [capability / action] So that [outcome / value]
Ví dụ: "As a Shopee buyer at checkout, I want to apply multiple voucher codes, so that I can stack discount and reduce final price."
INVEST criteria
- Independent — không depend thứ tự với story khác trong sprint.
- Negotiable — đủ context để discuss, không phải spec đóng.
- Valuable — có outcome rõ cho user hoặc business.
- Estimable — team có thể size được.
- Small — fit 1 sprint, ideal <3 ngày dev.
- Testable — có acceptance criteria.
Story splitting techniques
- Workflow steps — split theo bước (checkout = browse, add cart, payment, confirm).
- Business rules — split theo rule variation (FREE ship cho đơn >500k, voucher %, voucher fixed).
- Happy path / unhappy path — ship happy path trước, edge case sau.
- Data variation — split theo loại entity (B2C vs B2B order).
- CRUD — split create / read / update / delete.
Story KHÔNG nên viết
- "As a developer, I want to refactor X" — đây là tech task, không phải user story.
- "As a user, I want a button" — không có value statement.
- Story dài 3 sprint — chưa split đủ.
Common pitfalls
- Persona "as a user" — quá generic. Nên cụ thể: "as a first-time buyer with cart <200k".
- Outcome chỉ là restate action: "so that I can apply voucher" — vô nghĩa.
Roadmap keyword coverage - các wording trên roadmap nghĩa là gì?
Roadmap dùng User Stories như skill foundation. Trang này cần phân biệt story tốt với task kỹ thuật hoặc request mơ hồ.
| Roadmap wording | Ý nghĩa khi học skill này | Artifact / evidence | Bài tập thực hành |
|---|---|---|---|
| Viết User Stories | Viết nhu cầu từ góc nhìn actor và outcome: As a, I want, so that. | User story + acceptance criteria | Viết 5 stories từ một feature request, mỗi story có user value. |
| User stories | Backlog item đủ nhỏ, independent, negotiable, valuable, estimable, small, testable theo INVEST. | Backlog stories đạt INVEST | Review 5 stories và chỉ ra story nào quá lớn hoặc không testable. |
Thảo luận & tài liệu thêm 0
Chia sẻ kinh nghiệm, đặt câu hỏi, hoặc đính kèm tài liệu/YouTube giúp người khác học kỹ năng này.