performance-optimization

Profile web app performance with Lighthouse audits and bundle analysis.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/zeeshan080/ezee-erp --skill performance-optimization-zeeshan080
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/zeeshan080/ezee-erp/tree/main/.claude/skills/performance-optimization
Command: npx skills add https://github.com/zeeshan080/ezee-erp --skill performance-optimization-zeeshan080

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Profiling and optimizing web application performance to improve user experience and Core Web Vitals.

Core Features & Use Cases

  • Performance profiling: Lighthouse audits, bundle analysis, and profiling tooling.
  • Frontend optimization: Code splitting, lazy loading, image optimization.
  • Caching & CWV: Browser, CDN, and server caching strategies to improve LCP, FID/INP, and CLS.

Quick Start

Use Lighthouse audits, bundle analysis, and caching strategies to improve Core Web Vitals. Example commands: npx lighthouse https://your-app-url --output=json --output-path=./lighthouse-report.json npm install --save-dev webpack-bundle-analyzer ANALYZE=true npm run build Then implement code-splitting, lazy loading, and caching per the guidelines.

Frequently Asked Questions about performance-optimization

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

FAQPage Schema
How do I improve Core Web Vitals for a production web app?

Improve Core Web Vitals by running Lighthouse audits, analyzing your bundle, and configuring caching strategies. Implement code splitting, lazy loading, and image optimization to target LCP, FID/INP, and CLS metrics directly.

How do I use Lighthouse and bundle analysis to profile web performance?

Profile web performance by running Lighthouse via command line to generate JSON reports and using webpack-bundle-analyzer to inspect build output. Execute builds with analysis flags enabled to visualize and identify heavy dependencies.

What is the best way to reduce JavaScript bundle size with code splitting?

The best way to reduce bundle size is implementing code splitting and lazy loading for your routes and components. Use bundle analysis tools to identify large modules and split them into smaller, on-demand loaded chunks.

Does this performance optimization approach work for both frontend and backend teams?

Yes, this optimization approach serves both frontend and backend teams. Frontend efforts focus on code splitting and images, while backend work involves configuring server and CDN caching strategies to reduce latency.

How does caching strategy configuration affect LCP and CLS scores?

Caching strategy configuration improves LCP and CLS scores by serving static assets faster via browser and CDN caches. Effective caching reduces server response times and layout shifts by ensuring resources load predictably.

When should I not use code splitting for web performance?

Avoid code splitting for small applications where the overhead of multiple network requests outweighs the benefit of smaller chunks. If bundle analysis shows a minimal footprint, a single bundled file may load faster.