Bundle analysis

From ScriptedAlchemy/agent-bundle · View interactive version

Bundle analysis is an AI agent skill from the GitHub repository ScriptedAlchemy/agent-bundle. Bundle analysis. Use when measuring current bundle size, comparing stable or selected fixtures, inspecting composition, or cleaning retained comparison state.

How to use this skill

Skill file

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

latest commit. Read tmp/bundle-stats.txt and report non-zero differences.

scratchpad/<fixture>.ts`. Use only user-named or investigation-local fixtures;

keep temporary fixtures out of the stable corpus.

first and report the largest modules, dependency groups, and surprising

inclusions. Its readable-name output is not an exact size measurement.

packages resolve from current dist output.

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.