posthog/compare-array-bundle-size
Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy. Use when asked about array.js size, bundle-size percentage changes, whether browser SDK changes increased the bundle, or for a fast size check that should not run the production Rollup build.
npx skills add https://github.com/PostHog/posthog-js --skill compare-array-bundle-size
array.js bundle sizeUse the repository's fast comparison command. Do not run TypeScript compilation, Terser, Rollup, Turbo, or the full build unless the user separately requests production bundle numbers.
origin/main and then main. pnpm bundle-size:array [baseline-ref]
pnpm bundle-size:array HEAD. With no relevant uncommitted source changes, every row should report 0.00%.Take posthog/compare-array-bundle-size from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.