Agent skill

Vercel Upgrade Migration

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Upgrade Vercel CLI, Node.js runtime, and Next.js framework versions with breaking change detection.

MITAuto-check passedData & Analytics

Install Vercel Upgrade Migration

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill vercel-upgrade-migration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace vercel-upgrade-migration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/vercel-upgrade-migration .claude/skills/vercel-upgrade-migration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
vercel-upgrade-migration
GitHub stars
2.8k
Token cost
~1.5k tokens
SKILL.md length
408 words
Files
4 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Upgrade Vercel CLI, Node.js runtime, and Next.js framework versions with breaking change detection.

  • Works in 6 steps: Check Current Versions → Upgrade Vercel CLI → Upgrade Node.js Runtime → …
  • Upgrading Vercel CLI versions
  • SKILL.md covers Overview, Current State, Prerequisites and Instructions, plus 6 more sections
  • Calls npm, vercel and git

What it does

Vercel Upgrade Migration is an agent skill from jeremylongshore/tons-of-skills-marketplace. Upgrade Vercel CLI, Node.js runtime, and Next.js framework versions with breaking change detection. Use when upgrading Vercel CLI versions, migrating Node.js runtimes, or updating Next.js between major versions on Vercel. Trigger with phrases like "upgrade vercel", "vercel migration", "vercel breaking changes", "update vercel CLI", "next.js upgrade on vercel".

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/errors.md`, `references/examples.md` and `references/implementation.md`). Compatibility notes: Designed for Claude Code

It sits in Data & Analytics, covering Anomaly detection. It works with Vercel, Next.js, Node.js and npm. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Upgrading Vercel CLI versions
  • Migrating Node.js runtimes
  • Updating Next.js between major versions on Vercel
  • With phrases like upgrade vercel

Example prompts

  • “upgrade vercel”
  • “vercel migration”
  • “vercel breaking changes”
  • “/vercel-upgrade-migration”

Requirements

  • Node.js
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash(vercel:*), Bash(npm:*), Bash(npx:*), Bash(git:*)

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Check Current Versions
  2. Upgrade Vercel CLI
  3. Upgrade Node.js Runtime
  4. Upgrade Next.js on Vercel
  5. Test in Preview Before Production
  6. Rollback Strategy

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash(vercel:*)
    • Bash(npm:*)
    • Bash(npx:*)
    • Bash(git:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • vercel
    • git
    • jq
    • npx
    • nvm
    • curl
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • vercel.com
    • github.com
    • nextjs.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Vercel Upgrade Migration loads about 1.5k tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 97 tokens; SKILL.md has 408 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 408 words, ~1,522 tokens.

Download SKILL.mdSave it as .claude/skills/vercel-upgrade-migration/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
vercel-upgrade-migration
description
Upgrade Vercel CLI, Node.js runtime, and Next.js framework versions with breaking change detection. Use when upgrading Vercel CLI versions, migrating Node.js runtimes, or updating Next.js between major versions on Vercel. Trigger with phrases like "upgrade vercel", "vercel migration", "vercel breaking changes", "update vercel CLI", "next.js upgrade on vercel".
allowed-tools
Read, Write, Edit, Bash(vercel:*), Bash(npm:*), Bash(npx:*), Bash(git:*)
compatibility
Designed for Claude Code
version
1.18.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, vercel, migration, upgrade

Vercel Upgrade Migration

Overview

Safely upgrade Vercel CLI, Node.js runtime versions, and framework versions (especially Next.js) on Vercel. Covers breaking change detection, vercel.json schema changes, and rollback strategy.

Current State

!vercel --version 2>/dev/null || echo 'Vercel CLI not installed' !node --version 2>/dev/null || echo 'N/A' !cat package.json 2>/dev/null | jq -r '.dependencies.next // "no next.js"' 2>/dev/null || echo 'N/A'

Prerequisites

  • Current Vercel CLI installed
  • Git for version control
  • Test suite available
  • Preview deployment for testing

Instructions

Step 1: Check Current Versions
bash
# Current CLI version
vercel --version

# Current Node.js runtime on Vercel
cat package.json | jq '.engines.node'
# Or check vercel.json
cat vercel.json | jq '.functions'

# Check for available CLI updates
npm outdated -g vercel

# Check framework version
npm ls next react
Step 2: Upgrade Vercel CLI
bash
# Upgrade to latest
npm install -g vercel@latest

# Or specific version
npm install -g vercel@39

# Verify
vercel --version

CLI breaking changes to watch for:

  • v28+: vercel env pull output format changed
  • v32+: vercel dev uses new function runtime
  • v37+: vercel.json builds property deprecated in favor of framework detection
Step 3: Upgrade Node.js Runtime
json
// package.json — specify the Node.js version
{
  "engines": {
    "node": "20.x"
  }
}

Available runtimes on Vercel:

RuntimeStatusEOL
Node.js 18.xSupportedApril 2025
Node.js 20.xActive LTS (recommended)April 2026
Node.js 22.xCurrentOctober 2027
bash
# Test locally with the target Node version first
nvm use 20
npm test
npm run build
Step 4: Upgrade Next.js on Vercel
bash
# Use the Next.js upgrade codemod
npx @next/codemod@latest upgrade

# Or manual upgrade
npm install next@latest react@latest react-dom@latest

# Check for breaking changes
npx @next/codemod --dry-run

Key Next.js migration points:

  • 13 → 14: App Router stable, Turbopack available, Server Actions stable
  • 14 → 15: fetch no longer cached by default, cookies() is async, NextRequest.geo removed (use geolocation() from @vercel/functions)
  • vercel.json changes: rewrites/redirects in next.config.js take precedence over vercel.json
Step 5: Test in Preview Before Production
bash
# Create a branch for the upgrade
git checkout -b upgrade/vercel-cli-39

# Make changes and push
git add -A && git commit -m "chore: upgrade vercel CLI and Node.js 20"
git push -u origin upgrade/vercel-cli-39

# Vercel auto-deploys a preview — test it
vercel ls | head -3
curl -s https://my-app-git-upgrade-vercel-cli-39-team.vercel.app/api/health

# Run full test suite against preview
npm test -- --env=preview
Step 6: Rollback Strategy
bash
# If the upgrade breaks production — instant rollback
vercel rollback

# Pin to a specific CLI version in CI
# .github/workflows/deploy.yml
# - run: npm install -g vercel@38  # pin to known good version

# Revert Node.js runtime
# Change engines.node back in package.json
# Push and redeploy

vercel.json Schema Migration

Deprecated builds property (v2 → current):

json
// Old (deprecated):
{
  "builds": [
    { "src": "api/**/*.ts", "use": "@vercel/node" }
  ]
}

// New (framework auto-detection):
{
  "functions": {
    "api/**/*.ts": {
      "runtime": "nodejs20.x",
      "maxDuration": 30
    }
  }
}

Output

  • Vercel CLI upgraded to latest version
  • Node.js runtime version updated in package.json
  • Framework upgraded with codemods applied
  • Preview deployment tested before production promotion
  • Rollback strategy documented
Show full SKILL.md (176 more words)Show less

Error Handling

ErrorCauseSolution
Build failed after Node upgradeDependency incompatible with new NodeCheck npm ls for native modules, rebuild
Module not found after Next.js upgradeImport paths changedRun npx @next/codemod for automatic fixes
vercel.json validation errorSchema changed in new CLI versionRemove deprecated builds, use functions
FUNCTION_INVOCATION_FAILEDRuntime API removed in new Node.jsCheck Node.js changelog for removed APIs
Preview works but prod failsEnv vars differ between environmentsVerify production env vars match preview

Examples

Upgrade Node and framework versions with a controlled fallback

Create a dependency-update branch, run the framework codemod and focused tests, and deploy the immutable commit to preview with production-like non-secret configuration. Compare build output, route behavior, and runtime errors against the prior release before approving production promotion. Retain the previous lockfile and deployment as the rollback target; if the upgrade exposes an incompatible module, revert the isolated upgrade commit rather than patching production ad hoc.

Resources

Next Steps

For CI/CD integration, see vercel-ci-integration.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/.curated/vercel-upgrade-migration of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/errors.md
  • references/examples.md
  • references/implementation.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Vercel Upgrade Migration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Vercel Upgrade Migration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vercel Upgrade Migration this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.5kAutomated safety check: PassMIT
Bun Nextjssecondsky/claude-skills227—~1.9kAutomated safety check: NotesMIT
Sandbox Benchvercel/next.js143k—~4.1kAutomated safety check: PassMIT
Next Upgradevercel-labs/openreview1.7k6 repos~502Automated safety check: PassNone
Spotpatchhuanglvjing/spotpatch134—~998Automated safety check: PassMIT
Cicd Pipeline Generatorailabs-393/ai-labs-claude-skills455—~2.7kAutomated safety check: PassMIT

Similar skills

  • Bun Nextjs

    secondsky/claude-skills

    This skill should be used when the user asks about "Next.js with Bun", "Bun and Next", "running Next.js on Bun", "Next.js development with Bun", "create-next-app with Bun", or building Next.js…

    227 GitHub stars~1.9k tokensUpdated 13 days ago
    DevOps & CloudAuto-check: notes
  • Sandbox Bench

    vercel/next.js

    Official

    Benchmark React or Next.js changes on Vercel Sandbox VMs with paired A/B statistics: react PR/commit vs base, or Next.js PR/commit vs base, measured end-to-end through the bench/render-pipeline app…

    143k GitHub stars~4.1k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Next Upgrade

    vercel-labs/openreview

    Official

    Upgrade Next.js to the latest version following official migration guides and codemods

    1.7k GitHub starsUsed in 6 repos~502 tokens
    DevelopmentAuto-check passed
  • Spotpatch

    huanglvjing/spotpatch

    为 React 项目建立从浏览器页面元素到精确 JSX/TSX 源码、结构化上下文与可审阅修改的 SpotPatch 工作流。用户提到 SpotPatch、截图沟通前端修改、页面元素定位源码、Vite 或 Next.js 接入、组件数据链路、结构化 Prompt、AI 补丁审阅、安装检查或故障排查时使用此技能。

    134 GitHub stars~998 tokensUpdated 13 days ago
    Frontend & DesignAuto-check passed
  • Cicd Pipeline Generator

    ailabs-393/ai-labs-claude-skills

    This skill should be used when creating or configuring CI/CD pipeline files for automated testing, building, and deployment.

    455 GitHub stars~2.7k tokensUpdated 11 mo ago
    DevOps & CloudAuto-check passed
  • Flags SDK

    vercel/vercel-plugin

    Official

    Set up and use feature flags and A/B tests with the Flags SDK (flags npm package) and Vercel Flags.

    301 GitHub stars~6.9k tokensUpdated yesterday
    Marketing & SEOAuto-check: notes

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Vercel Upgrade Migration

What does Vercel Upgrade Migration do?

Upgrade Vercel CLI, Node.js runtime, and Next.js framework versions with breaking change detection. Vercel Upgrade Migration is an agent skill from jeremylongshore/tons-of-skills-marketplace.js framework versions with breaking change detection.

When should I use Vercel Upgrade Migration?

Vercel Upgrade Migration fits situations like: upgrading Vercel CLI versions; migrating Node.js runtimes; updating Next.js between major versions on Vercel; with phrases like upgrade vercel.

How do I install Vercel Upgrade Migration in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill vercel-upgrade-migration -a claude-code`. Or copy the skill folder (skills/.curated/vercel-upgrade-migration in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/vercel-upgrade-migration in your project. Claude Code loads it when a task matches its description.

How do I install Vercel Upgrade Migration in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill vercel-upgrade-migration -a codex`. Or copy the skill folder (skills/.curated/vercel-upgrade-migration in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/vercel-upgrade-migration in your project. Codex loads it when a task matches its description.

Can I use Vercel Upgrade Migration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill vercel-upgrade-migration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vercel-upgrade-migration, .gemini/skills/vercel-upgrade-migration, .github/skills/vercel-upgrade-migration and .opencode/skills/vercel-upgrade-migration in your project.

What does Vercel Upgrade Migration need to run?

Going by SKILL.md and its folder, Vercel Upgrade Migration needs the command-line tools its instructions call (npm, vercel, git, jq, npx and nvm). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash(vercel:*), Bash(npm:*), Bash(npx:*), Bash(git:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Vercel Upgrade Migration access the network?

SKILL.md names 3 domains. As links in the text: vercel.com, github.com and nextjs.org. This is read from the text; nothing was executed.

Is Vercel Upgrade Migration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Vercel Upgrade Migration use?

Vercel Upgrade Migration is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Vercel Upgrade Migration use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 538 tokens, read only when the agent opens those files.

What are the alternatives to Vercel Upgrade Migration?

Skills that share tags, products or a category with Vercel Upgrade Migration: Bun Nextjs (secondsky/claude-skills, 227 stars), Sandbox Bench (vercel/next.js, 143k stars), Next Upgrade (vercel-labs/openreview, 1.7k stars) and Spotpatch (huanglvjing/spotpatch, 134 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vercel Upgrade Migration?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.