layout-reviewlisted
Install: claude install-skill SilviaAre95/wayworks
# Layout Review
Review layout and responsive behavior for: **$ARGUMENTS** (breakpoint focus defaults to all)
## Steps
1. **Analyze visual hierarchy**:
- Is the most important content visually prominent?
- Do headings follow a logical h1 → h2 → h3 hierarchy?
- Is there a clear primary action on each screen, with secondary actions visually subordinate?
2. **Check spacing and alignment**:
- Spacing consistent with the Tailwind scale (4, 8, 12, 16, 24, 32, 48, 64)?
- Related elements grouped tighter; unrelated sections separated wider; vertical rhythm maintained
- Consistent grid; left-aligned body text; top-aligned form labels; icons on text baselines
3. **Check responsive behavior (mobile-first)**:
- Base styles are the mobile layout; `sm:`/`md:`/`lg:`/`xl:` add complexity upward — flag desktop-first patterns (e.g. `flex-row` base with `max-sm:flex-col`)
- Build a breakpoint matrix for each layout-affecting component (nav, grids, sidebars): behavior at base/sm/md/lg/xl
- Common failures: horizontal overflow on mobile, fixed image dimensions (`w-[500px]` → `w-full max-w-lg`), wide tables without `overflow-x-auto`, modals not full-screen on mobile, missing mobile nav
4. **Check touch targets and containers**:
- Interactive elements ≥ 44×44px on mobile with adequate spacing; hover-only interactions have touch alternatives
- `max-w-*` on main content; `px-4` / `container mx-auto` horizontal padding; no uncomfortable stretch on ultra-wide
5. *