Design Review — Kiểm tra chất lượng
Các công cụ review và đảm bảo chất lượng design: visual QA, web guidelines compliance, accessibility, performance./design-review là skill chính cho visual QA + auto-fix. Dùng sau khi implement UI components.Công cụ review
Design Review Skills
/design-review — Visual QA + auto-fix
/design-review — Visual QA + auto-fix
Prefix: Workflow:
/design-reviewIterative visual QA. Screenshot before/after, fix commits atomic.- Screenshot current UI
- Identify visual issues
- Propose fixes
- Apply fixes (atomic commits)
- Screenshot + compare after/before
- After implement UI components
- Visual QA trước release
- Auto-fix layout/color/spacing issues
- Ensure responsive design
/plan-design-review — Design review by persona
/plan-design-review — Design review by persona
Prefix: Personas:
/plan-design-reviewOrchestrate design review theo persona (CEO, engineer, designer, DevX)./plan-ceo-review— Business + brand perspective/plan-eng-review— Technical + performance review/plan-design-review— Design + UX review/plan-devex-review— Developer experience
- Get multi-perspective design feedback
- Structured review before merge
- Different personas, different criteria
Web Design Guidelines
Skillweb-design-guidelines review UI code theo best practices:
Trigger khi nói:
- “Review my UI”, “check accessibility”
- “Audit design”, “review UX”
- “Check my site against best practices”
- Semantic HTML structure
- Color contrast ratios
- Touch target sizes
- Keyboard navigation
- Focus management
- Responsive breakpoints
- Loading states
- Error states
Accessibility Checklist
1
Semantic HTML
- Dùng đúng heading hierarchy (h1 → h2 → h3)
- Dùng
<button>cho interactive elements (không dùng<div onClick>) - Dùng
<nav>,<main>,<aside>cho landmarks - Images có
alttext mô tả
2
Keyboard Navigation
- Tất cả interactive elements có thể Tab đến
- Focus visible rõ ràng (outline)
- Modal trap focus bên trong
- Escape để đóng modal/dropdown
3
Color & Contrast
- Text contrast ratio ≥ 4.5:1 (AA normal text)
- Large text contrast ≥ 3:1
- Không dùng color alone để truyền thông tin
- Dark mode đảm bảo contrast
4
ARIA
aria-labelcho icon-only buttonsaria-expandedcho accordion/dropdownrole="alert"cho error messagesaria-livecho dynamic content
Chrome DevTools — Lighthouse Audit
Dùng Chrome DevTools MCP để chạy Lighthouse audit:
Cách chạy:
- Navigate đến trang cần audit
- Dùng
lighthouse_audittool từ Chrome DevTools MCP - Review kết quả, fix issues
Quy trình design review
1
Visual QA + auto-fix
2
Web guidelines review
Dùng
web-design-guidelines skill để review code UI theo best practices.3
Multi-persona review
4
Accessibility scan
5
Lighthouse audit
Dùng Chrome DevTools MCP →
lighthouse_audit cho performance + a11y score.6
Cross-browser
Test trên Chrome, Firefox, Safari. Dùng responsive mode cho mobile.
Chrome DevTools MCP — Sub-skills
Ngoài Lighthouse audit, Chrome DevTools MCP còn cung cấp 3 skills chuyên biệt:Debug Optimize LCP
Skillchrome-devtools-mcp:debug-optimize-lcp — hướng dẫn debug và tối ưu Largest Contentful Paint:
A11y Debugging
Skillchrome-devtools-mcp:a11y-debugging — accessibility debugging theo web.dev guidelines:
Troubleshooting
Skillchrome-devtools-mcp:troubleshooting — troubleshoot connection và target issues:
Best practice: Chạy accessibility review trong lúc code (không chờ đến cuối sprint).
Dùng
web-design-guidelines skill sau mỗi component mới.