Cra To Next Migration

🏢Official
by vercel-labs · vlatest · Repository

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.

1

Run in terminal (recommended)

terminal
claude mcp add cra-to-next-migration npx -- -y @trustedskills/cra-to-next-migration
2

Or manually add to ~/.claude/settings.json

~/.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 src folders 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.js and 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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
vercel-labs
Installs
81

🏢 Official

Published by the company or team that built the technology.