
Core Web Vitals Tuner
This is the skill you reach for when your PageSpeed scores are tanking and you need a systematic fix. It walks through the big three Core Web Vitals with prioritized solutions: responsive images with fetchpriority for LCP, debouncing and Web Workers for INP, and aspect ratios to prevent layout shift for CLS. The code snippets are practical and ready to adapt, covering everything from preload hints to Lighthouse CI verification. What's useful here is the prioritization, it starts with the highest impact fixes first rather than making you guess. Good for when you're staring at red metrics and need a battle tested checklist to work through.
- skills.sh installs
- 319
- GitHub stars
- 63
- last updated
- Aug 21, 2026
Install
$ npx -y skills add patricio0312rev/skills --skill core-web-vitals-tuner --agent claude-codeInstalls into .claude/skills of the current project.
Files
Core Web Vitals Tuner
Improve LCP, INP, and CLS systematically.
LCP Optimization (<2.5s)
Prioritized Fixes:
-
Optimize images (Biggest impact)
<!-- Before --> <img src="hero.jpg" /> <!-- After --> <img src="hero.jpg" srcset="hero-400.webp 400w, hero-800.webp 800w, hero-1200.webp 1200w" sizes="(max-width: 600px) 400px, (max-width: 1200px) 800px, 1200px" loading="eager" fetchpriority="high" /> -
Preload LCP resource
<link rel="preload" as="image" href="/hero.webp" fetchpriority="high" /> -
Inline critical CSS
<style> /* Above-the-fold styles */ .hero { display: flex; height: 100vh; } </style> -
Use CDN
- Serve images from CloudFront/Cloudflare
- Enable HTTP/2 or HTTP/3
INP Optimization (<200ms)
Fixes:
-
Debounce expensive interactions
import { debounce } from "lodash"; const handleSearch = debounce((query) => { fetchResults(query); }, 300); -
Use Web Workers for heavy tasks
Sponsors
Details
- Repository
- github.com/patricio0312rev/skills
- Categories
- Frontend Development, Debugging, Marketing & SEO, Design & UI/UX
- First seen
- Jun 3, 2026
More from patricio0312rev/skills
All 138- Secure Headers Csp Builder318
- Tailwind Gradient Builder318
- Frontend Refactor Planner317
- Openapi Generator316
- Api Test Suite Generator314
- Prisma Migration Assistant313
- Cypress Playwright Setup309
- Curl Command Generator308
- Page Layout Builder308
- Readme Generator307
- Vscode Workspace Setup307
- Data Integrity Auditor302
- Api Mock Server297
- Guardrails Safety Filter Builder295
- Queue Job Processor295
- Sql Query Optimizer293
- Dependency Vulnerability Triage292
- Backup Restore Runbook Generator291
- Rfc Generator291
- Cors Configuration290
- Api Contract Normalizer289
- Event Driven Architect289
- Table Builder289
- Modal Drawer System288