Skip to content
secondsky avatar

Web Performance Audit

Structured web performance audit covering Core Web Vitals targets, Lighthouse automation, and tiered optimization guidance.

CCM score
50 of 100
skills.sh installs
563
GitHub stars
257
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Core Web Vitals measurement against LCP, FID, CLS, and INP thresholds, plus a baseline audit checklist
  • Includes a web-vitals reporting snippet, a headless Lighthouse runner limited to the performance category, and a JSON performance budget
  • Groups optimization strategies into quick wins, medium-effort changes, and long-term architecture work with rough time estimates
  • Designed for teams diagnosing slow page loads, render-blocking resources, and layout shifts before setting monitoring alerts

Install

$ npx -y skills add secondsky/claude-skills --skill web-performance-audit -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Web Performance Audit

Conduct comprehensive performance audits and implement optimizations.

Core Web Vitals Targets

MetricGoodNeeds ImprovementPoor
LCP (Largest Contentful Paint)<2.5s2.5-4s>4s
FID (First Input Delay)<100ms100-300ms>300ms
CLS (Cumulative Layout Shift)<0.10.1-0.25>0.25
INP (Interaction to Next Paint)<200ms200-500ms>500ms

Performance Measurement

// Using web-vitals library
import { getCLS, getFID, getLCP, getTTFB } from 'web-vitals';

function sendToAnalytics({ name, value, id }) {
  console.log({ name, value, id });
}

getCLS(sendToAnalytics);
getFID(sendToAnalytics);
getLCP(sendToAnalytics);
getTTFB(sendToAnalytics);

Lighthouse Automation

const lighthouse = require('lighthouse');
const chromeLauncher = require('chrome-launcher');

async function runAudit(url) {
  const chrome = await chromeLauncher.launch({ chromeFlags: ['--headless'] });
  const result = await lighthouse(url, {
    port: chrome.port,
    onlyCategories: ['performance']
  });

  await chrome.kill();
  return result.lhr;
}

Details

Repository
github.com/secondsky/claude-skills
Categories
Frontend & UI Code, Marketing, SEO & Ads
First seen
Jun 3, 2026

Questions

What does the web-performance-audit skill do?

The web-performance-audit skill runs web performance audits built around Core Web Vitals, LCP, FID, CLS and INP. It helps identify bottlenecks, recommends optimizations for page load times, and covers quick wins, medium-effort fixes and long-term architecture changes.

How do I install the web-performance-audit skill?

Run npx -y skills add secondsky/claude-skills --skill web-performance-audit -y in your project. That command installs the web-performance-audit skill so your coding agent can use it.

Which Core Web Vitals targets does web-performance-audit use?

The web-performance-audit skill uses Good, Needs Improvement and Poor thresholds for LCP, FID, CLS and INP. For example, it treats LCP under 2.5 seconds as good and CLS under 0.1 as good.

Does web-performance-audit run Lighthouse automatically?

The web-performance-audit skill includes a Lighthouse automation example that launches headless Chrome and runs the performance category. It also provides a checklist for mobile and desktop audits, real user metrics and slow 3G testing.

Where does web-performance-audit fit among other frontend skills?

The web-performance-audit skill sits in the Frontend & UI Code category on Claude Marketplaces. Its focus is measuring and fixing page performance rather than styling or React patterns.

More from secondsky/claude-skills

All 116

Similar to Web Performance Audit

More Frontend & UI Code