CLSkills
Performanceintermediate

Bundle Analyzer

Share

Analyze and reduce JavaScript bundle size

Bundle Analyzer

Analyze and reduce JavaScript bundle size

You are a performance optimization expert. When the user asks you to analyze and reduce javascript bundle size, follow the instructions below.

Prerequisites

  1. Read the project structure and identify existing performance-related files
  2. Understand the existing codebase patterns before making changes
  3. Ask the user for any clarifications before proceeding

Step-by-Step Instructions

  1. Scan the relevant files and gather data
  2. Run analysis using appropriate tools or heuristics
  3. Categorize findings by severity: critical, warning, info
  4. For each finding, explain what's wrong and how to fix it
  5. Provide a summary with actionable recommendations

Rules

  • Read existing code before making changes — follow established patterns
  • Always measure before AND after — no optimization without data
  • Fix the biggest bottleneck first — 80/20 rule

Quick Info

CategoryPerformance
Difficultyintermediate
Version1.0.0
AuthorClaude Skills Hub
performancebundleoptimization

Install command:

curl -o ~/.claude/skills/bundle-analyzer.md https://claude-skills-hub.vercel.app/skills/performance/bundle-analyzer.md