Install
~/.claude/skills/lighthouse/SKILL.mdRun Lighthouse performance audit: 1. If $ARGUMENTS is a URL, audit that URL 2. If no URL, start local dev server and audit localhost 3. Run: `npx lighthouse $URL --output=json --chrome-flags="--headless"` 4. Parse scores: Performance, Accessibility, Best Practices, SEO 5. Flag any score below 90 6. List top 5 improvement opportunities with estimated savings Show results as a scorecard with color indicators.
Definition
Run Lighthouse performance audit:
- If $ARGUMENTS is a URL, audit that URL
- If no URL, start local dev server and audit localhost
- Run:
npx lighthouse $URL --output=json --chrome-flags="--headless" - Parse scores: Performance, Accessibility, Best Practices, SEO
- Flag any score below 90
- List top 5 improvement opportunities with estimated savings
Show results as a scorecard with color indicators.