Next Upgrade

🏢Official
by vercel · vlatest · Repository

Official vercel skill covering Vercel, Next.js for agent workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add vercel-next-upgrade npx -- -y @trustedskills/vercel-next-upgrade
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "vercel-next-upgrade": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/vercel-next-upgrade"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill, "Next Upgrade," assists AI agents in upgrading existing Next.js projects to the latest version. It automates parts of the upgrade process by identifying the current Next.js version, fetching official migration guides from Vercel's documentation, and running codemods to handle common breaking changes. The skill then guides the agent through updating dependencies, reviewing manual changes, and testing the upgraded application.

When to use it

  • You need to upgrade a Next.js project but find the process overwhelming due to potential breaking changes.
  • You want to automate some of the repetitive tasks involved in upgrading Next.js versions.
  • You're migrating between major Next.js versions (e.g., 13 to 14, or 15 to 16) and need guidance on incremental upgrades.

Key capabilities

  • Version Detection: Identifies the current Next.js version from package.json.
  • Guide Retrieval: Fetches official upgrade documentation from Vercel's website for specific versions (v14, v15, v16).
  • Codemod Execution: Runs Next.js codemods to automatically address common breaking changes like updating async Request APIs or transforming dynamic imports.
  • Dependency Management: Provides instructions for upgrading Next.js and related peer dependencies (React, React DOM, TypeScript types).
  • Breaking Change Review: Highlights key areas in the upgrade guide that require manual review and adjustments.

Example prompts

  • "Upgrade my Next.js project to the latest version."
  • "What are the steps for upgrading from Next.js 14 to 15?"
  • "Run the next-async-request-api codemod on my project."

Tips & gotchas

  • Incremental Upgrades: For major version jumps, it's recommended to upgrade incrementally (e.g., 13 -> 14 -> 15) as outlined in the official guides.
  • Manual Review is Required: While this skill automates some steps, carefully review the upgrade guide for manual changes needed in next.config.js and other areas.
  • Codemod Paths: Ensure correct paths are provided when running codemods; the skill provides example commands to get started.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
vercel
Installs
36

🏢 Official

Published by the company or team that built the technology.