next-upgrade

Upgrade Next.js projects to the latest version using official migration guides and codemods.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Fabianrzs/car-wash --skill next-upgrade-fabianrzs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: next-upgrade
Source: https://github.com/Fabianrzs/car-wash/tree/main/.agents/skills/next-upgrade
Command: npx skills add https://github.com/Fabianrzs/car-wash --skill next-upgrade-fabianrzs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Upgrades Next.js projects to the latest version following official migration guides and codemods to ensure smooth, consistent transitions between major versions.

Core Features & Use Cases

  • Detects current Next.js version from package.json and related dependencies
  • Retrieves official upgrade guides and codemods
  • Applies codemods and updates dependencies in incremental steps
  • Validates builds and compatibility after migration
  • Use Case: migrating a project from Next.js 13 to 14 with minimal manual changes

Quick Start

Upgrade your Next.js project by following the codemod-guided steps and updating dependencies per the official guides.

Frequently Asked Questions about next-upgrade

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upgrade Next.js to the latest version across multiple major releases?

To upgrade Next.js across major version jumps, apply incremental upgrades using codemod-assisted migrations. This process detects your current version, applies official transforms, updates dependencies step-by-step, and validates the build to ensure smooth transitions.

What is the best way to automate Next.js dependency updates and migrations?

The best way to automate Next.js migrations is by running guided codemods that retrieve official upgrade guides. These codemods automatically apply necessary code transforms and update dependencies progressively to maintain compatibility.

Can I migrate a Next.js project from version 13 to 14 with minimal manual changes?

Yes, you can migrate a Next.js project from version 13 to 14 with minimal manual changes by following codemod-guided steps. The automated transforms handle code updates while validating builds and compatibility after the migration.

Does a Next.js upgrade require incremental steps when skipping major versions?

Yes, a Next.js upgrade requires incremental steps when spanning major version jumps. The process detects your current version, fetches official guidance, applies transforms, and updates dependencies in sequential stages to prevent breaking changes.

Why should I use codemods for a Next.js versioning migration instead of manual updates?

You should use codemods for a Next.js versioning migration because they follow official migration guides to apply automated code transforms. This ensures consistent transitions between major versions while reducing human error during dependency updates.