Phy Bundle Size Audit

JavaScript bundle size auditor and budget enforcer. Parses webpack stats JSON, Vite bundle report, Rollup output, or Next.js build output to identify largest chunks, flag chunks that exceed configurable size budgets, detect duplicate dependencies across chunks, find treeshaking failures (packages that should be side-effect-free but aren't), and generate CI fail-gate commands. Outputs a GitHub PR annotation-ready summary with per-chunk size, gzip estimate, and actionable optimization suggestions. Zero external API — pure local file analysis. Triggers on "bundle too large", "webpack stats", "chunk size", "bundle budget", "treeshaking", "bundle analyzer", "/bundle-size-audit".

LeoYeAI Updated 2.2k repo stars

File contents

LeoYeAI/openclaw-master-skills commit e472bcbf08

Frequently asked questions

npx get-skill add leoyeai-openclaw-master-skills/phy-bundle-size-audit