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.
More from coding & agent
- LoRA tune cuts Inkling 2 Mini agent time 33% and output tokens 38% in Hermes Agent — Teknium · 2026-12-02
- CI Benchmark Heatmap Shows Most Providers Easily Beat GitHub-Hosted Runners — DanielLockyer · 2026-12-02
- steipete on 18 months with agents: the bottleneck is self-control, not the tech — Pseudomanifold · 2026-12-02
- DIY agent setup: OpenClaw + Reolink camera + Echo voice to keep the dog off the table — zakkohane · 2026-12-02
- One prompt rewrote 24 Dockerfiles, cutting build times by 76% (76.8→18.1 min) — DanielLockyer · 2026-12-02
- WhiteCircle runs largest post-training competition ever: $5M compute, 14 backers incl. OpenAI — rohanpaul_ai · 2026-12-02