Skill

Audit and Fix Lighthouse Performance Issues in Batches

5-phase Lighthouse audit skill covering Performance, Accessibility, Best Practices, and SEO with a risk-ranked fix batch order.

Works with lighthousepagespeednetlifyvercel

87
Spark score
out of 100
Updated last month
Version 13.4.0

Add to Favorites

Why it matters

Systematically diagnose and resolve website performance, accessibility, security, and SEO issues identified in PageSpeed Insights reports by running structured batch audits across all four Lighthouse pillars and applying fixes in risk-prioritized order.

Outcomes

What it gets done

01

Parse PageSpeed Insights reports and identify critical bottlenecks across Performance, Accessibility, Best Practices, and SEO pillars

02

Audit render-blocking resources, unused JavaScript, image optimization, LCP delays, and Core Web Vitals metrics

03

Scan security headers (CSP, HSTS, COOP) across deployment platforms like Netlify and Vercel configuration files

04

Generate risk-ranked fix recommendations with impact estimates and apply changes in safe low-to-high risk order

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/ag-pagespeed-enhancer | bash

Overview

PageSpeed Enhancer Skill

A 5-phase Lighthouse audit-and-fix skill covering Performance, Accessibility, Best Practices, and SEO, producing a risk-ranked fix plan applied in safe low-to-high-risk order. Use it whenever a real PageSpeed Insights or Lighthouse report is available; it never jumps to fixes before completing the scan and risk-ranking phases.

What it does

PageSpeed Enhancer is a structured, batch-wise audit-and-fix workflow for all four Lighthouse pillars, following a strict five-phase order: ingest and parse scores, batch scan all four sections in parallel, produce a consolidated risk report ranking changes by impact vs risk, apply fix batches in safe order (low-risk before high-risk), then a verification checklist. It never jumps straight to fixes without completing the scan and risk assessment phases first.

When to use - and when NOT to

Use it when a user pastes a PageSpeed Insights report or mentions Lighthouse scores, asks to improve Core Web Vitals (LCP, FCP, CLS, TBT, SI), needs help with render-blocking resources, unused JavaScript, image optimization, security headers, ARIA compliance, or SEO meta tags, or asks why LCP is slow or how to fix an accessibility/SEO score.

Inputs and outputs

Phase 1 extracts the four pillar scores (Performance, Accessibility, Best Practices, SEO), each flagged metric with its value and Lighthouse weight, and identifies the single critical-path bottleneck, output as a Score Summary Table. Phase 2 runs four parallel batch scans: Performance (LCP breakdown checking TTFB and render delay, render-blocking resources, CSS @import rules which are 2x render-blocking versus <link>, unused JavaScript percentage, network dependency chain, forced reflows, WebP/AVIF image delivery, Speed Index progressiveness, CLS culprits like missing width/height, long main-thread tasks over 50ms, and bundle sizes checking for any single JS chunk over 500KB gzipped), each finding recorded with root cause and fix category (Quick Win / Medium Effort / Refactor Required); Accessibility (ARIA correctness, WCAG AA color contrast, descriptive alt text, keyboard navigation, skip links, heading hierarchy, 44x44px touch targets, form labels, valid lang attribute, font-display: swap); Best Practices (security headers often unflagged by Lighthouse's score but critical - CSP, COOP, X-Frame-Options/frame-ancestors, HSTS with includeSubDomains+preload, Trusted Types, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, checking both netlify.toml and vercel.json when both exist since they use different syntax); and SEO (title tag length, meta description length, canonical tags, hreflang, robots.txt, JSON-LD structured data, alt attributes, descriptive link text, crawlability, and verifying SPA meta injection via View Page Source rather than DevTools Elements since react-helmet-async or Next.js Head-injected tags may not show in the DOM inspector).

Integrations

Each fix batch is applied in risk-ranked order, low-risk first, so early wins don't get blocked waiting on riskier refactors, and every change is checked against a final verification checklist before being considered complete.

Who it's for

Frontend developers and site owners working from a real PageSpeed Insights or Lighthouse report who want a structured, risk-aware fix plan across all four pillars instead of chasing individual audit warnings one at a time.

FAQ

Common questions

Discussion

Questions & comments ยท 0

Sign In Sign in to leave a comment.