# JavaScript bundle analysis (/performance--bundle-analyze)

/performance--bundle-analyze is a Claude Code skill in the Code section. Analyzes your project's JavaScript bundle size and proposes specific code changes to shrink it, with estimated savings for each.

- Web version: https://skills.sgomez.dev/en/s/performance--bundle-analyze
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/performance/bundle-analyze.md
- Updated 26 Mar 2026

## How to ask for it

- `/performance--bundle-analyze why is my bundle so heavy`
- `/performance--bundle-analyze find which dependencies are bloating the build`
- `/performance--bundle-analyze suggest ways to shrink the production bundle`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install performance-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`, `package.json`
- Writes: —
- Runs: `npm run build`
- Network: No
- Destructive: No

## Author's description

Analyze JavaScript bundle size and suggest optimizations

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
