Skip to content
Back to skills

Bundle Analysis

ASecurity

Bundle analysis. Use when measuring current bundle size, comparing stable or selected fixtures, inspecting composition, or cleaning retained comparison state.

  • 11 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agents

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add CryogenicPlanet/chirp --skill bundle-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bundle Analysis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bundle Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cryogenicplanet-bundle-analysis/badge)](https://www.skillsdirectory.com/skills/cryogenicplanet-bundle-analysis)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bundle-analysis
description: Bundle analysis. Use when measuring current bundle size, comparing stable or selected fixtures, inspecting composition, or cleaning retained comparison state.
---

Read `packages/tools/bundle/README.md`, then select one workflow:

- **Stable comparison:** `pnpm bundle-compare <base-ref>`. Use `HEAD~1` for the
  latest commit. Read `tmp/bundle-stats.txt` and report non-zero differences.
- **Selected comparison:** `pnpm bundle-compare-selected --base <ref>
  scratchpad/<fixture>.ts`. Use only user-named or investigation-local fixtures;
  keep temporary fixtures out of the stable corpus.
- **Composition:** `pnpm bundle-analyze scratchpad/<fixture>.ts`. Read raw data
  first and report the largest modules, dependency groups, and surprising
  inclusions. Its readable-name output is not an exact size measurement.
- **Current size:** Build immediately before the direct bundle report so Effect
  packages resolve from current `dist` output.
- **Cleanup:** Stable comparisons retain `tmp/bundle-base` for reuse unless
  cleanup is requested. Remove selected-comparison state retained with
  `--keep-base` after its final use. Verify cleanup without disturbing unrelated
  worktrees.

The task is complete when the selected artifact is inspected, requested size or
composition findings are reported, generated paths are named, and comparison
state follows the selected workflow's retention policy.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…