next-bundle-optimizer
A skill published in the Next.js repository, and described in the Next.js documentation, for finding and reducing the JavaScript a Next.js app sends to the browser on first load.
O que a skill ensina
A skill published in the Next.js repository, and described in the Next.js documentation, for finding and reducing the JavaScript a Next.js app sends to the browser on first load. By default it only audits: it captures a snapshot with next analyze, exports the bundle graph as compressed JSON lines, reads it against the installed schema and ranks client-side contributors by size, repetition and risk, including server-only code that may have leaked into the client. When the user asks for fixes, it makes one small change at a time, takes a new snapshot, runs tests, type checks and a behaviour check, and keeps the change only if the numbers improve. It needs Next.js 16.4 or later.
O que faz
- Capture and export Next.js bundle analyzer snapshots
- Rank client-side code by size and repetition per route
- Flag server-only modules that reached the browser bundle
- Make and measure one bundle fix at a time
Sobre
- Publicador
- Vercel
Instalação
- Execute este comando para adicionar ao Qualquer cliente:
npx skills add vercel/next.js --skill next-bundle-optimizer
O que tem dentro
- references/client-dependencies.md
- references/fix-patterns.md
- references/graph-methods.md
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Não informado na documentação | |
| Publicador | Vercel | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | MIT | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 2026143.470 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Fontes
- Arquivo da skill (SKILL.md)github.com/vercel/next.js10 de nov. de 2026
- Página webnextjs.org15 de nov. de 2026
- Repositório no GitHubgithub.com/vercel/next.js · Comprova: Publicador, Atividade, Licença11 de nov. de 2026
- Registro na API do GitHubgithub.com/vercel/next.js · Comprova: Inclui scripts15 de nov. de 2026
- Pasta no repositório (next-bundle-optimizer)github.com/vercel/next.js · Comprova: Inclui scripts10 de nov. de 2026