Agent skill

performance-optimization

Web performance optimization including bundle analysis, lazy loading, caching strategies, and Core Web Vitals

Rohit Ghumare82,766★ · +2,021/wk · 9 repos on radarProfile →
claude-codeApache-2.0
Install
npx skills add rohitg00/awesome-claude-code-toolkit --skill performance-optimization --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/performance-optimization/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,438
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Performance Optimization ## Bundle Analysis and Code Splitting ```typescript // Dynamic import for route-level code splitting const Dashboard = lazy(() => import("./pages/Dashboard")); const Settings = lazy(() => import("./pages/Settings")); function App() { return ( <Suspense fallback={<PageSkeleton />}> <Routes> <Route path="/dashboard" element={<Dashboard />} /> <Route path="/settings" element={<Settings />} /> </Routes> </Suspense> ); } ``` ```javascript // vite.config.ts - manual chunk splitting export default defineConfig({ build: { rollupOptions: { output: { manualChunks: { vendor: ["react", "react-dom"], charts: ["recharts", "d3"], editor: ["@monaco-editor/react"], }, }, }, }, }); ``` ```bash # Analyze bundle composition npx vite-bundle-visualizer npx source-map-explorer dist/assets/*.js ``` ## Image Optimization ```tsx import Image from "next/image"; function ProductImage({ src, alt }: { src: string; alt: string }) { return ( <Image src={src} alt={alt} width={800} height={600} sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw" placeholder="blur" blurDataURL={generateBlurHash(src)} loading="lazy" /> ); } ``` ```html <!-- Native lazy loading with aspect ratio

What's inside
Steps it walks through
  1. Bundle Analysis and Code Splitting
  2. Image Optimization
  3. Caching Headers
  4. Virtual Lists for Large Data
  5. Core Web Vitals Monitoring
  6. Anti-Patterns
  7. Checklist
Commands it runs
Analyze bundle composition
npx vite-bundle-visualizer
npx source-map-explorer dist/assets/*.js
More from awesome-claude-code-toolkit
All skills →
About this skill
What does the performance-optimization skill do?

Web performance optimization including bundle analysis, lazy loading, caching strategies, and Core Web Vitals

How do I install it?

Run `npx skills add rohitg00/awesome-claude-code-toolkit --skill performance-optimization --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rohitg00/awesome-claude-code-toolkit, a repository with 2,438 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going