vercel/next-upgrade
Upgrade Next.js to the latest version following official migration guides and codemods. Use when upgrading Next.js versions, running codemods, or migrating between major releases.
npx skills add https://github.com/vercel/vercel-plugin --skill next-upgrade
Upgrade the current project to the latest Next.js version following official migration guides.
package.json to identify the current Next.js version and related dependencies (React, React DOM, etc.) npx @next/codemod@latest <transform> <path>
Common transforms:
next-async-request-api - Updates async Request APIs (v15)next-request-geo-ip - Migrates geo/ip properties (v15)next-dynamic-access-named-export - Transforms dynamic imports (v15) npm install next@latest react@latest react-dom@latest
next.config.js npm install @types/react@latest @types/react-dom@latest
npm run build to check for build errorsnpm run dev and test key functionalityTake vercel/next-upgrade from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm, npx.
Without those the skill loads but fails at the first command.