next-upgrade

Upgrade Next.js projects by applying official codemods and updating dependencies.

1|Updated Sep 25, 2025
One-click install
npx skills add https://github.com/arroschaves/brandaocontador-site --skill next-upgrade-arroschaves
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: next-upgrade
Source: https://github.com/arroschaves/brandaocontador-site/tree/main/.agent/skills/vercel-next-upgrade
Command: npx skills add https://github.com/arroschaves/brandaocontador-site --skill next-upgrade-arroschaves

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of upgrading your Next.js project to the latest version, handling dependency updates and applying necessary code transformations to minimize manual effort and potential errors.

Core Features & Use Cases

  • Automated Version Detection: Identifies current Next.js and related dependency versions from package.json.
  • Codemod Application: Executes official Next.js codemods to automatically refactor code for breaking changes.
  • Dependency Management: Updates Next.js, React, and React DOM to the latest versions.
  • Use Case: Effortlessly upgrade your Next.js application from version 14 to 15 by running this skill, which will handle the codemods and dependency updates for you.

Quick Start

Use the next-upgrade skill to upgrade your 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 Next.js to the latest version automatically?

Upgrading Next.js automatically involves detecting current dependencies from package.json, updating Next.js, React, and React DOM, and applying official codemods to refactor code for breaking changes.

What are Next.js codemods and how do they work for migrations?

Next.js codemods are automated code transformations that refactor your project for breaking changes during a migration. They apply official programmatic updates to ensure compatibility with new features.

Can I upgrade my Next.js project from version 14 to 15 without manual code changes?

Yes, you can upgrade Next.js from version 14 to 15 with minimal manual effort by using an automated tool. It executes official codemods and manages dependency updates to resolve breaking changes.

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

Yes, the Next.js upgrade process updates React and React DOM dependencies to their latest versions. It detects current versions from package.json and manages the required dependency updates.

What is the best way to resolve breaking changes when migrating Next.js applications?

The best way to resolve breaking changes when migrating Next.js applications is applying official codemods. These automated transformations refactor code programmatically, ensuring compatibility with new features.

Why do I need codemods for a Next.js migration?

You need codemods for a Next.js migration to automatically refactor code affected by breaking changes. They minimize manual effort and potential errors by applying programmatic updates based on official migration guides.