next-upgrade

Upgrade Next.js projects to the latest stable version with codemods.

13|2|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/RipeSeed/rs-tunnel --skill next-upgrade-ripeseed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: next-upgrade
Source: https://github.com/RipeSeed/rs-tunnel/tree/main/.agents/skills/next-upgrade
Command: npx skills add https://github.com/RipeSeed/rs-tunnel --skill next-upgrade-ripeseed

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of upgrading Next.js projects to the latest version, handling dependency updates and applying necessary code transformations.

Core Features & Use Cases

  • Version Detection: Automatically identifies the current Next.js version.
  • Codemod Execution: Runs official Next.js codemods to refactor code for new versions.
  • Dependency Management: Updates Next.js, React, and related types to the latest versions.
  • Manual Change Guidance: Provides instructions for reviewing and implementing breaking changes.
  • Testing: Guides users on how to test the upgraded application.

Quick Start

Upgrade the current project to the latest Next.js 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?

Upgrade Next.js projects by automatically detecting the current version, fetching official migration guides, executing codemods for code transformations, and updating dependencies to the latest stable release.

What are codemods and how do they work during a Next.js upgrade?

Next.js codemods are automated code transformation scripts that refactor your existing JavaScript and React codebase to match new APIs and structural patterns required by the latest framework version.

Does upgrading Next.js automatically update React and TypeScript dependencies?

Yes, the Next.js upgrade process includes dependency management that updates React, TypeScript types, and related packages to their latest compatible versions.

Can I fully automate breaking changes when upgrading Next.js?

No, while codemods handle automated code transformations, the process also provides manual change guidance to help you review and implement breaking changes that cannot be automatically resolved.

What should I do after running Next.js codemods and updating dependencies?

After running codemods and updating dependencies, you should follow the provided testing guidance to verify the upgraded application and manually implement any identified breaking changes.