| name | responsive-qa |
| description | Run a responsive QA pass on a FixNow page or component across desktop, tablet, and mobile Chrome viewports. Verifies no horizontal scroll, touch targets, Vietnamese diacritics, layout shifts, and Lighthouse mobile score. Use when user says "kiem tra responsive", "test trang X", "check tren mobile/tablet", "qa giao dien". |
responsive-qa
Kiem tra responsive cho FixNow tren 3 viewport Chrome: desktop, tablet, mobile.
Truoc khi chay
Hoi user:
- Trang nao can kiem tra? (URL day du hoac component path)
- Co bug cu the dang nghi khong? (de focus check)
Viewports chuan (Chrome DevTools)
| Profile | Viewport | Mau thiet bi |
|---|
| Mobile | 375 x 667 | iPhone SE |
| Tablet | 768 x 1024 | iPad Mini |
| Desktop | 1280 x 800 | MacBook 13" |
| Desktop large | 1920 x 1080 | Full HD |
Workflow
1. Khoi dong dev server
npm run dev
Mo Chrome -> F12 -> Toggle device toolbar (Ctrl+Shift+M).
2. Doi qua tung viewport va chay checklist
Bao user thuc hien tung viewport mot. KHONG bao "done" khi chua test du 3.
Checklist chung (cho moi viewport)
Layout
Tieng Viet
Performance
Checklist mobile (375px)
Checklist tablet (768px)
Checklist desktop (1280px+)
Checklist orientation
Checklist interaction
Lighthouse audit (optional but recommended)
Mobile audit:
- Performance >= 70 (acceptable cho dev).
- Accessibility >= 90.
- Best Practices >= 90.
- SEO >= 90.
Lenh CLI:
npx lighthouse http://localhost:3000/<path> --view --form-factor=mobile
Bao cao
Format output:
# Responsive QA -- <page name>
## Mobile (375px) -- PASSED / FAILED
- [ok / fail: path:line] item
## Tablet (768px) -- PASSED / FAILED
...
## Desktop (1280px) -- PASSED / FAILED
...
## Issues to fix
1. [priority] file:line -- mo ta + de xuat sua
## Needs user attention
- <thu can user verify thu cong>
Lien ket
- Loi UI tim duoc -> spawn agent fixnow-ui-builder de sua.
- Spec compliance -> spawn agent fixnow-spec-reviewer.
- Performance issues -> tham khao skill next-best-practices (image, font, bundling).
Toolkit
- Chrome DevTools Device Mode.
- Lighthouse mobile audit.
- React DevTools Profiler neu nghi render issue.
npx @next/bundle-analyzer neu bundle qua lon.