← Explore all skills

WEB FRAMEWORKS / Cloudflare

Cloudflare Migrate to vinext

Migrates Next.js applications to Cloudflare Workers via vinext (Vite-based Next.js reimplementation), handling ESM conversions and worker deployment.

“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 …”

01 / THE REASONING

Why this made the selection.

  • Migration is defined as a package and config change, not an application rewrite.
  • The skill stops immediately when package.json has no next dependency.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • .agents/skills/migrate-to-vinext/SKILL.md
  • .agents/skills/migrate-to-vinext/references/compatibility.md
  • LICENSE

Our findings

  • The pinned skill starts by confirming next is a dependency and by detecting the package manager from the lockfile, and it stops if next is absent.
  • The recommended path is vinext check, then vinext init, which installs Vite, sets type module, and can add the React Server Components plugin for the App Router.
  • Manual fallback renames CJS configs to .cjs, replaces next dev with vite dev, and points config variants at references/config-examples.md.
  • Workers deployment prefers npx @vinext/cloudflare deploy, and bindings are imported from cloudflare:workers rather than older proxy helpers.
  • The automated path retains Next.js alongside new scripts, while the manual fallback performs explicit package and configuration changes.

Not established by this review

  • The skill was not executed inside a host agent.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

npx skills add cloudflare/vinext/.agents/skills/migrate-to-vinext

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

Optional: install the reviewed revision

Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.

npx skills add https://github.com/cloudflare/vinext/tree/82458b4252f66ebd6fae0f7b0ad026a8e7c5718b/.agents/skills/migrate-to-vinext
  1. Install the skill into your coding agent workspace.
  2. Verify Next.js presence in package.json before running migration steps.

Before you start

  • Node.js runtime with pnpm, yarn, npm, or bun
  • A Next.js application codebase

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. https://github.com/cloudflare/vinext/blob/82458b4252f66ebd6fae0f7b0ad026a8e7c5718b/.agents/skills/migrate-to-vinext/SKILL.md

    Supports: summary, whySelected, bestFor, limitations

  2. https://github.com/cloudflare/vinext/blob/82458b4252f66ebd6fae0f7b0ad026a8e7c5718b/LICENSE

    Supports: license

  3. https://raw.githubusercontent.com/cloudflare/vinext/82458b4252f66ebd6fae0f7b0ad026a8e7c5718b/.agents/skills/migrate-to-vinext/SKILL.md

    Supports: upstreamDescription, review.notTested, review.reviewedAt

Evidence & Ask