Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Web Performance?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/adityaaatiwari-web-performance)
---
name: web-performance
description: "Improve Core Web Vitals (LCP, INP, CLS) with measurement first: field data, bundles, images, fonts and rendering"
---
<!-- Generated by `anvil plugin build` from catalog/. Edit the catalog, not this file. -->
# Web performance
Use when pages feel slow or Core Web Vitals regress.
## Measure first
1. Check field data (CrUX, RUM) for LCP, INP and CLS at the 75th percentile, by page type and device.
2. Reproduce in a lab run (Lighthouse, WebPageTest) with mobile throttling, and record the baseline.
## LCP (loading)
- Find the LCP element. Make it discoverable in the HTML (no client-side rendering for it, no lazy-loading).
- Serve images in modern formats at the right size with `srcset`; preload or set `fetchpriority="high"` on the hero.
- Cut server response time: caching, CDN, streaming.
## INP (responsiveness)
- Find long tasks in the performance panel. Split work, defer non-urgent work, and move heavy computation off the main thread.
- Reduce JavaScript: code-split routes, remove unused dependencies, and check bundle analyzers.
## CLS (stability)
Reserve space for images, ads and embeds with width/height or `aspect-ratio`. Avoid inserting content above existing content, and use `font-display` with metric-matched fallbacks.
## Guard
Add a bundle-size budget and a Lighthouse CI check, so regressions fail the build.
## Verify
Before and after numbers from the same lab setup, then confirm in field data after release.