Agent phân tích UX Flow
Dùng AI Agent để critique UX flow, phát hiện dead-ends, missing states, và usability issues trong flow design.
Vấn đề
Designer thường miss edge cases trong UX flow: empty states, error states, loading states, và dead-end paths. Review thủ công dễ bỏ sót, đặc biệt với flow phức tạp nhiều branching.
Kết quả mong đợi
Báo cáo critique chi tiết: danh sách screens có vấn đề, missing states map, dead-end paths, và recommendations cụ thể. Kèm priority ranking (P0/P1/P2).
Yêu cầu trước khi bắt đầu
- ☐ UX flow diagram (Figma, FigJam, hoặc text description)
- ☐ User personas và user stories
- ☐ AI tool hỗ trợ image analysis (GPT-4V, Claude) hoặc text description
Prompt Pack
System Prompt
You are a Senior UX Designer with 10+ years experience. You critique UX flows using Nielsen's Usability Heuristics. You always check: visibility of system status, error prevention, user control, consistency, and recognition over recall. You provide specific, actionable recommendations. Task Prompt
Critique this UX flow:
[DESCRIBE OR PASTE FLOW]
Analyze for:
1. Missing screen states (empty, loading, error, success, offline)
2. Dead-end paths (no back/escape route)
3. Cognitive load issues (too many choices, unclear hierarchy)
4. Accessibility concerns (color contrast, touch targets, screen reader)
5. Edge cases (first-time user, returning user, power user)
For each issue:
- Severity: P0 (blocker) / P1 (major) / P2 (nice-to-have)
- Screenshot/step reference
- Specific recommendation Guardrails
- Do NOT redesign the flow — only critique
- Reference specific screens/steps
- Be constructive, not just critical
- Consider mobile AND desktop
- Check consistency with platform guidelines (iOS HIG, Material Design) Workflow từng bước
Describe flow
Viết text description hoặc upload screenshot từng bước của UX flow.
Add context
Cho agent biết: platform (web/mobile), target users, và business context.
Run critique
Gửi prompt và đợi phân tích.
Map issues to flow
Sticky-note các P0/P1 issues lên Figma flow diagram.
Design fixes
Sửa flow theo recommendations, chạy lại agent để verify.
Demo Input / Output
📥 Input
📤 Output
## UX Flow Critique
### 🔴 P0 — Blockers
1. **Missing error state ở Payment step**: Khi thẻ bị reject, user thấy gì?
- Recommendation: Add inline error message + retry option
2. **No back button từ Confirmation**: User muốn sửa shipping info phải làm sao?
- Recommendation: Add 'Edit' links cho mỗi section trên Confirmation page
### 🟡 P1 — Major
3. **Empty cart state missing**: Nếu user access checkout với cart rỗng?
- Recommendation: Redirect về shop + 'Your cart is empty' message
4. **No loading indicator khi process payment**
- Recommendation: Add spinner + 'Processing...' + disable submit button Failure Cases & Cách Fix
Production Checklist
- ☐ Tất cả screens có 5 states: empty, loading, error, success, offline
- ☐ Không có dead-end path
- ☐ Back/escape route ở mọi step
- ☐ Error messages rõ ràng, actionable
- ☐ Touch targets ≥ 44pt
- ☐ Color contrast ratio ≥ 4.5:1
- ☐ Flow tested với 3 personas
Metrics theo dõi hiệu quả
| Metric | Target | Cách đo |
|---|---|---|
| Issues found pre-dev | > 15 issues / flow | Count critique items per analysis |
| P0 escape rate | 0 P0 found post-dev | Track P0 UX issues found in QA |
| Reviewer satisfaction | > 4/5 useful rating | Quick poll sau mỗi critique session |
Supporting Skill: Wireframe
Designer sử dụng wireframe không chỉ để check flow mà còn để phân tích sâu:
#### 1. Layout Analysis
- **Visual hierarchy**: H1 → H2 → Body text → Caption rõ ràng?
- **White space**: Đủ breathing room giữa các sections?
- **Grid alignment**: Tất cả elements align theo grid system?
#### 2. Interaction Mapping
- **Clickable areas**: Mọi interactive element có visual affordance?
- **Hover/Focus states**: Có feedback cho mỗi interaction?
- **Transition flows**: Chuyển trang smooth? Có loading skeleton?
#### 3. State Completeness Matrix
| Screen | Empty | Loading | Error | Success | Offline |
|--------|-------|---------|-------|---------|--------|
| Cart | ✅ | ✅ | ❌ | ✅ | ❌ |
#### 4. Usability Heuristics Check
- **Visibility of system status**: User luôn biết mình đang ở đâu?
- **Error prevention**: Có confirm dialog cho destructive actions?
- **Consistency**: Cùng action = cùng pattern across screens?
- **Recognition over recall**: Labels rõ ràng, không cần nhớ?
> Prompts:
> - 'Analyze this wireframe for visual hierarchy issues'
> - 'Create a state completeness matrix for all screens'
> - 'Check this wireframe against Nielsen's 10 heuristics'