什么是 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