perf-web-optimization

Identify and reduce web performance bottlenecks in bundles, images, caching, and lazy loading.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/oiagorodrigues/qcontabil --skill perf-web-optimization-oiagorodrigues
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perf-web-optimization
Source: https://github.com/oiagorodrigues/qcontabil/tree/main/.cursor/skills/perf-web-optimization
Command: npx skills add https://github.com/oiagorodrigues/qcontabil --skill perf-web-optimization-oiagorodrigues

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Optimize web performance by addressing bundle size, images, caching strategies, lazy loading, and overall page speed to improve user experience and Lighthouse scores.

Core Features & Use Cases

  • Analyze and reduce JavaScript bundle sizes across routes and pages.
  • Apply modern image optimization with responsive sizes and formats.
  • Implement effective HTTP caching headers and lazy-loading strategies.
  • Use for slow sites, e-commerce pages, or SPAs to improve Time to Interactive and CLS.

Quick Start

Run this skill to begin a site performance optimization by targeting bundle size, image formats, caching headers, and lazy loading.

Frequently Asked Questions about perf-web-optimization

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

FAQPage Schema
How do I improve Lighthouse scores and Time to Interactive for a slow web app?

To improve Lighthouse scores and Time to Interactive, you need to reduce web performance bottlenecks by optimizing JavaScript bundles, applying responsive image formats, and implementing caching strategies. This targets slow sites and SPAs to enhance overall page speed and user experience.

What's the best way to reduce JavaScript bundle size across application routes?

The best way to reduce JavaScript bundle size is to analyze bundles across routes and apply optimization techniques like code splitting and lazy loading. This ensures that users only download the code necessary for the requested view, improving load times.

How do I implement effective HTTP caching headers and lazy-loading strategies?

Effective HTTP caching and lazy loading are implemented by configuring appropriate caching policies for static assets and deferring the loading of non-critical resources. This approach improves Time to Interactive and reduces initial page weight for SPA applications.

Can I use this web performance optimization approach for e-commerce pages?

Yes, you can use this web performance optimization approach for e-commerce pages. It targets slow sites and SPAs to improve Core Web Vitals like CLS and Lighthouse scores across deployment environments by addressing bundle size, image formats, and caching.

How does image optimization with responsive sizes improve page speed?

Image optimization improves page speed by applying modern image formats and responsive sizes tailored to the user's device. This reduces the overall payload size and prevents layout shifts, directly improving CLS metrics and Lighthouse performance scores.

What are performance budgets and how do they guide web optimization implementation?

Performance budgets are thresholds set for metrics like bundle size and load time to guide web optimization implementation. They establish tooling awareness for bundlers and HTTP caching policies, ensuring sustained performance improvements across different deployment environments.