PageSpeed Enhancer Skill
A structured, batch-wise audit-and-fix workflow for all four Lighthouse pillars. Always follow the batch flow in order. Never jump straight to fixes without completing the scan and risk assessment phases.
Detailed Guide
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
When to Use This Skill
- User pastes a PageSpeed Insights report or mentions Lighthouse scores
- User asks to improve Core Web Vitals (LCP, FCP, CLS, TBT, SI)
- User needs help with render-blocking resources, unused JavaScript, image optimisation, security headers, ARIA compliance, or SEO meta-tag fixes
- User asks "why is my LCP slow", "fix accessibility issues", "improve my SEO score", or "my site scores 80 on performance"
- Any mention of PageSpeed, Lighthouse, Web Vitals, or site speed
Examples
Example 1: User pastes a PageSpeed report
User: "My site scores 65 on Performance. LCP is 4.2s."
Agent:
- Parses the score summary table — identifies LCP as critical bottleneck
- Runs Batch A scan — finds lazy-loaded hero image and render-blocking CSS
- Outputs risk report: F1.1 (CSS @import → link) ranked P1, F1.5 (LCP image eager) ranked P1
- Applies Fix Batch 1, verifies with re-test
Example 2: User asks about slow LCP
User: "Why is my LCP slow?"
Agent:
- Asks for a PageSpeed report URL or pasted results
- Runs LCP-specific audit from Batch A — checks TTFB, element render delay, lazy loading
- Identifies the LCP element, its current loading strategy, and the critical path chain
- Recommends targeted fix (preload, eager loading, or server response time improvement)
Limitations
- Does not run actual Lighthouse or PageSpeed tests — the user must provide the report or URL
- Security header recommendations assume the user controls the deployment platform (Netlify, Vercel, etc.)
- Fixes are general patterns; exact file paths and config syntax may vary by project setup
- Does not cover server-level optimisations (CDN config, PHP opcode caching, database queries, etc.)
- Image conversion commands assume the user has the required tools installed (cwebp, sharp, Pillow)
- CSP guidance uses a report-only iterative approach — the final policy must be tuned to each project's actual resource origins
1---2name: pagespeed-enhancer3description: "Scan, audit, and fix web performance issues across all four Lighthouse/PageSpeed Insights pillars — Performance, Accessibility, Best Practices, and SEO — in structured batches."4risk: safe5source: personal6date_added: "2026-06-14"7author: WHOISABHISHEKADHIKARI8metadata:9 source: https://skillmd.com/skills/francostino/pagespeed-enhancer10---1112# PageSpeed Enhancer Skill1314A structured, batch-wise audit-and-fix workflow for all four Lighthouse pillars. Always follow the batch flow in order. Never jump straight to fixes without completing the scan and risk assessment phases.1516---1718## Detailed Guide1920Read [the detailed guide](references/detailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.2122## When to Use This Skill2324- User pastes a PageSpeed Insights report or mentions Lighthouse scores25- User asks to improve Core Web Vitals (LCP, FCP, CLS, TBT, SI)26- User needs help with render-blocking resources, unused JavaScript, image optimisation, security headers, ARIA compliance, or SEO meta-tag fixes27- User asks "why is my LCP slow", "fix accessibility issues", "improve my SEO score", or "my site scores 80 on performance"28- Any mention of PageSpeed, Lighthouse, Web Vitals, or site speed2930---3132## Examples3334### Example 1: User pastes a PageSpeed report3536**User:** "My site scores 65 on Performance. LCP is 4.2s."3738**Agent:**391. Parses the score summary table — identifies LCP as critical bottleneck402. Runs Batch A scan — finds lazy-loaded hero image and render-blocking CSS413. Outputs risk report: F1.1 (CSS @import → link) ranked P1, F1.5 (LCP image eager) ranked P1424. Applies Fix Batch 1, verifies with re-test4344### Example 2: User asks about slow LCP4546**User:** "Why is my LCP slow?"4748**Agent:**491. Asks for a PageSpeed report URL or pasted results502. Runs LCP-specific audit from Batch A — checks TTFB, element render delay, lazy loading513. Identifies the LCP element, its current loading strategy, and the critical path chain524. Recommends targeted fix (preload, eager loading, or server response time improvement)5354---5556## Limitations5758- Does not run actual Lighthouse or PageSpeed tests — the user must provide the report or URL59- Security header recommendations assume the user controls the deployment platform (Netlify, Vercel, etc.)60- Fixes are general patterns; exact file paths and config syntax may vary by project setup61- Does not cover server-level optimisations (CDN config, PHP opcode caching, database queries, etc.)62- Image conversion commands assume the user has the required tools installed (cwebp, sharp, Pillow)63- CSP guidance uses a report-only iterative approach — the final policy must be tuned to each project's actual resource origins6465---