Skill: Web Performance Auditing
by Cloudflare
Audit Core Web Vitals with real measurements via Chrome DevTools — then fix what the numbers actually point to.
Addy Osmani's measure-first performance workflow for coding agents: Core Web Vitals targets, bottleneck diagnosis across frontend and backend, keep-or-revert verification and regression guards.
Performance Optimization is one of the skills in Addy Osmani's agent-skills collection. Its rule is that performance work without measurement is guessing, so it makes a coding agent profile first, find the real bottleneck, change one thing and measure again, rather than sprinkling memoisation and caching across a codebase.
It sets Core Web Vitals targets (LCP at or under 2.5 s, INP at or under 200 ms, CLS at or under 0.1) and walks through a five-step workflow. Measure: establish a baseline with the right tool for the layer. Identify: symptom-to-cause tables for the frontend (slow LCP, layout shift, poor INP, heavy bundles) and the backend (N+1 queries, missing indexes, memory growth, CPU spikes, missing caching). Fix: address that bottleneck only. Verify: compare against the baseline and keep the change only if it clears the threshold with tests green; a change within noise, a regression or a win that breaks a test is reverted. Every attempt, reverted ones included, is logged with its numbers. Guard: add bundle-size checks and Lighthouse CI so the gain is not lost later.
Use it when a page or endpoint is slow, when a regression is suspected, when Core Web Vitals need to improve, or when a feature has explicit performance requirements. It closes with common rationalisations ("we'll optimise later", "it's fast on my machine") and red flags. MIT-licensed.
Once installed, ask your agent something like:
The dashboard's INP is 240 ms on mid-range phones. Find the bottleneck and fix it, with before and after numbers.
The instructions your agent loads, as published by Addy Osmani.
by Cloudflare
Audit Core Web Vitals with real measurements via Chrome DevTools — then fix what the numbers actually point to.
by Vercel
Vercel's official optimization skill: collects real production metrics first, then returns ranked, citation-checked cost and performance fixes.
The Chrome team's skill that makes coding agents look up current web-platform best practices (dialogs, container queries, view transitions, forms, Core Web Vitals) before writing HTML, CSS or client JS.
by Matt Pocock
Matt Pocock's discipline for hard bugs and performance regressions: build a tight, red-capable feedback loop first, then reproduce, minimise, hypothesise, instrument, fix with a regression test and clean up.