webpack-bundle-analyzer/rollup-plugin-visualizer for chunk analysis, splitting strategy, dynamic imports, and tree shaking audit
From jm-adknpx claudepluginhub javimontano/jm-adk-alfaThis skill uses the workspace's default tool permissions.
agents/guardian.mdagents/lead.mdagents/specialist.mdagents/support.mdevals/evals.jsonknowledge/body-of-knowledge.mdknowledge/knowledge-graph.mdprompts/meta.mdprompts/primary.mdprompts/variations/deep.mdprompts/variations/quick.mdtemplates/output.docx.mdtemplates/output.htmlSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Implements structured self-debugging workflow for AI agent failures: capture errors, diagnose patterns like loops or context overflow, apply contained recoveries, and generate introspection reports.
Visualize, analyze, and optimize JavaScript bundle composition. Identify oversized dependencies, eliminate dead code, and enforce chunk splitting strategies that minimize initial load time. [EXPLICIT]
npm install has a bundle cost. The team must know the gzipped size of every dependency before adding it. [EXPLICIT]rollup-plugin-visualizer in vite.config.ts — generates stats.html treemap. [EXPLICIT]webpack-bundle-analyzer plugin — opens interactive treemap on build. [EXPLICIT]"analyze": "ANALYZE=true vite build" or "analyze": "webpack --profile --json > stats.json". [EXPLICIT]moment → date-fns or dayjs. lodash → lodash-es (tree-shakeable). [EXPLICIT]const Chart = lazy(() => import('chart.js')). [EXPLICIT]manualChunks to isolate firebase, react, and other large vendors. [EXPLICIT]| Input | Output |
|---|---|
| Built application | Bundle treemap visualization (HTML) |
stats.json / Rollup stats | Chunk-by-chunk size analysis |
| Dependency list | Size impact report per dependency |
| Optimization actions | Reduced bundle with before/after comparison |
npm dedupe resolves all duplicates. [EXPLICIT]firebase/firestore/lite) — tree shaking only works with ESM.styled-components add to JS bundle. Measure and account for it.npm dedupe, update lock file.sideEffects in package.json, verify ESM imports.Example invocations: