Skip to content
Agentmart
Submit a tool

bundler-analyze

Analyze JS bundle size with Vite/Webpack analyzers

Skill by jholhewres

IndexedMIT★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jholhewres-bundler-analyze

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Analyze JS bundle size with Vite/Webpack analyzers

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/bundler-analyze

What's inside

Skill name
bundler-analyze
Description
Analyze JS bundle size with Vite/Webpack analyzers
License
MIT
Instructions
48 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Bundle Analyzer

Use the **bash** tool to analyze JavaScript bundle sizes.

## Setup

**Node.js** (required for npx):
- **macOS**: `brew install node`
- **Ubuntu**: `sudo apt install nodejs npm`

Run `npm run build` first to generate stats; then use npx with vite-bundle-visualizer, webpack-bundle-analyzer, etc.

## Vite
```bash
npx vite-bundle-visualizer 2>/dev/null
# generates stats.html

npx rollup-plugin-visualizer 2>/dev/null
```

## Webpack
```bash
npx webpack-bundle-analyzer stats.json 2>/dev/null
# First generate stats:
npx webpack --profile --json > stats.json
```

## Size Check (quick)
```bash
# Check build output sizes
ls -lhS dist/assets/*.js 2>/dev/null | head -20
ls -lhS dist/assets/*.css 2>/dev/null | head -10

# Total bundle size
du -sh dist/ 2>/dev/null
```

## Import Cost
```bash
npx import-cost <file.ts> 2>/dev/null
```

## Tips
- Run after npm run build to see actual production sizes
- Check for large dependencies with npm ls --depth=0
- Use dynamic import() for code splitting
- Compare sizes before/after changes

From jholhewres/devclaw-skills, MIT.

More from jholhewres/devclaw-skills

Signals

Stars
4
Forks
0
Open issues
0
Last commit (this folder)
Feb 17, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jholhewres

Cite this page

bundler-analyze skill. Agent Mart. https://agentmart.dev/skills/jholhewres-bundler-analyze (last updated 2026-10-24)