web-performance-audit
Installation
SKILL.md
Web Performance Audit
Overview
Tie every fix to the metric it moves. Find the few causes that dominate load time and interaction delay, show where they are in the code, and estimate the gain.
Method
- Measure if possible. With a URL: run
npx lighthouse <url> --only-categories=performance --output=json --quietor use PageSpeed Insights. Record LCP, INP (or TBT), CLS and total JS. Without a URL, audit the code and say that numbers are estimates. - Find the LCP element (usually the hero image or heading) and trace what delays it: server time, render-blocking CSS/fonts/scripts, image size and priority.
- Sweep the code with checklist.md: images, fonts, JavaScript weight, third parties, rendering, data fetching, caching.
- Rank by impact on the failing metric, then by effort.
- Report using the contract below.