From ultraship
Analyzes project bundle size, reports JS/CSS/image breakdowns, largest files, heavy dependencies with lighter alternatives, prior build comparisons, and optimization suggestions like code splitting.
How this command is triggered — by the user, by Claude, or both
Slash command
/ultraship:bundleThe summary Claude sees in its command listing — used to decide when to auto-load this command
Run the bundle tracker on this project: Report: total bundle size, JS/CSS/image breakdown, largest files, heavy dependencies with lighter alternatives, and comparison to previous build (if history exists). Suggest code splitting for large chunks and alternative packages for heavy dependencies.
Run the bundle tracker on this project:
node ${CLAUDE_PLUGIN_ROOT}/tools/bundle-tracker.mjs <project-directory> --save
Report: total bundle size, JS/CSS/image breakdown, largest files, heavy dependencies with lighter alternatives, and comparison to previous build (if history exists). Suggest code splitting for large chunks and alternative packages for heavy dependencies.
npx claudepluginhub houseofmvps/ultraship --plugin ultraship/analyze-bundleAnalyzes JavaScript bundle size, lists top modules and duplicates by gzipped size, detects optimization opportunities like code splitting and alternatives, and generates a performance report.
/bundleAnalyzes bundle size, identifies large and duplicate dependencies, and provides optimization recommendations with estimated savings. Supports visualization and duplicate reports.
/optimize-bundle-sizeAnalyzes bundle size and composition, configures webpack or vite optimizations like splitChunks and manualChunks, implements React code splitting and lazy loading.
/optimize-sizeAnalyzes bundle size, dependency bloat, and binary footprint; applies optimizations; reports before/after sizes, reduction percentage, and changes.
/bun-optimizeAnalyzes and optimizes Bun application performance and bundle size. Targets bundle, runtime, memory, or startup via optional argument.
/optimizeAnalyzes Next.js app for performance issues in components, data fetching, bundles, images, and caching; generates optimization report with recommendations.