ac-frontend-bundling
БесплатноБез исполняемых скриптовНе проверенHow front-end code becomes something a browser can load: module resolution and the import graph, code splitting and entry points, tree shaking and dead code…
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
Front-end bundling
Overview
A bundler takes a graph of imports and produces files a browser can fetch. Between those two ends sit the decisions that decide whether the application loads quickly or slowly: which modules resolve to which files, which code is included by default and which is fetched on demand, which exports are dropped as unused, and how the output is split into cacheable pieces. None of these is a runtime concern; all of them are build-output concerns, and they are where most load-time problems are created.
This skill covers the build output layer: module resolution and the import graph it produces, entry points and splitting, tree shaking and the side effects that defeat it, bundle budgets enforced in CI, source maps and what they cost and leak, and asset handling with cache-busting hashes. The runtime measurement of what users experienced belongs to the performance skill.
Primary source: https://web.dev/learn.
When to use
- When bundle size or load behaviour needs diagnosis and the build output is the suspect.
- When adding code splitting or lazy loading to an application.
- When tree shaking is not removing code that appears unused.
- When setting bundle budgets or wiring source maps for production errors.
When NOT to use
- For Core Web Vitals measurement and targets (use ac-performance).
- For repo-wide build graphs and remote caching (use ac-monorepo-and-build-systems).
- For runtime profiling of rendering cost (use ac-performance).
Subskill Index
| Leaf | Domain segment | Scope (one line) |
|---|---|---|
subskills/module-resolution.md |
software-engineering/module-resolution |
How an import becomes a file, and the graph it implies. |
subskills/entry-points-and-splitting.md |
software-engineering/entry-points-and-splitting |
Entry points, chunks, and what loads when. |
subskills/tree-shaking-and-side-effects.md |
software-engineering/tree-shaking-and-side-effects |
Dead-code removal and the patterns that defeat it. |
subskills/bundle-budgets.md |
software-engineering/bundle-budgets |
Size budgets enforced in CI and what they should measure. |
subskills/source-maps.md |
software-engineering/source-maps |
Debuggable production output without leaking source. |
subskills/asset-graphs-and-hashing.md |
software-engineering/asset-graphs-and-hashing |
Referencing assets so caches can be trusted. |
subskills/bundle-record.md |
software-engineering/bundle-record |
The written record of output shape and its budgets. |
Status and honest limits
Bundlers differ in defaults and in the exact resolution algorithm, and the ecosystem moves faster than any summary; the concepts here are stable across tools, but the flag that implements one is not. Nothing here recommends a bundler, and a bundle that measures small can still load slowly when the entry point is reached on a slow first request — the build output is one input among several, and the field data remains the judge.
Установить ac-frontend-bundling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ac-frontend-bundling?
How front-end code becomes something a browser can load: module resolution and the import graph, code splitting and entry points, tree shaking and dead code, bundle budgets and route-level loading, source maps in production, asset graphs and cache-busting, and the written bundle record. It explains what the build produces and how to keep it small; it never recommends a bundler and never promises a load time. Use when asking "bundle size", "code splitting", "tree shaking", "lazy load", "dynamic import", "source map", "module resolution", "entry point", "chunk", "why is my bundle so big", "import cycle". Not for Core Web Vitals targets and field data (ac-performance), not for monorepo dependency graphs and remote caches (ac-monorepo-and-build-systems), not for general build hermeticity (ac-monorepo-and-build-systems).
Как установить скилл ac-frontend-bundling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ac-frontend-bundling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic