Bundle Size Analyzer
Analyzes product bundles to determine optimal sizes for inventory and pricing, maximizing sales efficiency.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add bundle-size-analyzer npx -- -y @trustedskills/bundle-size-analyzer
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"bundle-size-analyzer": {
"command": "npx",
"args": [
"-y",
"@trustedskills/bundle-size-analyzer"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill analyzes JavaScript bundles to determine their size and identify potential areas for optimization. It provides insights into bundle composition, including module sizes and dependencies. This allows developers to understand the impact of different code changes on application performance and reduce download times.
When to use it
- Performance Optimization: Before deploying a new version of a web application, analyze bundles to ensure they are as small as possible.
- Debugging Large Bundles: Investigate why a bundle is unexpectedly large by identifying the biggest contributors.
- Code Review: Assess the impact of code changes on bundle size during code review processes.
- Identifying Unused Code: Determine if any modules or dependencies are not being used and can be removed.
Key capabilities
- Bundle Size Analysis
- Module Size Breakdown
- Dependency Identification
Example prompts
- "Analyze the bundle for my React application."
- "Show me the largest modules in this JavaScript bundle."
- "What dependencies are contributing most to the overall bundle size?"
Tips & gotchas
This skill requires access to the JavaScript bundle file. Ensure the AI agent has appropriate permissions and context to locate and process the bundle data for accurate analysis.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.