Skip to content

migrate-to-vinext

Migrates Next.js projects to vinext (Vite-based Next.js reimplementation). Load when asked to migrate, convert, or switch from Next.js to vinext. Handles

— (0 ratings) 10.5K downloads cloudflare
$ npx skills add https://github.com/cloudflare/vinext --skill migrate-to-vinext

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Migrate Next.js to vinext

vinext reimplements the Next.js API surface on Vite. Existing app/, pages/, and next.config.js work as-is — migration is a package swap, config generation, and ESM conversion. No changes to application code required.

FIRST: Verify Next.js Project

Confirm next is in dependencies or devDependencies in package.json. If not found, STOP — this skill does not apply.

Detect the package manager from the lockfile:

Lockfile Manager Install Uninstall
pnpm-lock.yaml pnpm pnpm add pnpm remove
yarn.lock yarn yarn add yarn remove
bun.lockb / bun.lock bun bun add bun remove
package-lock.json or none npm npm install npm uninstall

Detect the router: if an app/ directory exists at root or under src/, it's App Router. If only pages/ exists, it's Pages Router. Both can coexist.


Installs: 10.5K | GitHub stars: 9.4K | First seen: Feb 24, 2026

Related skills

New

React

vercel-react-best-practices

React and Next.js performance optimization across 70 rules prioritized by impact.

New • 942.7K
New

Frontend

vercel-composition-patterns

React composition patterns for scaling components and avoiding boolean prop proliferation.

New • 479.3K
New

Next.js

deploy-to-vercel

Deploy applications and websites to Vercel with automatic git integration and preview URLs.

New • 208.9K