<< All versions
Skill v1.0.1
currentAutomated scan100/100a5c-ai/babysitter/bundle-size-analyzer
4 files
──Details
PublishedJune 30, 2026 at 10:11 AM
Content Hashsha256:20107ec2cfd2e760...
Git SHA0c70bfb344b9
Bump Typepatch
──Files
Files (1 file, 1.9 KB)
SKILL.md1.9 KBactive
SKILL.md · 78 lines · 1.9 KB
version: "1.0.1" name: bundle-size-analyzer description: Analyze and optimize application bundle size for desktop applications allowed-tools: Read, Write, Edit, Bash, Glob, Grep tags: [performance, bundle, optimization, webpack, desktop] graph: domains: [domain:software-engineering] specializations: [specialization:desktop-development] skillAreas: [skill-area:performance-monitoring-profiling, skill-area:cross-platform-desktop] roles: [role:desktop-developer, role:fullstack-engineer] workflows: [workflow:feature-development, workflow:release-management]
bundle-size-analyzer
Analyze and optimize application bundle size to improve download times and memory usage.
Capabilities
- Analyze bundle composition
- Identify large dependencies
- Detect duplicate packages
- Suggest tree-shaking opportunities
- Generate size reports
- Track size over time
Input Schema
json
{"type": "object","properties": {"projectPath": { "type": "string" },"bundler": { "enum": ["webpack", "vite", "rollup", "esbuild"] },"generateReport": { "type": "boolean", "default": true }},"required": ["projectPath"]}
Webpack Bundle Analyzer
javascript
// webpack.config.jsconst BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;module.exports = {plugins: [new BundleAnalyzerPlugin({analyzerMode: 'static',reportFilename: 'bundle-report.html'})]};
Optimization Techniques
- Tree shaking
- Code splitting
- Dynamic imports
- Replace heavy dependencies
- Compress assets
Size Targets
| App Type | Target | Acceptable | Too Large | |
|---|---|---|---|---|
| Simple utility | < 30MB | < 60MB | > 100MB | |
| Standard app | < 80MB | < 150MB | > 250MB | |
| Complex app | < 150MB | < 250MB | > 400MB |
Related Skills
startup-time-profilerelectron-builder-config