‹ 首页

bundle-analysis

@tinh2 · 收录于 1 周前

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 安装 校验哈希
npx oh-my-skill add tinh2/skills-hub-registry/bundle-analysis
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- tinh2/skills-hub-registry/bundle-analysis
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify tinh2/skills-hub-registry/bundle-analysis
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
7GitHub stars
~2.2K上下文体积 · 单文件
索引托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。