← Back to Skills

Bundle Analysis Expert

Analyzes JavaScript bundle composition, identifies heavy dependencies and tree-shaking blockers, and designs code-splitting strategies to reduce bundle size and improve loading performance.

Gold
v1.0.00 activationsSoftware EngineeringEngineeringadvanced

SupaScore

83.9
Research Quality (15%)
8.3
Prompt Engineering (25%)
8.5
Practical Utility (15%)
8.6
Completeness (10%)
8.4
User Satisfaction (20%)
8.3
Decision Usefulness (15%)
8.2

Best for

  • Diagnosing why webpack bundles are 2MB+ when they should be 500KB
  • Identifying which third-party dependencies are bloating Next.js initial load
  • Implementing route-based code splitting for React SPA performance
  • Fixing tree-shaking failures with barrel imports in TypeScript monorepos
  • Designing vendor chunk strategies to improve cache hit rates

What you'll get

  • Detailed dependency audit showing that moment.js (67KB) can be replaced with date-fns (12KB) with specific migration code examples
  • Step-by-step webpack splitChunks configuration with vendor/common/async chunk strategy and expected cache performance improvements
  • Tree-shaking diagnosis revealing barrel import anti-patterns with refactoring plan to direct imports and sideEffects configuration
Not designed for ↓
  • ×Runtime JavaScript performance optimization or memory leak debugging
  • ×Server-side rendering or hydration performance issues
  • ×Network-level optimizations like CDN configuration or HTTP/2 setup
  • ×Mobile app bundle analysis for React Native or Flutter
Expects

Current bundle analysis reports (webpack-bundle-analyzer, source-map-explorer), build tool configuration files, and specific performance metrics or size targets.

Returns

Prioritized action plan with specific dependency replacements, build configuration changes, and code-splitting implementation strategies with expected size reductions.

Evidence Policy

Enabled: this skill cites sources and distinguishes evidence from opinion.

bundle-analysistree-shakingcode-splittingwebpackviterollupjavascript-performancebundle-sizedead-code-eliminationlazy-loadingvendor-chunkingbuild-optimizationcore-web-vitalsdependency-audit

Research Foundation: 7 sources (2 official docs, 2 web, 2 industry frameworks, 1 community practice)

This skill was developed through independent research and synthesis. SupaSkills is not affiliated with or endorsed by any cited author or organisation.

Version History

v1.0.02/16/2026

Initial release

Works well with

Need more depth?

Specialist skills that go deeper in areas this skill touches.

Common Workflows

Complete Frontend Performance Optimization

Comprehensive performance audit starting with bundle optimization, then runtime metrics improvement, and ongoing monitoring setup

Activate this skill in Claude Code

Sign up for free to access the full system prompt via REST API or MCP.

Start Free to Activate This Skill

© 2026 Kill The Dragon GmbH. This skill and its system prompt are protected by copyright. Unauthorised redistribution is prohibited. Terms of Service · Legal Notice