Từ product brief đến schema và UI
Kết nối user flow, data model, procedure và component để tránh xây frontend rời backend. Output: Domain model + touch points + test/UX checklist.
Hãy chuyển product brief sau thành plan full-stack: [BRIEF]. Roles: [USER / ADMIN / ...]. Core entities: [DANH SÁCH]. 3 flows ưu tiên: [FLOW 1–3]. Permissions: [AI ĐƯỢC ĐỌC/GHI GÌ]. Business states: [DRAFT / ACTIVE / ...]. Success metric: [CHỈ SỐ]. Xuất theo thứ tự: A. Domain vocabulary và bảng entity/field tối thiểu. B. Database → helper → typed procedure → UI flow. C. Route/component map. D. Loading/empty/error/success state cho từng flow. E. Security và permission checks. F. Test cases theo happy path + failure path. Ưu tiên build vertical slice của flow số 1 trước; không thiết kế bảng hoặc màn hình không phục vụ flow.