Lightlines
By vercel

next-bundle-optimizer

vercel656 installs

Find what slows your Next.js routes at startup.

What it does

Identifies opportunities to reduce Next.js startup work and verifies explicitly requested bundle optimizations.

When to use it

Use for slow route startup, oversized client bundles, duplicate browser dependencies, or features that can wait for interaction.

How to use it

Give it a Next.js app; it returns optimization candidates or reports verified changes when fixes are explicitly requested.

What you provide

  • An existing project

Good to know

  • edits its own instructions

Latest review

What you need · 5

Requires an installed Next.js package providing analyzer capture, snapshot export, and the graph schema.

Uses the Node launcher to resolve the installed Next.js graph schema.


Access · 2

This skill

npx skills add

Execute

Installs companion optimization skills

/tmp/analyze-app-before.jsonl.gz

Write

Writes a temporary analyzer export