Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Migrating a Create React App project to Next.js v1.0.0

Use this resource to migrate a Create React App project to Next.js

New

  • 339 downloads
  • 110 likes
  • 221 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install cra-to-nextjs-migration

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent applies migration rules ranked by priority: setup, dependencies, routing, data fetching, components, environment variables and styling. The goal is for the app to behave as it did before the migration.

Mostly picked by

Updated November 2, 2026

Card for the “Migrating a Create React App project to Next.js” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • rules/: migration rules for API routes, headers and cookies
  • rules/: rules for assets, resources and favicons

Good fit for

  • Your React Router app needs to move to file-based routing
  • You want to adopt Server Components without breaking the existing app

Not for

    Tags

    • migration
    • react
    • next.js
    • routing
    • cra

    About

    You say

    “Migrate this CRA app to Next.js without changing its behavior.”

    Card for the “Migrating a Create React App project to Next.js” skill

    Skill published by vercel-labs under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to migrate a Create React App project to Next.js
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • rules/api-cors.md2.2 KB
    • rules/api-headers-cookies.md2.1 KB
    • rules/api-http-methods.md1.9 KB
    • rules/api-middleware.md2 KB
    • rules/api-query-params.md2 KB
    • rules/api-rate-limiting.md2.4 KB
    • rules/api-request-body.md1.7 KB
    • rules/api-response-types.md1.7 KB
    • rules/api-route-handlers.md1.7 KB
    • rules/assets-absolute-urls.md1.3 KB
    • rules/assets-favicon.md1.6 KB
    • rules/assets-manifest.md3.5 KB
    • rules/assets-public-folder.md1.3 KB
    • rules/assets-static-imports.md4.5 KB
    • rules/build-bundle-analysis.md1.7 KB
    • rules/build-docker.md1.8 KB
    • rules/build-output.md1.8 KB
    • rules/build-scripts.md3.3 KB
    • rules/build-standalone.md1.6 KB
    • rules/build-static-export.md1.7 KB
    • rules/build-vercel.md1.5 KB
    • rules/components-boundary-placement.md2.3 KB
    • rules/components-children-pattern.md2.1 KB
    • rules/components-composition.md2.2 KB
    • rules/components-context-providers.md2.3 KB
    • rules/components-interleaving.md2.2 KB
    • rules/components-props-serialization.md2.1 KB
    • rules/components-server-default.md1.8 KB
    • rules/components-third-party.md4.6 KB
    • rules/components-use-client.md1.8 KB
    • rules/data-caching.md1.8 KB
    • rules/data-client-fetch.md2.1 KB
    • rules/data-client-library-init.md4.5 KB
    • rules/data-parallel-fetching.md2.1 KB
    • rules/data-revalidation.md2.5 KB
    • rules/data-sequential-fetching.md2.1 KB
    • rules/data-server-actions.md2.3 KB
    • rules/data-streaming.md2.2 KB
    • rules/data-useeffect-to-rsc.md2 KB
    • rules/data-useeffect-to-ssg.md2 KB
    • rules/data-useeffect-to-ssr.md2 KB
    • rules/deps-react19-compatibility.md1.6 KB
    • rules/env-build-time.md2.2 KB
    • rules/env-local-files.md1.6 KB
    • rules/env-prefix-change.md2.7 KB
    • rules/env-runtime-config.md1.7 KB
    • rules/env-server-only.md1.7 KB
    • rules/env-validation.md2.1 KB
    • rules/fonts-font-display.md1.7 KB
    • rules/fonts-google-fonts.md1.8 KB
    • rules/fonts-local-fonts.md1.8 KB
    • rules/fonts-next-font.md2.3 KB
    • rules/fonts-preload.md1.7 KB
    • rules/fonts-variable-fonts.md1.6 KB
    • rules/gotchas-api-routes-edge.md1.9 KB
    • rules/gotchas-auth-race-conditions.md4.2 KB
    • rules/gotchas-auth-state-gating.md3.3 KB
    • rules/gotchas-configuration-idempotency.md3.1 KB
    • rules/gotchas-cookies.md2.3 KB
    • rules/gotchas-dynamic-imports.md1.9 KB
    • rules/gotchas-empty-modules.md1.7 KB
    • rules/gotchas-headers.md3.4 KB
    • rules/gotchas-hydration-mismatch.md2.6 KB
    • rules/gotchas-hydration-nested-interactive.md3.2 KB
    • rules/gotchas-infinite-rerender.md4 KB
    • rules/gotchas-middleware.md2.2 KB
    • rules/gotchas-nullish-coalescing.md4.1 KB
    • rules/gotchas-provider-hierarchy.md4.9 KB
    • rules/gotchas-react19-class-components.md5.3 KB
    • rules/gotchas-react19-ref-prop.md5.6 KB
    • rules/gotchas-redirect.md2.2 KB
    • rules/gotchas-router-push-timing.md3.5 KB
    • rules/gotchas-router-ready.md1.9 KB
    • rules/gotchas-static-generation.md2.2 KB
    • rules/gotchas-turbopack.md5.3 KB
    • rules/gotchas-use-effect-timing.md2 KB
    • rules/gotchas-websocket-optional-deps.md2.3 KB
    • rules/gotchas-window-undefined.md2 KB
    • rules/images-fill-prop.md1.7 KB
    • rules/images-loader.md1.7 KB
    • rules/images-next-image.md2.5 KB
    • rules/images-optimization.md1.9 KB
    • rules/images-placeholder.md1.8 KB
    • rules/images-priority.md1.7 KB
    • rules/images-remote-patterns.md2.3 KB
    • rules/images-required-dimensions.md2.2 KB
    • rules/integrations-sentry.md3.5 KB
    • rules/routing-basic-pages.md1.6 KB
    • rules/routing-catch-all-routes.md1.3 KB
    • rules/routing-dynamic-routes.md1.9 KB
    • rules/routing-error-boundaries.md2.8 KB
    • rules/routing-hash-based.md4.7 KB
    • rules/routing-intercepting-routes.md2 KB
    • rules/routing-link-component.md2.5 KB
    • rules/routing-loading-states.md2.7 KB
    • rules/routing-nested-layouts.md2 KB
    • rules/routing-not-found.md2.3 KB
    • rules/routing-optional-catch-all.md1.5 KB
    • rules/routing-parallel-routes.md1.6 KB
    • rules/routing-programmatic-navigation.md2.7 KB
    • rules/routing-protected-routes.md4.9 KB
    • rules/routing-route-groups.md4 KB
    • rules/routing-use-params.md1.5 KB
    • rules/routing-use-search-params.md2.1 KB
    • rules/seo-canonical.md1.5 KB
    • rules/seo-dynamic-metadata.md1.9 KB
    • rules/seo-head-component.md1.9 KB
    • rules/seo-json-ld.md2.1 KB
    • rules/seo-metadata-api.md1.7 KB
    • rules/seo-opengraph.md2.1 KB
    • rules/seo-robots.md1.7 KB
    • rules/seo-sitemap.md2.4 KB
    • rules/seo-twitter-cards.md1.7 KB
    • rules/setup-eslint.md1 KB
    • rules/setup-gitignore.md1 KB
    • rules/setup-initial-structure.md1.6 KB
    • rules/setup-next-config.md5.1 KB
    • rules/setup-package-json.md1.5 KB
    • rules/setup-typescript.md2.9 KB
    • rules/state-context-client.md2.2 KB
    • rules/state-jotai.md2.1 KB
    • rules/state-persistence.md2.5 KB
    • rules/state-recoil.md1.9 KB
    • rules/state-redux.md3.4 KB
    • rules/state-server-state.md2.3 KB
    • rules/state-url-state.md2.2 KB
    • rules/state-zustand.md2.2 KB
    • rules/styling-component-styles.md1.5 KB
    • rules/styling-css-import-order.md3.4 KB
    • rules/styling-css-in-js.md1.6 KB
    • rules/styling-css-modules.md1.7 KB
    • rules/styling-dark-mode-hydration.md4.6 KB
    • rules/styling-emotion.md2.2 KB
    • rules/styling-global-css.md1.6 KB
    • rules/styling-postcss.md1.4 KB
    • rules/styling-sass.md1.4 KB
    • rules/styling-scss-global-syntax.md2.7 KB
    • rules/styling-styled-components.md2.2 KB
    • rules/styling-tailwind.md1.5 KB
    • rules/testing-api-routes.md2.2 KB
    • rules/testing-async-components.md2.1 KB
    • rules/testing-client-components.md1.9 KB
    • rules/testing-e2e-cypress.md2.2 KB
    • rules/testing-e2e-playwright.md2.4 KB
    • rules/testing-jest-config.md1.6 KB
    • rules/testing-mocking.md1.8 KB
    • rules/testing-react-testing-library.md2 KB
    • rules/testing-server-components.md2.1 KB
    • SKILL.md16.3 KB

    Origin and licence

    Listed unmodified

    Author
    vercel-labs
    Source
    github.com/vercel-labs/migration-skills/tree/a9bdb175792cbb7cf816732790e8020d3c8e2370/cra-to-next-migration
    Licence
    MIT

    Notice

    « cra-to-next-migration » (vercel-labs, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.