performance-optimizer
Skill17 starsChanged 7 months agoMITView on GitHub
Checks performed: - Image dimensions: Ensures images aren't larger than displayed size - Compression ratio: Recommends lossy compression for photos, lossless for graphics - WebP conversion: Identifies images that should use modern WebP format (25-35% smaller) - Responsive images: Detects missing srcset for different screen sizes - Lazy loading: Identifies above-the-fold images loading eagerly vs below-the-fold images - Format selection: PNG for graphics, JPEG for photos, SVG for icons, WebP for all Deliverables: - List of images requiring optimization -…
17 other projects use a version of this.
Adopted by
Most recently taken up by
- oivanfelipe/claude-skillstheir own version, first seen Nov 8, 2026
- Domenico-Tenace-Open-Labs/web-dev-agenttheir own version, first seen Nov 1, 2026
- saksham-techlabs/ai-builder-skills-packtheir own version, first seen Oct 25, 2026
- neeraj181-dot/ClaudeSkillstheir own version, first seen Aug 25, 2026
- TheHiddenDeveloper/jarvis-skillstheir own version, first seen Aug 19, 2026
- poorvith-mp/skills-developertheir own version, first seen Aug 19, 2026
Used with
Projects with it also use observability-engineer, database-optimizer and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
xfstudioSkillobservability-engineer
Build production-ready monitoring, logging, and tracing systems.
Also in 3 projects that use this
lodetomasiSkilldatabase-optimizer
Database performance optimization: N+1 detection, query analysis, indexing, and ORM tuning
Also in 3 projects that use this
AutumnsGroveSkillapi-designer
Design and document RESTful and GraphQL APIs with OpenAPI/Swagger specifications, authentication patterns, versioning strategies, and best practices. Use for: (1) Creating API specifications, (2) Designing REST endpoints, (3) GraphQL schema design, (4) API authentication and authorization, (5) API versioning strategies, (6) Documentation generation
Also in 3 projects that use this
GoogleSkillcode-reviewer
Also in 5 projects that use this
xenitV1Skillclean-code
Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments
Also in 3 projects that use this
OpenAISkilltest-driven-development
Use when implementing any feature or bugfix, before writing implementation code
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- nahisaho/MUSUBI★ 74same name
- glincker/claude-code-marketplace★ 37same name
- nihao555-hub/claude-code-agent-skills★ 4same name
- Domenico-Tenace-Open-Labs/web-dev-agent★ 3same name
- moses607/socialforge★ 3same name
- CODE-SAURABH/OpenSkills★ 2same name
- mehdiozdemir/awesome-agent-skills★ 2same name
- ronrefael/sonde★ 2same name
- rudrathegreat/Astronomy-AI-Toolkit★ 2same name
- lschGSL/claude_code_template★ 1same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- aios-presentation-standardSkill
- audit-existing-siteSkill
- brand-to-imagesSkill
- brand-voiceSkill
- code-auditorSkill
- content-auditorSkill
- copy-editorSkill
- deploy-to-vercelSkill
- form-wiringSkill
- Getting Started with VibeCodingSkill
- link-checkerSkill
- qa-testerSkill
- security-auditorSkill
- seo-aeo-auditorSkill
- site-customizerSkill
- site-generatorSkill
- site-interviewerSkill
- site-updaterSkill
- ux-reviewerSkill
- webmasterSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Business Impact: Every 100ms of latency costs Amazon 1% in sales
- Distinctive: line 123
Run Lighthouse audit on your site
- Distinctive: line 130
Before/after screenshot comparison
- Distinctive: line 137
Write optimization code (minified CSS/JS)
- Distinctive: line 139
Create Lighthouse configuration for specific scenarios
- Distinctive: line 140
Verify improvements with follow-up audits
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Performance Optimizer Skill
Overview
This skill audits and fixes page load performance issues on websites. It analyzes images, CSS, JavaScript, fonts, and assets, then generates a before/after performance report with specific optimization recommendations and implementation steps.
Why Performance Matters
- User Experience: Pages that load in under 3 seconds have 40% higher conversion rates than those taking 6+ seconds
- SEO Rankings: Google uses Core Web Vitals as a ranking factor; slow sites rank lower
- Mobile Performance: 53% of users abandon sites that take over 3 seconds to load on mobile
- Cost Savings: Optimized sites consume less bandwidth and server resources
- Business Impact: Every 100ms of latency costs Amazon 1% in sales
Key Optimization Areas
1. Image Optimization
Why it matters: Images typically represent 50-80% of page weight. Optimization directly impacts load time.
Checks performed:
- Image dimensions: Ensures images aren't larger than displayed size
- Compression ratio: Recommends lossy compression for photos, lossless for graphics
- WebP conversion: Identifies images that should use modern WebP format (25-35% smaller)
- Responsive images: Detects missing srcset for different screen sizes
- Lazy loading: Identifies above-the-fold images loading eagerly vs below-the-fold images
- Format selection: PNG for graphics, JPEG for photos, SVG for icons, WebP for all
Deliverables:
- List of images requiring optimization
- Compression commands (ImageMagick, cwebp)
- HTML code samples for srcset implementation
- Lazy-loading implementation guidance
2. CSS Optimization
Why it matters: Render-blocking CSS prevents the page from painting. Unoptimized CSS increases file size and parse time.
Checks performed:
- Minification: Removes whitespace, comments, unnecessary characters
- Critical CSS: Identifies styles needed for above-the-fold content
- Unused CSS: Detects unused selectors (especially from frameworks like Bootstrap)
- Media query optimization: Ensures mobile-specific CSS isn't loaded on desktop
- CSS file splitting: Suggests code splitting for large stylesheets
- Animation efficiency: Recommends transform/opacity over layout-triggering properties
Deliverables:
- Minified CSS output
- Critical CSS extracted and ready for inlining
- PurgeCSS/Tailwind configuration for unused CSS removal
- CSS splitting strategy guide
3. JavaScript Optimization
Why it matters: JavaScript is the most expensive resource. Parse, compile, and execute time directly impacts performance.
Checks performed:
- Minification: Removes whitespace and renames variables
- Code splitting: Identifies opportunities to split bundles for different routes
- Defer/async loading: Recommends delaying non-critical scripts
- Bundle analysis: Shows which libraries consume the most bytes
- Tree-shaking: Identifies unused exports that can be removed
- Polyfill optimization: Removes polyfills needed for older browsers you don't support
Deliverables:
- Minified JavaScript output
- Code splitting recommendations with Vite configuration
- Bundle analysis report with size breakdown
- Script loading strategy (defer, async, preload)
4. Font Optimization
Why it matters: Web fonts block text rendering. Poor font strategy causes invisible text for 3-10 seconds.
Checks performed:
- Font subsetting: Identifies opportunity to include only used characters
- Font-display strategy: Recommends swap for system fonts, fallback for custom fonts
- Preloading: Ensures critical fonts load before content needs them
- Variable fonts: Suggests replacing multiple font files with single variable font
- Redundant fonts: Detects duplicate font families from multiple sources
Deliverables:
- Font-display CSS with recommended values
- Preload link tags
- Subsetting commands for Google Fonts or custom fonts
- Variable font migration guide
5. Asset Preloading and Prefetching
Why it matters: Strategic preloading/prefetching reduces perceived load time and improves interaction metrics.
Checks performed:
- Critical resources: Identifies files needed for LCP (Largest Contentful Paint)
- DNS prefetch: Detects slow third-party domains
- Preconnect: Identifies resource origin connections to establish early
- Prefetch: Identifies likely next page resources to load opportunistically
Deliverables:
- Preload/prefetch link tags with priorities
- Third-party script optimization strategy
- DNS prefetch recommendations
6. Lighthouse Score Targeting
Why it matters: Lighthouse is the industry standard. Scores below 90 indicate room for improvement.
Target scores:
- Performance: 90+
- Accessibility: 90+
- Best Practices: 90+
- SEO: 90+
Metrics analyzed:
- First Contentful Paint (FCP): Time until first content paints
- Largest Contentful Paint (LCP): Time until largest visual element paints
- Cumulative Layout Shift (CLS): Unexpected layout movement
- Time to Interactive (TTI): Time until page is fully interactive
- Total Blocking Time (TBT): Time JavaScript blocks main thread
How to Use This Skill
Step 1: Provide Site Information
Give me:
- Site URL (or local directory path)
- Site technology stack (React, Vue, static HTML, etc.)
- Target browsers/devices
- Current performance concerns (if known)
Step 2: Audit Review
I will:
- Run Lighthouse audit on your site
- Analyze all assets (images, CSS, JS, fonts)
- Identify performance bottlenecks
- Prioritize fixes by impact
Step 3: Optimization Plan
I provide:
- Before/after screenshot comparison
- Specific recommendations with estimated impact
- Implementation steps for each optimization
- Code examples ready to use
Step 4: Implementation Support
I can:
- Write optimization code (minified CSS/JS)
- Generate srcset and lazy-loading HTML
- Create Lighthouse configuration for specific scenarios
- Verify improvements with follow-up audits
Optimization Priorities
High Impact (Do First)
- Image optimization - 30-50% byte reduction typical
- JavaScript minification and code splitting - 20-40% reduction
- Unused CSS removal - 20-60% reduction
- Font subsetting/display optimization - 50-80% faster text rendering
Medium Impact
- Critical CSS inlining - Eliminates render-blocking CSS
- Script defer/async - Improves Time to Interactive
- Asset preloading - 10-20% LCP improvement
- Compression (gzip/brotli) - 30-50% byte reduction
Low Impact (Nice to Have)
- Service Worker caching
- CDN optimization
- HTTP/2 Push (mostly superseded by preload)
- WebAssembly migration (for specific use cases)
Output Deliverables
Performance Report
- Lighthouse scores (before/after)
- Byte savings per optimization
- Load time improvements (estimated)
- Priority recommendations
- Implementation timeline
Implementation Files
- Optimized images with WebP alternatives
- Minified CSS/JS
- HTML snippets for srcset, lazy-loading, preload
- Build configuration updates (webpack, Vite, etc.)
- Performance budget recommendations
Verification Plan
- Steps to verify each optimization
- How to measure real-world performance
- Continuous monitoring recommendations
Common Questions
Q: Will optimizations affect functionality? A: No. Performance optimizations maintain full functionality while reducing file size and load time.
Q: Can I apply optimizations gradually? A: Yes. The report prioritizes by impact, so you can implement high-impact optimizations first.
Q: Do I need expensive tools? A: No. All recommendations use free tools (ImageMagick, Lighthouse CLI, PurgeCSS, etc.).
Q: How often should I re-audit? A: After major changes. At minimum, quarterly to catch performance regressions.
Tools Used
- Lighthouse CLI (audits performance)
- ImageMagick (image optimization)
- cwebp (WebP conversion)
- PurgeCSS / Tailwind (unused CSS removal)
- Source maps (bundle analysis)
- Google Fonts API (font optimization)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

