What problem does it solve?
This Skill helps developers upgrade a Next.js project to the latest major version by coordinating version checks, codemod-driven migrations, and dependency updates to reduce manual engineering effort.
Core Features & Use Cases
- Codemod-guided upgrades: Automatically applies official Next.js codemods to adapt APIs and project structure during upgrades.
- Dependency and config alignment: Updates Next.js, React, and related packages; adjusts next.config.js and tsconfig when required; ensures type safety and runtime compatibility.
- Incremental upgrade planning: Proposes safe intermediate versions for major jumps (e.g., 12 → 13 → 14 → 15) and validates each step with builds and tests.
- Use Case: You maintain a Next.js app from version 12 and want to reach version 15 with minimal manual edits and stable builds.
Quick Start
Provide the target version via the argument hint and run the skill at your project root. The tool will detect current versions, fetch official upgrade guides, apply codemods, update dependencies, and report any manual changes required. Example: target-version: 15.0.0