--- name: "Responsive UI Audit" description: "Audits frontend layouts across mobile, tablet, and desktop viewports to prevent element overlap and overflow." --- # Skill: Responsive UI Audit ## 1. Purpose Ensure visual correctness and responsive layout parity across multiple screen sizes. ## 2. When to Use During testing phase of any frontend UI or styling change. ## 3. Preconditions * Browser subagent tools are active and dev server is running. ## 4. Step-by-Step Checklist 1. Instruct browser to load the page. 2. Test layout at standard breakpoints: - **Mobile (375px)**: Check for horizontal scrolls, text cutoffs, or table overflow. - **Tablet (768px)**: Verify card alignment, navigation bar collapses, and grid sizing. - **Desktop (1200px+)**: Check maximum bounds, spacing, and image resolutions. 3. Capture screenshots at each breakpoint. 4. Record any element overlaps or container breaks. 5. Fix issues and re-run the audit.