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".
适合你,如果前端打包体积过大导致页面加载慢
npx oh-my-skill add tinh2/skills-hub-registry/bundle-analysiscurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- tinh2/skills-hub-registry/bundle-analysisnpx oh-my-skill verify tinh2/skills-hub-registry/bundle-analysis