What problem does it solve?
Next.js major and minor upgrades can break apps due to changed APIs, deprecated features, and required codemods, making upgrades risky and time-consuming.
Core Features & Use Cases
- Version discovery from your project: Detects your current Next.js/React/React DOM versions by inspecting
package.json.
- Official upgrade guidance and path planning: Selects the correct migration steps based on your current version and recommends incremental upgrades for large jumps.
- Codemods plus dependency alignment: Runs Next.js codemods first, then upgrades Next.js and peer dependencies together, and validates required breaking changes.
- Use Case: Upgrading a production App Router project when moving from Next.js 13 to 14 to 15, handling async request behavior and other breaking changes with minimal downtime.
Quick Start
Tell the AI to upgrade your Next.js project to the latest version using the next-upgrade skill.