layout-audit · git:20260902.f0e063c · 2026-09-02 · sha256 9c4633c9654c1e60

layout-audit git:20260902.f0e063cA

Immutable. This exact content is served forever at /api/v1/blob/9c4633c9654c1e60.

---
name: layout-audit
description: Layout and spacing audit covering grid, spacing consistency, density, and responsive behavior. Use when the user asks to audit the layout, run a layout audit or grid audit, review spacing, or fix their spacing.
---

# /layout-audit: Layout and Spacing Audit

Focused audit of layout, spacing, grid, and responsive design.

## Flow

1. Extract spacing values with `uiux_extract_spacing`
2. Detect spacing scale and base unit
3. Evaluate grid system, density, whitespace
4. Check responsive breakpoints and container widths
5. Generate spacing scale with `uiux_generate_spacing_scale`
6. Output recommendations

## Output

- Spacing analysis (unique values, consistency score, off-grid values)
- Grid system detection
- Density assessment
- Breakpoint analysis
- Recommended spacing scale
- Container width recommendations