Agent skill

Vercel Migration Deep Dive

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

Migrate to Vercel from other platforms or re-architecture existing Vercel deployments.

MITAuto-check: notesDevOps & Cloud

Install Vercel Migration Deep Dive

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

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

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace vercel-migration-deep-dive --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-migration-deep-dive .claude/skills/vercel-migration-deep-dive && 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-migration-deep-dive
GitHub stars
2.8k
Token cost
~2k tokens
SKILL.md length
483 words
Files
5 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Migrate to Vercel from other platforms or re-architecture existing Vercel deployments.

  • Works in 6 steps: Configuration Mapping → Migrate Functions → Migrate Environment Variables → …
  • Migrating from Netlify
  • SKILL.md covers Overview, Current State, Prerequisites and Instructions, plus 6 more sections
  • Calls vercel, curl and jq

What it does

Vercel Migration Deep Dive is an agent skill from jeremylongshore/tons-of-skills-marketplace. Migrate to Vercel from other platforms or re-architecture existing Vercel deployments. Use when migrating from Netlify, AWS, or Cloudflare to Vercel, or when re-platforming an existing Vercel application. Trigger with phrases like "migrate to vercel", "vercel migration", "switch to vercel", "netlify to vercel", "aws to vercel", "vercel replatform".

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

It sits in DevOps & Cloud, covering Deployment. It works with Vercel, Netlify, Amazon Web Services and Cloudflare. 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

  • Migrating from Netlify
  • Cloudflare to Vercel
  • Re-platforming an existing Vercel application
  • With phrases like migrate to vercel

Example prompts

  • “migrate to vercel”
  • “vercel migration”
  • “switch to vercel”
  • “/vercel-migration-deep-dive”

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:*)

Workflow steps

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

  1. Configuration Mapping
  2. Migrate Functions
  3. Migrate Environment Variables
  4. Incremental Migration (Strangler Fig)
  5. DNS Cutover
  6. Validate Feature Parity

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:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • vercel
    • curl
    • jq
    • npm
    • netlify

    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
    • martinfowler.com

    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 Migration Deep Dive loads about 2k tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 94 tokens; SKILL.md has 483 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:142
    '.[] | "\(.key)=\(.values[0].value)"' > .env.migration
  • NoteMentions a .env fileSKILL.md:147
    done < .env.migration

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). 483 words, ~1,984 tokens.

Download SKILL.mdSave it as .claude/skills/vercel-migration-deep-dive/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
vercel-migration-deep-dive
description
Migrate to Vercel from other platforms or re-architecture existing Vercel deployments. Use when migrating from Netlify, AWS, or Cloudflare to Vercel, or when re-platforming an existing Vercel application. Trigger with phrases like "migrate to vercel", "vercel migration", "switch to vercel", "netlify to vercel", "aws to vercel", "vercel replatform".
allowed-tools
Read, Write, Edit, Bash(vercel:*), Bash(npm:*), Bash(npx:*)
compatibility
Designed for Claude Code
version
1.18.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, vercel, migration, replatform

Vercel Migration Deep Dive

Overview

Migrate applications to Vercel from Netlify, AWS (Lambda/CloudFront/S3), Cloudflare Workers, or traditional hosting. Covers configuration mapping, DNS cutover, feature parity validation, and incremental migration with the strangler fig pattern.

Current State

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

Prerequisites

  • Access to current hosting platform
  • Git repository with application source
  • DNS management access for domain cutover
  • Vercel account (Pro recommended for production)

Instructions

Step 1: Configuration Mapping

From Netlify:

NetlifyVercel Equivalent
netlify.tomlvercel.json
_redirects / _headersvercel.json redirects/headers
Netlify Functions (netlify/functions/)API routes (api/)
Netlify Edge FunctionsEdge Middleware or Edge Functions
NETLIFY_ENVVERCEL_ENV
Deploy previewsPreview deployments (automatic)
Branch deploysBranch preview URLs
json
// Netlify _redirects → vercel.json
// FROM: /old-page /new-page 301
// TO:
{
  "redirects": [
    { "source": "/old-page", "destination": "/new-page", "permanent": true }
  ]
}

// Netlify _headers → vercel.json
// FROM: /* X-Frame-Options: DENY
// TO:
{
  "headers": [
    {
      "source": "/(.*)",
      "headers": [
        { "key": "X-Frame-Options", "value": "DENY" }
      ]
    }
  ]
}

From AWS (Lambda + CloudFront + S3):

AWSVercel Equivalent
Lambda functionsServerless Functions (api/)
Lambda@EdgeEdge Functions / Middleware
CloudFront distributionsAutomatic CDN
S3 static hostingpublic/ directory
API GatewayAutomatic routing
CloudFront behaviorsvercel.json rewrites
AWS SAM/CDKvercel.json
Secrets ManagerEnvironment Variables
typescript
// AWS Lambda handler → Vercel Function
// FROM:
export const handler = async (event) => {
  return { statusCode: 200, body: JSON.stringify({ hello: 'world' }) };
};

// TO:
import type { VercelRequest, VercelResponse } from '@vercel/node';
export default function handler(req: VercelRequest, res: VercelResponse) {
  res.status(200).json({ hello: 'world' });
}

From Cloudflare Workers/Pages:

CloudflareVercel Equivalent
WorkersEdge Functions
Pages FunctionsAPI routes
KVVercel KV or Edge Config
R2Vercel Blob
D1Vercel Postgres
wrangler.tomlvercel.json
Step 2: Migrate Functions
bash
# Create Vercel project
vercel link

# Move function files to api/ directory
mkdir -p api
# Convert each function to Vercel format

# Install Vercel types
npm install --save-dev @vercel/node
Step 3: Migrate Environment Variables
bash
# Export from current platform, add to Vercel
# Netlify:
netlify env:list --json | jq -r '.[] | "\(.key)=\(.values[0].value)"' > .env.migration

# Add each to Vercel with proper scoping
while IFS='=' read -r key value; do
  echo "$value" | vercel env add "$key" production preview development
done < .env.migration

# Verify
vercel env ls
Step 4: Incremental Migration (Strangler Fig)

Route traffic incrementally from old platform to Vercel:

json
// Phase 1: Route /api/* to Vercel, keep everything else on old platform
// On old platform, add a rewrite/proxy:
// /api/* → https://my-app.vercel.app/api/*

// Phase 2: Move static pages to Vercel
// Update DNS for staging subdomain first:
// staging.example.com → cname.vercel-dns.com

// Phase 3: Move production
// Update DNS A record: example.com → 76.76.21.21
Step 5: DNS Cutover
bash
# Add domain to Vercel
vercel domains add example.com

# Verify domain ownership
vercel domains inspect example.com

# DNS records to set:
# Apex domain (example.com):
#   A → 76.76.21.21
#
# Subdomain (www.example.com):
#   CNAME → cname.vercel-dns.com
#
# Or transfer nameservers to Vercel:
#   NS → ns1.vercel-dns.com
#   NS → ns2.vercel-dns.com

# Wait for DNS propagation (check with dig)
dig example.com A +short
# Should return 76.76.21.21

# SSL certificate auto-provisions after DNS verification
Step 6: Validate Feature Parity
bash
# Compare old and new deployments
# Test all routes
for path in "/" "/about" "/api/health" "/api/users"; do
  echo "=== $path ==="
  echo "Old:"
  curl -sI "https://old.example.com${path}" | head -3
  echo "New:"
  curl -sI "https://my-app.vercel.app${path}" | head -3
done

# Compare headers
diff <(curl -sI https://old.example.com/ | sort) \
     <(curl -sI https://my-app.vercel.app/ | sort)

# Check redirects still work
curl -sI https://my-app.vercel.app/old-page | grep Location

Migration Checklist

StepValidated
All functions converted to Vercel formatRequired
Environment variables migrated with correct scopingRequired
Redirects and headers ported to vercel.jsonRequired
DNS configured and SSL provisionedRequired
Preview deployment tested end-to-endRequired
Performance baseline compared (old vs new)Recommended
Monitoring and alerting configuredRequired
Rollback plan documented (DNS revert)Required
Old platform kept running during validation periodRecommended
Show full SKILL.md (201 more words)Show less

Output

  • Configuration mapped from source platform to Vercel
  • Functions converted to Vercel serverless/edge format
  • Environment variables migrated with proper scoping
  • DNS cutover completed with SSL auto-provisioning
  • Feature parity validated

Error Handling

ErrorCauseSolution
Function format mismatchAWS/Netlify handler signatureConvert to (req, res) or Web API format
Missing env var after migrationNot added to correct environmentRe-add with vercel env add
DNS not resolvingPropagation delayWait 24-48 hours, check with dig
SSL not provisioningDNS records incorrectVerify A/CNAME records match Vercel's requirements
404 on migrated routesDifferent path conventionsAdd rewrites in vercel.json

Examples

Migrate a route through a reversible DNS cutover

Deploy the converted route to Vercel behind a preview hostname, verify functional parity and a rollback deployment with synthetic traffic, then lower DNS TTL well before the approved cutover. Change only the documented record, monitor resolution and application health from multiple regions, and retain the old platform during the validation window. If errors rise beyond the agreed threshold, restore the former DNS target and preserve the exact cutover timeline for review.

Resources

Next Steps

For advanced troubleshooting, see vercel-advanced-troubleshooting.

© 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 4 other files (references) in skills/.curated/vercel-migration-deep-dive of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/errors.md
  • references/examples.md
  • references/implementation-plan.md
  • references/pre-migration-assessment.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Vercel Migration Deep Dive 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 Migration Deep Dive compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vercel Migration Deep Dive this skilljeremylongshore/tons-of-skills-marketplace2.8k—~2kAutomated safety check: NotesMIT
Frontmcp Deploymentagentfront/frontmcp146—~9.2kAutomated safety check: NotesApache-2.0
Frontmcp Production Readinessagentfront/frontmcp146—~6.5kAutomated safety check: PassApache-2.0
Olore Opennext Latestolorehq/olore104—~825Automated safety check: PassMIT
Golivemikehasa/golive-skill1.3k—~13kAutomated safety check: NotesMIT
Nextjs On Cloudflarecloudflare/skills3k2 repos~678Automated safety check: PassApache-2.0

Similar skills

  • Frontmcp Deployment

    agentfront/frontmcp

    A skill your agent uses when deploying, building for production, packaging, or shipping a FrontMCP server.

    146 GitHub stars~9.2k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Pre-production audit, hardening, and go-live checklists for FrontMCP servers.

    146 GitHub stars~6.5k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Local opennext documentation reference (latest). An agent skill from olorehq/olore.

    104 GitHub stars~825 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Golive

    mikehasa/golive-skill

    Take an agent-written app from repo to live production on the user's OWN accounts, with providers they choose (hosting, database, auth, payments, email, domain/DNS).

    1.3k GitHub stars~13k tokensUpdated 7 days ago
    Backend & APIsAuto-check: notes
  • Nextjs On Cloudflare

    cloudflare/skills

    Official

    Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext.

    3k GitHub starsUsed in 2 repos~678 tokens
    DevOps & CloudAuto-check passed
  • Prepare Cloudflare Production Deployment

    LubomirGeorgiev/cloudflare-workers-nextjs-saas-template

    Source-of-truth runbook for preparing this Vinext Cloudflare Workers SaaS template for production deployment.

    786 GitHub stars~5.9k tokensUpdated yesterday
    DevOps & CloudAuto-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

Categories

Questions about Vercel Migration Deep Dive

What does Vercel Migration Deep Dive do?

Migrate to Vercel from other platforms or re-architecture existing Vercel deployments. Vercel Migration Deep Dive is an agent skill from jeremylongshore/tons-of-skills-marketplace. Migrate to Vercel from other platforms or re-architecture existing Vercel deployments.

When should I use Vercel Migration Deep Dive?

Vercel Migration Deep Dive fits situations like: migrating from Netlify; cloudflare to Vercel; re-platforming an existing Vercel application; with phrases like migrate to vercel.

How do I install Vercel Migration Deep Dive in Claude Code?

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

How do I install Vercel Migration Deep Dive in Codex?

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

Can I use Vercel Migration Deep Dive 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-migration-deep-dive -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-migration-deep-dive, .gemini/skills/vercel-migration-deep-dive, .github/skills/vercel-migration-deep-dive and .opencode/skills/vercel-migration-deep-dive in your project.

What does Vercel Migration Deep Dive need to run?

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

Does Vercel Migration Deep Dive access the network?

SKILL.md names 2 domains. As links in the text: vercel.com and martinfowler.com. This is read from the text; nothing was executed.

Is Vercel Migration Deep Dive safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Vercel Migration Deep Dive use?

Vercel Migration Deep Dive 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 Migration Deep Dive use?

About 2k tokens (SKILL.md is roughly 7.9k 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 895 tokens, read only when the agent opens those files.

What are the alternatives to Vercel Migration Deep Dive?

Skills that share tags, products or a category with Vercel Migration Deep Dive: Frontmcp Deployment (agentfront/frontmcp, 146 stars), Frontmcp Production Readiness (agentfront/frontmcp, 146 stars), Olore Opennext Latest (olorehq/olore, 104 stars) and Golive (mikehasa/golive-skill, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vercel Migration Deep Dive?

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.