Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Web Performance Optimization

ASecurity

Help developers optimize website and web application performance to improve user experience, SEO rankings, and conversion rates. Systematic approaches to measure, analyze, and improve loading speed, runtime performance, and Core Web Vitals metrics.

22 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentjavascriptgojavadebuggingapiperformance

Works with

api

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add lev-os/agents --skill web-performance-optimization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Web Performance Optimization?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Web Performance Optimization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lev-os-web-performance-optimization/badge)](https://www.skillsdirectory.com/skills/lev-os-web-performance-optimization)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
# Web Performance Optimization

## Overview

Help developers optimize website and web application performance to improve user experience, SEO rankings, and conversion rates. Systematic approaches to measure, analyze, and improve loading speed, runtime performance, and Core Web Vitals metrics.

## When to Use This Skill

* Use when website or app is loading slowly
* Use when optimizing for Core Web Vitals (LCP, FID, CLS)
* Use when reducing JavaScript bundle size
* Use when improving Time to Interactive (TTI)
* Use when optimizing images and assets
* Use when implementing caching strategies
* Use when debugging performance bottlenecks
* Use when preparing for performance audits

## How It Works

### Step 1: Measure Current Performance

Establish baseline metrics:
* Run Lighthouse audits
* Measure Core Web Vitals (LCP, FID, CLS)
* Check bundle sizes
* Analyze network waterfall
* Identify performance bottlenecks

### Step 2: Identify Issues

* Large JavaScript bundles
* Unoptimized images
* Render-blocking resources
* Slow server response times
* Missing caching headers
* Layout shifts
* Long tasks blocking main thread

### Step 3: Prioritize Optimizations

Focus on high-impact improvements:
* Critical rendering path optimization
* Code splitting and lazy loading
* Image optimization
* Caching strategies
* Third-party script optimization

### Step 4: Implement Optimizations

* Optimize assets (images, fonts, CSS, JS)
* Implement code splitting
* Add caching headers
* Lazy load non-critical resources
* Optimize critical rendering path

### Step 5: Verify Improvements

* Re-run Lighthouse audits
* Compare before/after metrics
* Monitor real user metrics (RUM)
* Test on different devices and networks

## Best Practices

### Do This

* **Measure First** - Always establish baseline metrics before optimizing
* **Use Lighthouse** - Run audits regularly to track progress
* **Optimize Images** - Use modern formats (WebP, AVIF) and responsive images
* **Code Split** - Break large bundles into smaller chunks
* **Lazy Load** - Defer non-critical resources
* **Cache Aggressively** - Set proper cache headers for static assets
* **Minimize Main Thread Work** - Keep JavaScript execution under 50ms chunks
* **Preload Critical Resources** - Use `<link rel="preload">` for critical assets
* **Use CDN** - Serve static assets from CDN for faster delivery
* **Monitor Real Users** - Track Core Web Vitals from real users

### Don't Do This

* **Don't Optimize Blindly** - Measure first, then optimize
* **Don't Ignore Mobile** - Test on real mobile devices and slow networks
* **Don't Block Rendering** - Avoid render-blocking CSS and JavaScript
* **Don't Load Everything Upfront** - Lazy load non-critical resources
* **Don't Forget Dimensions** - Always specify image width/height
* **Don't Use Synchronous Scripts** - Use async or defer attributes
* **Don't Ignore Third-Party Scripts** - They often cause performance issues
* **Don't Skip Compression** - Always compress and minify assets

## Performance Checklist

### Images

* Convert to modern formats (WebP, AVIF)
* Implement responsive images
* Add lazy loading
* Specify dimensions (width/height)
* Compress images (< 200KB each)
* Use CDN for delivery

### JavaScript

* Bundle size < 200KB (gzipped)
* Implement code splitting
* Lazy load non-critical code
* Remove unused dependencies
* Minify and compress
* Use async/defer for scripts

### CSS

* Inline critical CSS
* Defer non-critical CSS
* Remove unused CSS
* Minify CSS files
* Use CSS containment

### Caching

* Set cache headers for static assets
* Implement service worker
* Use CDN caching
* Cache API responses
* Version static assets

### Core Web Vitals Targets

* LCP < 2.5s
* FID < 100ms
* CLS < 0.1
* TTFB < 600ms
* TTI < 3.8s

## Performance Tools

### Measurement
* **Lighthouse** - Comprehensive performance audit
* **WebPageTest** - Detailed waterfall analysis
* **Chrome DevTools** - Performance profiling
* **PageSpeed Insights** - Real user metrics

### Analysis
* **webpack-bundle-analyzer** - Visualize bundle composition
* **source-map-explorer** - Analyze bundle size
* **Bundlephobia** - Check package sizes before installing

### Monitoring
* **Google Analytics** - Track Core Web Vitals
* **Sentry** - Performance monitoring
* **New Relic** - Application performance monitoring

Attribution

lev-oslev-os
View sourceMore from lev-os →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →