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.
Was der Skill vermittelt
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.
Funktionen
- 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
Überblick
- Herausgeber
- Vercel
Installation
- Führe diesen Befehl aus, um ihn zu Beliebiger Client hinzuzufügen:
npx skills add vercel/next.js --skill next-bundle-optimizer
Was enthalten ist
- references/client-dependencies.md
- references/fix-patterns.md
- references/graph-methods.md
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | In der Dokumentation nicht angegeben | |
| Herausgeber | Vercel | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | MIT | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 11. Nov. 2026143.470 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Quellen
- Skill-Datei (SKILL.md)github.com/vercel/next.js10. Nov. 2026
- Webseitenextjs.org15. Nov. 2026
- GitHub-Repositorygithub.com/vercel/next.js · Belegt: Herausgeber, Aktivität, Lizenz11. Nov. 2026
- Datensatz aus der GitHub-APIgithub.com/vercel/next.js · Belegt: Enthält Skripte15. Nov. 2026
- Ordner im Repository (next-bundle-optimizer)github.com/vercel/next.js · Belegt: Enthält Skripte10. Nov. 2026