perf-web-optimization

Optimize web performance by reducing bundle size, images, caching, and lazy loading.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/rodrigotoledo/trading-exchange --skill perf-web-optimization-rodrigotoledo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perf-web-optimization
Source: https://github.com/rodrigotoledo/trading-exchange/tree/main/packages/skills-catalog/skills/%28performance%29/perf-web-optimization
Command: npx skills add https://github.com/rodrigotoledo/trading-exchange --skill perf-web-optimization-rodrigotoledo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Optimize web performance: bundle size, images, caching, lazy loading, and overall page speed. Use when site is slow, reducing bundle size, fixing layout shifts, improving Time to Interactive, or optimizing for Lighthouse scores. Triggers on: web performance, bundle size, page speed, slow site, lazy loading. Do NOT use for Core Web Vitals-specific fixes (use core-web-vitals), running Lighthouse audits (use perf-lighthouse), or Astro-specific optimization (use perf-astro).

Core Features & Use Cases

  • Automated Analysis: Identify bottlenecks in bundle size, image formats, and caching strategies.
  • Optimization Guidance: Propose concrete changes (e.g., image formats, preloads, code-splitting) tailored to your project.
  • Use Case: When a site loads slowly, use this Skill to propose a prioritized plan that reduces payload and improves TTI.

Quick Start

Use perf-web-optimization to accelerate a sample page by applying the top-priority optimization (e.g., implement image optimization and bundle splitting) and verify improvements with performance budgets.

Frequently Asked Questions about perf-web-optimization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce bundle size and improve page speed for a slow site?

To reduce bundle size and improve web performance, you can apply code-splitting and bundle size reduction techniques. This Skill analyzes your frontend project to propose a prioritized plan targeting payload reduction and faster Time to Interactive.

What's the best way to optimize images and implement lazy loading for better Lighthouse scores?

Optimizing images and implementing lazy loading improves Lighthouse scores by deferring offscreen resources. This Skill proposes concrete changes like modern image formats and preloads tailored to your project to reduce layout shifts and speed up page loads.

How do caching strategies affect web performance and Time to Interactive?

Caching strategies improve web performance by storing assets locally to reduce server round-trips, directly lowering TTFB and improving Time to Interactive. This Skill identifies bottlenecks in your current caching setup and recommends targeted improvements.

Does this web performance optimization approach apply to Core Web Vitals fixes?

This approach handles general web performance optimization like bundle size and caching, but does not cover Core Web Vitals-specific fixes. Use a dedicated Core Web Vitals Skill for targeted LCP, CLS, and INP metric debugging.

Can I use this to run Lighthouse audits for my frontend project?

You cannot use this to run Lighthouse audits directly, as it focuses on proposing optimization techniques rather than executing audits. Use a dedicated Lighthouse audit Skill for running performance measurements and generating reports.