Skip to content
Back to skills

Web Performance

ASecurity

Improve Core Web Vitals (LCP, INP, CLS) with measurement first: field data, bundles, images, fonts and rendering

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentsjavascriptjavafrontendperformance

Works with

  • cli

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill web-performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Web Performance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Web Performance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-web-performance/badge)](https://www.skillsdirectory.com/skills/ansh44233-web-performance)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Improve Core Web Vitals (LCP, INP, CLS) with measurement first: field data, bundles, images, fonts and rendering
profile: standard
tags: frontend, performance, web
---

# 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.