
This is your systematic approach to finding and fixing performance problems. It walks you through the measure-identify-fix-validate cycle with clear tool recommendations for each scenario: Lighthouse for page loads, bundle analyzer for bloat, DevTools Performance for runtime issues. The Core Web Vitals targets and bottleneck symptom table are solid quick references. What I appreciate here is the anti-pattern section reminding you to profile before optimizing, because guessing wastes more time than the performance gains you're chasing. Includes a Lighthouse audit script you can run directly.
$ npx -y skills add vudovn/antigravity-kit --skill performance-profiling --agent claude-codeInstalls into .claude/skills of the current project.
Measure, analyze, optimize - in that order.
Execute these for automated profiling:
| Script | Purpose | Usage |
|---|---|---|
scripts/lighthouse_audit.py | Lighthouse performance audit | python scripts/lighthouse_audit.py https://example.com |
| Metric | Good | Poor | Measures |
|---|---|---|---|
| LCP | < 2.5s | > 4.0s | Loading |
| INP | < 200ms | > 500ms | Interactivity |
| CLS | < 0.1 | > 0.25 | Stability |
| Stage | Tool |
|---|---|
| Development | Local Lighthouse |
| CI/CD | Lighthouse CI |
| Production | RUM (Real User Monitoring) |
1. BASELINE β Measure current state
2. IDENTIFY β Find the bottleneck
3. FIX β Make targeted change
4. VALIDATE β Confirm improvement
| Problem | Tool |
|---|---|
| Page load | Lighthouse |
| Bundle size | Bundle analyzer |
| Runtime | DevTools Performance |
| Memory | DevTools Memory |
| Network | DevTools Network |
Sponsors