bundle-size-analyzer

Solid

Analyze and optimize application bundle size for desktop applications

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
67
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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.js const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; module.exports = { plugins: [ new BundleAnalyzerPlugin({ analyzerMode: 'static', reportFilename: 'bundle-report.html' }) ] }; ``` ## Optimization Techniques 1. Tree shaking 2. Code splitting 3. Dynamic imports 4. Replace heavy dependencies 5. 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-profiler` - `electron-builder-config`

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

bundle-analysis

Analyze frontend bundle size, detect heavy dependencies, find duplicates, evaluate tree-shaking, recommend code splitting, and generate size budget configs. USE THIS SKILL WHEN: user mentions bundle size, JavaScript bundle, webpack analysis, slow page load from large bundles, tree-shaking, code splitting, heavy dependencies, duplicate packages, vendor chunk, DIM weight of JS, or performance budget. Trigger phrases: "analyze bundle size", "why is my bundle so big", "find heavy dependencies", "reduce bundle size", "code splitting opportunities", "tree-shaking not working", "duplicate packages in bundle", "set up size budget", "vendor chunk too large", "initial load too slow", "optimize webpack output", "vite build analysis".

4 Updated yesterday
tinh2
AI & Automation Solid

bundle-size-analyzer

Analyze bundle size analyzer operations. Auto-activating skill for Frontend Development. Triggers on: bundle size analyzer, bundle size analyzer Part of the Frontend Development skill category. Use when analyzing or auditing bundle size analyzer. Trigger with phrases like "bundle size analyzer", "bundle analyzer", "analyze bundle size r".

2,274 Updated today
jeremylongshore
AI & Automation Solid

startup-time-profiler

Profile and optimize application startup time for desktop applications

1,160 Updated today
a5c-ai
AI & Automation Listed

app-size-optimizer

Analyzes mobile app binary size -- asset audit for unused images and font subsetting, code stripping with ProGuard and tree-shaking, on-demand resources, dynamic feature modules, and app thinning strategies. USE THIS SKILL WHEN: - Your app's download size is too large or growing unexpectedly - Someone asks "why is our app so big?" or "how do we reduce app size?" - You need to audit assets (images, fonts, videos) for waste or optimization - App store reviewers flag your app for exceeding cellular download limits (200MB) - You want to check if ProGuard/R8, tree-shaking, or resource shrinking is properly configured - Someone mentions ABI splits, dynamic feature modules, or on-demand resources - You are preparing for a release and want to minimize download size - Users are complaining about storage space or download times - You need to audit dependencies for size bloat or lighter alternatives TRIGGER PHRASES: "app size", "binary size", "reduce app size", "APK size", "IPA size", "unused assets", "font subsetting",

4 Updated yesterday
tinh2
AI & Automation Solid

ln-832-bundle-optimizer

Reduces JS/TS bundle size via tree-shaking, code splitting, and unused dependency removal. Use when optimizing frontend bundle size.

480 Updated 3 days ago
levnikolaevich