next-upgrade

Upgrade Next.js projects to latest stable versions with codemods and dependency updates.

5|2|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/BWCbewchan/tmsmindx --skill next-upgrade-bwcbewchan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: next-upgrade
Source: https://github.com/BWCbewchan/tmsmindx/tree/main/.agents/skills/next-upgrade
Command: npx skills add https://github.com/BWCbewchan/tmsmindx --skill next-upgrade-bwcbewchan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of upgrading a Next.js project to the latest version, handling dependency updates and applying necessary codemods to manage breaking changes.

Core Features & Use Cases

  • Automated Version Detection: Identifies the current Next.js version from package.json.
  • Codemod Application: Runs official Next.js codemods to refactor code for new versions.
  • Dependency Management: Updates Next.js and related peer dependencies to the latest versions.
  • Use Case: Effortlessly upgrade your Next.js application from version 14 to 15, ensuring all breaking changes are addressed automatically.

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 my Next.js project to the latest version automatically?

To upgrade Next.js automatically, this Skill detects your current version from package.json, fetches official migration guides, applies automated codemods, and updates dependencies to ensure compatibility with new releases.

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

Codemods are automated code transformation scripts used during Next.js migration to refactor code for new versions. They handle breaking changes by automatically updating deprecated syntax and APIs across your project.

Can I use this to upgrade my Next.js application from version 14 to 15?

Yes, you can upgrade your Next.js application from version 14 to 15. The process identifies your current version, runs official codemods to address breaking changes, and updates related peer dependencies automatically.

What is the best way to handle breaking changes when updating Next.js?

The best way to handle breaking changes when updating Next.js is applying official codemods. This Skill fetches official migration guides and executes these automated transformations to refactor code and ensure compatibility.

Do I need to manually update peer dependencies when upgrading Next.js?

No, you do not need to manually update peer dependencies. The upgrade process includes automated dependency management, updating Next.js and its related peer dependencies to the latest stable versions simultaneously.