Azqato's Prompts

Mobile Audit

Claude Code Prompt

Runs a full mobile-friendliness and responsive-design pass across an entire site. Checks every page at a fixed set of widths (375px through 1920px) for horizontal overflow, container overflow, unwrapped toolbars, modal sizing, and clipped text. It also targets four specific CSS bug patterns that are common and easy to miss: the overflow shorthand silently canceling an overflow-x setting, bare 1fr grid tracks forcing page-level overflow from wide content, flexbox children ignoring their flex parent's width because of the default min-width: auto, and doubled spacing when margin stacks with a flex/grid gap.

Verification is done by injecting a debug script that reads scrollWidth/clientWidth and element bounding rectangles, not by eyeballing screenshots, since headless browsers enforce a minimum viewport width that makes narrow screenshots unreliable. Any fix that changes how content is presented (not a pure CSS correctness fix) is flagged for a design decision before implementation. The prompt ends with updating the project's existing changelog and planning docs with the root cause and fix, following whatever documentation conventions the project already has.