Skip to content
vercel-labs avatar

Cra To Next Migration

Migration guide that converts a Create React App project to Next.js across 148 rules in 17 categories.

CCM score
54 of 100
skills.sh installs
979
GitHub stars
14
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers routing, data fetching, components, environment variables, styling, images, fonts, SEO, API routes, state, testing, and deployment
  • Organizes rules by migration impact, with CRITICAL items such as project setup, routing, and data fetching listed first
  • Requires Next.js ^16.0.0 and directs users to check the latest version with npm info next version before starting
  • Designed for teams moving existing CRA apps to Server Components, the App Router, or SSR/SSG without changing app behavior

Install

$ npx -y skills add vercel-labs/migration-skills --skill cra-to-next-migration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CRA to Next.js Migration Guide

Comprehensive migration guide for converting Create React App projects to Next.js, covering routing, data fetching, components, styling, and deployment. Contains 148 rules across 17 categories, prioritized by migration impact. After a successful migration the application should work the same as it did before the migration.

When to Apply

Reference these guidelines when:

  • Migrating an existing CRA application to Next.js
  • Converting React Router routes to file-based routing
  • Adopting Server Components in a client-heavy app
  • Moving from client-side rendering to SSR/SSG
  • Updating environment variables for Next.js
  • Optimizing images and fonts with Next.js built-ins

Version Policy

Use Next.js 16.x or later. Do NOT use Next.js 14.x or 15.x.

Before starting migration, check the current latest version:

npm info next version

Use the latest version in your package.json with a caret for minor/patch updates. The minimum supported version for this migration guide is ^16.0.0.

Rule Categories by Priority

Details

Repository
github.com/vercel-labs/migration-skills
Categories
Frontend & UI Code, Technical Documentation
First seen
Jun 3, 2026

Similar to Cra To Next Migration

More Frontend & UI Code