Webpack & Vite Bundle Size Tree-Shaking Dietician

    by AllAccessData

    1

    Breaks a bundle down by dependency weight, finds the imports that defeat tree-shaking, and returns the diffs - barrel file fixes, dynamic import splits - with the gzip saving for each.

    $5

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned

    Works with the AI Agents you already use

    About this skill

    Webpack & Vite Bundle Size Tree-Shaking Dietician Someone imported a date library for one function and it brought every locale with it. That is almost always where the first few hundred kilobytes went.

    Built for frontend teams whose bundle has grown past the point where anyone remembers why. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.

    What's included:

    • Dependency weight breakdown: what each package actually contributes after minification and gzip, ranked, so effort goes where the bytes are.
    • Tree-shaking diagnosis: the specific import patterns defeating dead-code elimination - barrel files re-exporting a whole library, default imports where a named one would shake, CommonJS dependencies that cannot be analysed statically at all.
    • Code splitting recommendations: dynamic import boundaries drawn where a route or interaction genuinely defers the cost.
    • Exact diffs with measured savings: each change paired with its gzip delta on your build, not a generic estimate.
    • Continuous tracking: per-PR bundle size reporting and dead-code alerts to Slack, which is how a bundle stays slim after the one-off cleanup.

    The improvement depends entirely on what your bundle looks like now - a well-pruned build has little left to give, and the report states the measured delta rather than promising a percentage.

    Two things to verify rather than trust. Tree-shaking depends on ESM and on packages declaring their side effects honestly; a dependency with an incorrect sideEffects: false will have code stripped that it actually needed, and the failure shows up at runtime in a path your tests may not cover. And code splitting relocates cost rather than deleting it: split too finely and you trade one large download for a waterfall of small ones that is slower on a poor connection. Measure on a throttled network profile, not on your laptop.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    Breaks a bundle down by dependency weight, finds the imports that defeat tree-shaking, and returns the diffs - barrel file fixes, dynamic import splits - with the gzip saving for each.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Webpack & Vite Bundle Size Tree-Shaking Dietician on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Productivity

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.