什麼是 migrate-to-vinext?
將 Next.js 專案移轉到 vinext(Cloudflare Workers 的基於 Vite 的 Next.js 重新實作)。當要求從 Next.js 遷移、轉換或切換到 vinext 時載入。處理相容性掃描、套件替換、Vite 配置產生、ESM 轉換和 Cloudflare 部署設定。 來源:cloudflare/vinext。
將 Next.js 專案移轉到 vinext(Cloudflare Workers 的基於 Vite 的 Next.js 重新實作)。當要求從 Next.js 遷移、轉換或切換到 vinext 時載入。處理相容性掃描、套件替換、Vite 配置產生、ESM 轉換和 Cloudflare 部署設定。
透過命令列快速安裝 migrate-to-vinext AI 技能到你的開發環境
來源:cloudflare/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.
Confirm next is in dependencies or devDependencies in package.json. If not found, STOP — this skill does not apply.
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.
將 Next.js 專案移轉到 vinext(Cloudflare Workers 的基於 Vite 的 Next.js 重新實作)。當要求從 Next.js 遷移、轉換或切換到 vinext 時載入。處理相容性掃描、套件替換、Vite 配置產生、ESM 轉換和 Cloudflare 部署設定。 來源:cloudflare/vinext。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/cloudflare/vinext --skill migrate-to-vinext將 Next.js 專案移轉到 vinext(Cloudflare Workers 的基於 Vite 的 Next.js 重新實作)。當要求從 Next.js 遷移、轉換或切換到 vinext 時載入。處理相容性掃描、套件替換、Vite 配置產生、ESM 轉換和 Cloudflare 部署設定。 來源:cloudflare/vinext。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/cloudflare/vinext --skill migrate-to-vinext 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/cloudflare/vinext