A prompt to kill layout shift: have AI crawl your app on slow networks and fix every jump

csuwildcat · x · 2026-12-02

Designer emilkowalski shares a reusable prompt that makes an AI audit your app for layout shift: load every page on a slow connection with cache disabled at mobile and desktop widths, record every shift (fonts/images/data causing jumps, buttons moving before clicks), then click through main flows to catch post-interaction shifts. The prompt instructs fixing causes, not symptoms — reserve space, set dimensions, use tabular numbers, keep skeletons content-sized — and requires before/after videos plus a change log.

Original post →

More from coding & agent

coding & agent channel →