Skip to main content
skill

web-performance-optimization · davila7 — Claude Code skill: speed and Core Web

A Claude skill that walks through why a site loads slowly and fixes the bottlenecks step by step.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill web-development/web-performance-optimization
Open on GitHub

What web-performance-optimization does

The skill runs the agent through five stages: capture a baseline (Lighthouse, LCP, FID, CLS, bundle sizes, network waterfall), find the problems, rank them, apply fixes, then re-measure. The examples cover the usual suspects — a 2.5MB hero image, an 850KB JavaScript bundle blocking the main thread, render-blocking scripts, images without dimensions that shift the layout.

Fixes are concrete. Serve images as AVIF and WebP with width and height set, split code with lazy and dynamic, swap moment for date-fns, import single lodash functions instead of the whole library, add defer to analytics. For CLS there is a skeleton loader that reserves space before content arrives.

Verification loops back: re-run Lighthouse, compare before and after, check real user metrics, test on different devices and networks. The skill will not hand you a bundler config — it works out what is slow and proposes the steps. Without access to production metrics, some conclusions stay at the level of local measurements.

What it helps with

  • find out why a page loads slowly
  • bring LCP, FID and CLS into the green
  • shrink a JavaScript bundle
  • stop layout shifts from images without dimensions
  • get ready for a performance audit

Example prompts for the agent

  • run a performance audit on my site and show me what's slow
  • why is my LCP 4.2s — break it down and suggest fixes
  • cut my bundle size: check the dependencies and tell me what to replace

How to install web-performance-optimization

1claude-code-templates

npx claude-code-templates@latest --skill web-development/web-performance-optimization

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill web-performance-optimization -a claude-code

3Manually: put the files in place

~/.claude/skills/web-performance-optimization/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/web-performance-optimization/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about web-performance-optimization

How do I install web-performance-optimization in Claude?

With the templates CLI: npx claude-code-templates@latest --skill web-development/web-performance-optimization. The other route is npx skills add davila7/claude-code-templates --skill web-performance-optimization -a claude-code. The file then sits at ~/.claude/skills/web-performance-optimization/SKILL.md.

What does web-performance-optimization do?

It measures current site speed, locates the bottlenecks and applies optimizations: image compression, code splitting, caching, lazy loading of non-critical resources. Then it re-measures to show the effect.

Which metrics does the skill cover?

Core Web Vitals: LCP, FID and CLS. Alongside those, the Lighthouse score, bundle sizes, Time to Interactive and the network waterfall.

Similar skills

Everything for Frontend and UI →

web-performance-optimization by other authors comes first.

web-performance-optimization aj-geddes A skill for speeding up web apps: code splitting, lazy loading, caching, compression and monitoring. Useful when pages load slowly. CX Codex +1 482installs web-performance-optimization secondsky A skill that walks your agent through code splitting, lazy loading, caching and Core Web Vitals monitoring for web apps. CX Codex +1 557installs performance-optimization addyosmani An agent skill that measures before it changes code: Core Web Vitals budgets, N+1 queries, missing indexes and slow endpoints. CX Codex +1 65,200installs web-performance-audit secondsky A skill that audits page speed: pulls Core Web Vitals, finds bottlenecks and points at what to fix. Useful when LCP or CLS drifts out of range. CX Codex +1 526installs auditing-performance spencerpauly A skill that audits app performance: bundle size, rendering, database queries and Core Web Vitals. Useful when pages load slowly or the UI stutters. CX Codex +1 476installs web-perf official Cloudflare Audits web page performance using Chrome DevTools MCP. Measures Core Web Vitals and inspects render-blocking assets. CX Codex GP ChatGPT 5installs performance-and-web-vitals dembrandt This skill guides Lighthouse audits and Core Web Vitals fixes across LCP, CLS, and INP. It provides rules to optimize images, fonts, scripts, and layout shifts. CX Codex +1 975installs Frontend Performance Investigator official github Diagnoses runtime web performance issues, layout shifts, and Core Web Vitals regressions by connecting browser traces directly to your code. ★ 40,418repo stars

From the same set205

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor