⚡AgentSkills
🎨 Frontend Engineering · Web Performance

Fix Core Web Vitals regressions systematically

Diagnose LCP, INP, and CLS from field data and apply targeted fixes per metric rather than guessing.

advanced~45 minFrontend EngineersFull-Stack DevelopersDesign Engineers

Steps

  1. 1Pull field data (RUM) first; lab scores only reproduce what field data flags
  2. 2For LCP: preload the hero asset, fix server TTFB, defer everything competing
  3. 3For INP: break long tasks, debounce handlers, move work off main thread
  4. 4For CLS: reserve dimensions for media, fonts, and late banners
  5. 5Set per-template budgets in CI; fail builds on regression beyond 10%
  6. 6Re-check after every third-party script change — they are the usual suspects

Common Pitfalls

  • ▲Optimizing lab LCP while field users on 3G suffer
  • ▲A/B analytics snippets injected without async strategy

Success Signals

  • ✓LCP p75 under 2.5s on 4G
  • ✓CLS under 0.05 on top templates

Commands

Install with skills CLI
$ npx skills add aniruddhaadak80/skills --skill web-performance-core-web-vitals
Install globally
$ npx skills add aniruddhaadak80/skills --skill web-performance-core-web-vitals -g

Tags

#performance#seo#vitals#frontend-engineering#web-performance

Related skills

Modern formats, responsive sizes, lazy strategies, and priority hints for above-fold heroes.

🎨 Frontend Engineering·~25m

Analyze, split, and replace dependencies so routes ship only the code they execute.

🎨 Frontend Engineering·~35m