web-performance-optimization

Diagnose and fix Core Web Vitals issues with Lighthouse audits.

1|Updated May 24, 2026
One-click install
npx skills add https://github.com/gavin100305/traffic --skill web-performance-optimization-gavin100305
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-performance-optimization
Source: https://github.com/gavin100305/traffic/tree/main/agents/.agents/skills/web-performance-optimization
Command: npx skills add https://github.com/gavin100305/traffic --skill web-performance-optimization-gavin100305

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps developers diagnose and fix slow page loads, poor runtime responsiveness, and Core Web Vitals regressions that hurt user experience, SEO, and conversions.

Core Features & Use Cases

  • Performance Measurement & Baselines: Establish starting points using Lighthouse audits, Core Web Vitals metrics (LCP/FID/CLS), bundle size checks, and waterfall analysis to pinpoint bottlenecks.
  • Targeted Optimization Planning: Identify high-impact issues such as large JavaScript bundles, render-blocking resources, unoptimized images, missing caching headers, and layout shift causes.
  • Optimization, Verification & Monitoring: Apply improvements like code splitting/lazy loading, modern image formats, caching strategy updates, and re-test with before/after Lighthouse plus (optionally) RUM monitoring.

Quick Start

Ask for a performance audit plan by saying: "Optimize our site for Core Web Vitals—analyze likely LCP, FID, CLS causes, propose a prioritized fix list, and explain how to verify improvements."

Frequently Asked Questions about web-performance-optimization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix slow LCP and high FID issues in a performance audit?

To fix slow LCP and high FID during a performance audit, identify root causes like render-blocking resources and main-thread blocking, then implement targeted fixes such as bundle optimization and lazy loading to improve Core Web Vitals.

What causes high CLS from layout shifts and how can I optimize it?

High CLS from layout shifts is optimized by identifying root causes during a performance audit and applying rendering path improvements. Verification is done via before/after Lighthouse audits and real-user monitoring.

What's the best way to reduce oversized assets and optimize images for Core Web Vitals?

The best way to optimize oversized assets and images for Core Web Vitals is applying modern image formats and lazy loading, then verifying improvements through before/after Lighthouse audits and waterfall analysis.

How do I reduce large JavaScript bundles causing render-blocking resources?

Reduce large JavaScript bundles and render-blocking resources by applying code splitting and lazy loading. Establish a baseline using bundle size checks, then verify improvements through before/after Lighthouse audits.

Can I use this to establish baselines using Lighthouse audits and waterfall analysis?

Yes, you can establish performance baselines using Lighthouse audits, Core Web Vitals metrics, bundle size checks, and waterfall analysis to pinpoint bottlenecks and measure before/after improvements accurately.

Do I need real-user monitoring to verify caching strategy updates and performance improvements?

Real-user monitoring is an optional step to verify caching strategy updates and performance improvements. You can verify results through before/after Lighthouse audits, with RUM providing ongoing validation.