Cra To Next Migration
Official vercel-labs skill covering Next.js, migration for agent workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add cra-to-next-migration npx -- -y @trustedskills/cra-to-next-migration
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"cra-to-next-migration": {
"command": "npx",
"args": [
"-y",
"@trustedskills/cra-to-next-migration"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The cra-to-next-migration skill automates the transition of existing Create React App (CRA) projects to the Next.js framework. It analyzes the current codebase structure and generates a fully functional Next.js application while preserving core business logic and UI components. This tool streamlines modernization efforts by handling complex dependency mapping and routing configurations automatically.
-
Modernize legacy monolithic React applications built with CRA into server-side rendered Next.js apps.
-
Quickly onboard teams to the Next.js ecosystem without manual refactoring of every component.
-
Reduce migration timelines by offloading boilerplate setup, environment configuration, and build tooling adjustments.
-
Ensure compatibility between old CRA dependencies and modern Next.js standards during the transition.
-
Automatic Code Analysis: Scans existing
srcfolders to identify components, hooks, and utility functions. -
Framework Conversion: Transforms standard React code into Next.js compatible syntax (e.g., Pages Router or App Router).
-
Dependency Management: Updates package.json files to replace CRA-specific scripts with Next.js equivalents.
-
Configuration Generation: Creates necessary
next.config.jsand routing structures based on the detected file hierarchy.
"Convert my entire Create React App project to Next.js using this migration skill." "Migrate a legacy CRA dashboard application to Next.js while keeping all existing features intact." "Automate the upgrade path from Create React App to the latest version of Next.js for our team."
Tips & gotchas
- Prerequisites: Ensure your source project is a valid, running Create React App instance; the skill cannot analyze broken or incomplete repositories.
- Limitations: While it handles standard patterns well, highly customized build configurations or non-standard dependency chains may require manual review after migration.
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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🏢 Official
Published by the company or team that built the technology.