When a sub-agent tool is available and permitted, run these independently; otherwise run them yourself in this order.
Layout assessment: inspect representative states and viewports. Answer every question below with rendered or source evidence:
Reading order: Apply the squint test. With detail blurred, can you still identify the primary element, the secondary element, and the major groups in order?
Grouping: Are related items close and distinct groups separated, or are containers compensating for weak proximity?
Rhythm: Do tight and generous intervals create a deliberate cadence, or is one spacing value repeated until everything has equal weight?
Structure: Does the topology match the content and task? Are repeated cards, columns, or sections genuinely equivalent, or merely a framework default?
Density: Does the amount of information per region fit use frequency, decision complexity, and visitor mode?
Adaptation: At narrow, intermediate, wide, zoomed, and localized states, what reorders, collapses, wraps, scrolls, or remains fixed? Does DOM and focus order still agree with the visual order?
Extremes: Do long content, empty states, overlays, sticky elements, safe areas, and small touch targets expose structural failures?
Mechanical scan: run:
bash
"<skill-base-dir>/scripts/impeccable" detect --json --scope layout [target files or dirs]
Also inspect arbitrary spacing, overflow, stacking, and container behavior the detector cannot resolve. Keep mechanical evidence out of the first assessment, then synthesize both passes before editing. A clean scan cannot prove hierarchy or rhythm.
how the structure changes across containers, viewports, input modes, and content extremes.
Choose the simplest structural model that expresses those relationships. Use layout primitives according to the relationships they control, and name reusable spacing and container roles semantically.