next-upgrade

Automate Next.js upgrades with codemods, dependency updates, and review guidance.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/mustafazeydani/nextjs-nestjs-monorepo-starter --skill next-upgrade-mustafazeydani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: next-upgrade
Source: https://github.com/mustafazeydani/nextjs-nestjs-monorepo-starter/tree/main/.agents/skills/next-upgrade
Command: npx skills add https://github.com/mustafazeydani/nextjs-nestjs-monorepo-starter --skill next-upgrade-mustafazeydani

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of upgrading a Next.js project to the latest version, streamlining the migration and minimizing the risk of breaking changes.

Core Features & Use Cases

  • Automated Upgrade Path: Determines the appropriate upgrade path based on the current Next.js version.
  • Codemod Execution: Executes Next.js codemods to automate the migration of breaking changes.
  • Dependency Update: Automatically updates Next.js and related dependencies to their latest versions.
  • Manual Review Guidance: Provides a guide for manual review and adjustments needed after the upgrade.
  • Use Case: For a developer managing a large Next.js application, this Skill can save days of manual work and ensure a smooth upgrade process.

Quick Start

Use the next-upgrade skill to upgrade your Next.js project to the latest version with the command 'next-upgrade [target-version]'.

Frequently Asked Questions about next-upgrade

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

FAQPage Schema
How do I upgrade my Next.js project to the latest version?

To upgrade your Next.js project, this skill identifies the correct upgrade path, applies codemods, updates dependencies, and guides manual review. It streamlines migration and minimizes breaking changes for applications of all sizes.

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

Next.js codemods are scripts that automatically transform your code to resolve breaking changes during a migration. The skill executes these codemods to automate the migration process, reducing the need for manual code adjustments.

Can I use this Next.js migration tool with a large application?

Yes, this Next.js migration tool is applicable to applications of all sizes with varying complexity. It requires a working Next.js project and can save developers managing large applications days of manual upgrade work.

What is the best way to update Next.js dependencies automatically?

The best way to update Next.js dependencies automatically is using this skill to identify your current version, determine the upgrade path, and update Next.js and related dependencies to their latest versions while applying necessary codemods.

Do I need to manually review my code after a Next.js upgrade?

Yes, you need to manually review your code after a Next.js upgrade. While the skill automates dependency updates and applies codemods, it also provides a guide for the manual review and adjustments required to ensure a smooth migration.