Analyzes JavaScript bundle contents, enables tree shaking, code-splits heavy dependencies, and enforces size budgets in CI.
A JavaScript bundle is code the browser must download, parse, and execute before the page becomes usable, and it accretes weight silently as dependencies pile up. Nobody adds a megabyte on purpose: it arrives one convenient import at a time. Shrink it by seeing what is inside, removing what is dead, and choosing lighter dependencies.
source-map-explorer,
webpack-bundle-analyzer, or Rollup's visualizer plugin. Find the biggest
modules and the surprises: a date library, an entire icon set, the same
package bundled twice."sideEffects": false where it holds, and build in production mode.
Import named exports (import { debounce }) instead of the whole namespace
so the bundler can drop what you do not use.import() so they load on demand instead of riding in the initial bundle.moment with date-fns or
Temporal, swap all of lodash for per-method imports or native
equivalents, and pull only the components you use from a large UI
library. Check the cost on Bundlephobia before adding anything.npm dedupe, inspect the lockfile, and collapse to a single copy
with resolutions or overrides.size-limit or bundlesize
check that fails the build when the payload crosses a threshold. Without a
gate, the weight you removed creeps back every sprint.The one-time cost of a server or CLI process booting is startup-time; the main-thread cost during interaction is web-vitals' INP. This skill covers what ships in the JavaScript payload. Framework-specific splitting defers to the framework's build configuration.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job