Perf Web Optimization
CheckedHelps with web development, optimization as part of agent workflows workflows.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add tech-leads-club/agent-skills --skill perf-web-optimization -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
tech-leads-club
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Makes no network calls.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned tech-leads-club/agent-skills at 6df68d5202.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 6df68d5202
- Scanned
- 4 files, 607 lines
About this skill
What it does
This skill assists with web performance optimization, providing a systematic approach to improving website speed and user experience. It guides users through a process of measurement, identification of bottlenecks, prioritization of fixes, implementation of optimizations, and verification of results. The skill focuses on key metrics like Largest Contentful Paint (LCP), Interaction to Next Paint (INP), Cumulative Layout Shift (CLS), and Time To First Byte (TTFB) to ensure optimal performance.
When to use it
- When website load times are slow or impacting user engagement.
- To proactively improve web page speed before launch or during development.
- For identifying and addressing specific performance bottlenecks like large images, fonts, or third-party scripts.
- During code reviews to ensure optimization best practices are followed.
- When needing guidance on optimizing image loading strategies (eager vs. lazy).
Key capabilities
- Provides a structured "Measure → Identify → Prioritize → Implement → Verify" workflow for web performance optimization.
- Offers target metrics and thresholds for LCP, INP, CLS, and TTFB.
- Suggests quick wins including image optimization (WebP/AVIF formats, responsive images), font loading techniques (preconnect, non-blocking fonts), and third-party script management (deferring execution).
- Includes guidance on critical CSS inlining and deferred loading.
- Provides instructions for bundle analysis using tools like
webpack-bundle-analyzerandvite-bundle-visualizer. - Suggests alternatives to heavy JavaScript libraries like Moment.js and Lodash.
- Demonstrates code splitting patterns for React, Next.js, and Vite/Rollup.
- Offers advice on setting appropriate caching headers for static assets, HTML, and API responses.
Example prompts
- "How can I improve the LCP of my website?"
- "What are some quick wins for optimizing image loading?"
- "Suggest alternatives to Moment.js for date manipulation."
- "Show me how to defer third-party scripts on my page."
Tips & gotchas
- This skill provides guidance and code snippets; it does not automatically implement optimizations.
- The suggested quick wins may require adjustments based on the specific website's architecture and content.
- For detailed performance audits, reports, and budget setting, use in conjunction with the
perf-lighthouseskill.