Home / Web development / fix-layout-shift

fix-layout-shift

Find and fix every layout shift in an app — content that jumps when fonts, images, or data arrive, buttons that move right before you click them, text that changes…

Rising today

What the author says it does

Find and fix every layout shift in an app — content that jumps when fonts, images, or data arrive, buttons that move right before you click them, text that changes width when a number updates, and shifts that happen after interaction, not just on load. Loads every page on a slow connection with the cache disabled at mobile and desktop widths, records each shift with the elements that moved, fixes the cause instead of the symptom, and records a before/after video of every fix. Use when asked to find, audit, or fix layout shift, CLS, jumping or jumpy content, janky loading, "the button moved whe

Install fix-layout-shift

# Mac or Linux
unzip fix-layout-shift.zip -d ~/.claude/skills

# Windows PowerShell
Expand-Archive fix-layout-shift.zip "$env:USERPROFILE\.claude\skills"

Start a new Claude Code session and the skill is ready. In the Claude app, upload the zip under Settings, Capabilities, Skills.

Scripts and network

The zip holds 1 scripts, such as scripts/shifts.cjs. None of them reach the internet.

What is in the zip

  • CATALOG.md
  • LICENSE
  • SKILL.md
  • Untitled
  • scripts/

More Web development skills