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 compatibility scanning, package replacement, Vite config generation, ESM conversion, and deployment setup (Cloudflare Workers natively, other platforms via Nitro).
Install
With your agent
Install OMGSkills skill "cloudflare/vinext:migrate-to-vinext" into this agent's normal skills directory: use the OMGSkills MCP get_skill tool, install only the pinned_install commit and path, verify SKILL.md against pinned_install.skill_md_sha, and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/cloudflare/vinext /tmp/vinext && ln -s /tmp/vinext/.agents/skills/migrate-to-vinext ~/.claude/skills/migrate-to-vinext
From README
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 | | 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 | 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.
More skills
security-audit
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons.
cloudflare-browser
Control headless Chrome via Cloudflare Browser Rendering CDP WebSocket.
capnweb
capnweb RPC patterns for this repo, with a heavy focus on stub lifecycle and disposal.
