Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Analyze and optimize application bundle size for desktop applications
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 426% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 2% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -44% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -52% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -36% | 0% |
Analyze and optimize application bundle size to improve download times and memory usage.
json{ "type": "object", "properties": { "projectPath": { "type": "string" }, "bundler": { "enum": ["webpack", "vite", "rollup", "esbuild"] }, "generateReport": { "type": "boolean", "default": true } }, "required": ["projectPath"] }
javascript// webpack.config.js const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; module.exports = { plugins: [ new BundleAnalyzerPlugin({ analyzerMode: 'static', reportFilename: 'bundle-report.html' }) ] };
| App Type | Target | Acceptable | Too Large | |----------|--------|------------|-----------| | Simple utility | < 30MB | < 60MB | > 100MB | | Standard app | < 80MB | < 150MB | > 250MB | | Complex app | < 150MB | < 250MB | > 400MB |
startup-time-profilerelectron-builder-configOther measured skills in the registry, with their headline benchmark lift.