Design lint
design_lintDetect rendered layout issues like off-grid spacing, parent overflow, overlapping siblings, wrapped headings, horizontal scroll, small tap targets, and empty containers; report findings as suggestions.
Instructions
Check rendered geometry for common layout problems: spacing off the grid (grid, default 4 px), children overflowing their parent, overlapping siblings, headings that wrap, horizontal scroll, tap targets smaller than 44 px, empty containers. With id only that element and its descendants are reported. Findings are suggestions: show them to the user (agent_say with id) and only fix what the user wants — do not silently override deliberate design choices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Limit findings to this element and its descendants. | |
| grid | No | Spacing grid in px (default 4). |