next-upgrade

Automate Next.js project upgrades using official migration guides and codemods.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/cedriking/zenda --skill next-upgrade-cedriking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: next-upgrade
Source: https://github.com/cedriking/zenda/tree/main/.agents/skills/next-upgrade
Command: npx skills add https://github.com/cedriking/zenda --skill next-upgrade-cedriking

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Upgrade projects to the latest Next.js version by following official migration guides and codemods, reducing manual upgrade effort.

Core Features & Use Cases

  • Automates detection of current Next.js version and related React dependencies.
  • Fetches official upgrade documentation and applies recommended codemods to streamline breaking changes.
  • Supports incremental upgrades across major versions and verification via build and local dev runs.
  • Use Case: A project on Next.js upgrades to 14 or 15 with automated codemods and dependency updates.

Quick Start

Upgrade your project to the latest Next.js version by following the steps outlined above and verify with a local build.

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 safely?

To upgrade Next.js safely, automate the process by applying official migration guides and codemods that handle breaking changes, update React dependencies, and verify the upgrade via build and local dev tests.

What are codemods and how do they help with Next.js migration?

Codemods are automated code transformation tools that streamline Next.js migration by automatically updating deprecated syntax and applying recommended changes from official upgrade documentation, reducing manual effort.

Can I upgrade Next.js across multiple major versions incrementally?

Yes, you can upgrade Next.js across major versions incrementally by detecting the current version, applying codemods for each major upgrade path, updating dependencies, and verifying compatibility through build tests.

Does the Next.js upgrade process update React and React DOM dependencies automatically?

Yes, the Next.js upgrade process automates detection of current React dependencies and updates them alongside Next.js to ensure version compatibility across major-version upgrade paths.

What's the best way to verify a Next.js upgrade after applying codemods?

The best way to verify a Next.js upgrade after applying codemods is to run a local build and execute dev tests, confirming that the updated dependencies and transformed code compile and run correctly.

Why should I use codemods instead of manually updating my Next.js project?

Using codemods instead of manually updating your Next.js project reduces manual upgrade effort by automatically fetching official migration documentation and applying recommended code transformations for breaking changes.