vercel-migration-deep-dive
Execute Vercel major re-architecture and migration strategies with strangler fig pattern. Use when migrating to or from Vercel, performing major version upgrades, or re-platforming existing integrations to Vercel. Trigger with phrases like "migrate vercel", "vercel migration", "switch to vercel", "vercel replatform", "vercel upgrade major".
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- vercel-migration-deep-dive
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Execute Vercel major re-architecture and migration strategies with strangler fig pattern. Use when migrating to or from Vercel, performing major version upgrades, or re-platforming existing integrations to Vercel. Trigger with phrases like "migrate vercel", "vercel migration", "switch to vercel", "vercel replatform", "vercel upgrade major".
- allowed-tools
- Read, Write, Edit, Bash(npm:*), Bash(node:*), Bash(kubectl:*)
- compatible-with
- claude-code, codex, openclaw
02 资源文件 4
- 参考文档references/errors.md332 B
- 参考文档references/examples.md246 B
- 参考文档references/implementation-plan.md1.8 KB
- 参考文档references/pre-migration-assessment.md890 B
03 SKILL.md 正文
Vercel Migration Deep Dive
Prerequisites
- Current system documentation
- Vercel SDK installed
- Feature flag infrastructure
- Rollback strategy tested
Instructions
Migrating to Vercel from another deployment platform or migrating a Vercel-hosted application to a different architecture is most safely done incrementally using the strangler fig pattern. The key risk in any migration is a hard cutover that cannot be quickly reversed if problems emerge. Building gradual traffic shifting into your migration plan gives you the ability to limit user impact during the transition and validate that the new deployment behaves identically to the old one before fully committing.
Step 1: Assess Current Configuration
Document the existing deployment configuration: build pipeline, environment variables, serverless function patterns, custom headers and redirect rules, domain configuration, and any Vercel-specific features in use (edge functions, incremental static regeneration, middleware). Identify which aspects of the current deployment have no direct equivalent in the target architecture and require architectural decisions before proceeding.
Step 2: Build Adapter Layer
Create an abstraction layer for gradual migration using Vercel's rewrite rules or middleware to route a percentage of traffic to the new deployment. This allows you to run both versions in parallel and compare behavior under real traffic without fully committing to the migration.
Step 3: Migrate Data
For migrations involving data store changes alongside the platform migration, run batch data migration with error handling and verification checksums. Keep both data stores in sync during the parallel-run period.
Step 4: Shift Traffic
Gradually increase traffic to the new deployment, monitoring error rates and latency at each increment before proceeding. Decommission the old deployment only after running fully on the new configuration for a stability period with no regressions.
Output
- Migration assessment documented with full configuration inventory
- Adapter layer implementing incremental traffic shifting
- Data migrated and verified where applicable
- Traffic fully shifted with old deployment decommissioned after stability period
Error Handling
See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.
Examples
See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.
Resources
Overview
Execute Vercel major re-architecture and migration strategies with strangler fig pattern.
04 同仓库更多 Skills
zustand-store-ts
Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.
zustand-store-creator
Zustand Store Creator - Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category.
zero-trust-config-helper
Zero Trust Config Helper - Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category.
zapier-integration-helper
Zapier Integration Helper - Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category.
zai-cli
Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP. Use when user needs image/video analysis, OCR, UI-to-code conversion, error diagnosis, real-time web search, web page to markdown extraction, or GitHub code exploration. Trigger with phrases like "analyze this image", "search the web for", "read this page", "explore this repo", or "use zai". Requires Z_AI_API_KEY.
yt-research
Research competitor YouTube channels, niches, and trending topics for your content strategy. Use this skill whenever the user says "research channels", "analyze competitors", "find trending topics", "niche analysis", "competitive research", "what are other creators doing", "scrape YouTube channels", or wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.