| name | performance-audit |
| description | Run Lighthouse audit and verify Core Web Vitals. Use at project end before release. Triggers on "performance", "Lighthouse", "Core Web Vitals", "speed test", "page speed". |
Performance Audit
Verify website performance meets Core Web Vitals standards.
Core Web Vitals Targets
| Metric | Target | What it measures |
|---|
| LCP | < 2.5s | Largest Contentful Paint (loading) |
| FID | < 100ms | First Input Delay (interactivity) |
| CLS | < 0.1 | Cumulative Layout Shift (stability) |
Audit Process
1. Run Lighthouse
npx lighthouse https://localhost:3000 --view
2. Check Results
Target Scores:
- Performance: > 90
- Accessibility: > 90
- Best Practices: > 90
- SEO: > 90
3. Common Issues & Fixes
LCP Issues:
CLS Issues:
FID Issues:
Checklist
Images:
Fonts:
JavaScript:
General: