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 (реализация Next.js на базе Vite для Cloudflare Workers). Загружается при появлении запроса на миграцию, преобразование или переключение с Next.js на vinext. Выполняет сканирование совместимости, замену пакетов, создание конфигурации Vite, преобразование ESM и настройку развертывания Cloudflare. Источник: cloudflare/vinext.