Description
next-upgrade is an agent skill from Vercel that upgrades a Next.js project to a newer version. It reads the current package.json, fetches the official migration guides for the versions you are moving across, runs the matching codemods in the right order, and updates dependencies. It handles incremental upgrades across major versions, and where a breaking API or config change needs a manual edit, it flags that change rather than guessing. The aim is to avoid cross-referencing several version-specific migration documents by hand and running codemods in the wrong sequence. Listed uses include upgrading a Next.js 13 app to version 15 without missing breaking changes, running the next-async-request-api codemod after a version bump causes build failures, checking which peer dependency versions React and React DOM need after an upgrade, migrating next.config.js options that were removed or renamed in a new release, and auditing TypeScript type packages after moving to a new Next.js major version. The skill is for developers who maintain Next.js apps and want an assistant to plan and run the upgrade. You install it with the skills command from the vercel-labs/next-skills repository, and the source is public on GitHub.…
Highlights
- Reads package.json and picks the right versions
- Fetches official migration guides
- Runs codemods in the correct order
- Flags manual changes for breaking APIs and config
- Checks React and TypeScript peer dependencies
Ratings & Reviews
No ratings yet
Be the first to rate vercel-labs/next-upgrade.
People also visit
vercel-labs/next-upgrade FAQ
What does this skill do?
It upgrades a Next.js project by reading your package.json, following the official migration guides, running codemods and updating dependencies.
How do I install it?
Run npx skills add https://github.com/vercel-labs/next-skills --skill next-upgrade, or paste the repository link and ask your coding assistant to install it.
Can it upgrade across several major versions?
Yes. The page says it handles incremental upgrades across major versions and flags changes that need manual work.
Who is it for?
Developers who maintain Next.js apps and want an assistant to plan and run an upgrade rather than reading each migration guide by hand.
Is it free?
The skill is in a public repository on GitHub and the page shows no price, so it is open source.
What are the best vercel-labs/next-upgrade alternatives?
Popular alternatives to vercel-labs/next-upgrade include migrate-to-vinext, prisma-next-upgrade and nextjs-code-review. See all vercel-labs/next-upgrade alternatives
















