Skill

CRA to Next

Skill

The official migration off Create React App.

Official. Routing, env, the public folder, and the pieces people forget until CI is red.

spec·Apache-2.0·Updated this quarter·github.com/vercel-labs/agent-skills

Claude CodeCursorDesktop
Verificado
npx skills add vercel-labs/migration-skills/cra-to-next-migration

Por Vercel

Entrada

A CRA app.

Saída

A Next tree that builds.

cra-to-next.skill/invoke

Você diz

Move this CRA app to App Router.

Ela devolve

app/ tree, next/image, env renamed. Vite leftover noted.

Caderno de prompts

Prompts para os quais esta skill foi feita.

  • Você diz

    Move this CRA app to App Router.

    Ela devolve

    app/ tree, next/image, env renamed. Vite leftover noted.

  • Você diz

    Where do REACT_APP_ keys go?

    Ela devolve

    NEXT_PUBLIC_. Two secrets stay server-only.

O que ela ensina

  1. 01Routing
  2. 02Env
  3. 03Public folder