Skip to main content

bundle-analysis

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

ソース情報

リポジトリ
pingdotgg/t3code
ソースの最終更新活動
2026年9月18日 06:21
検出された SKILL.md の言語
英語
スター
23,719
フォーク
6,165

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

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.
GitHubで見る