migrate-to-vinext

Migrate Next.js projects to vinext for Vite-based Cloudflare Workers deployment.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/tim-hub/role-based-skills --skill migrate-to-vinext
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-to-vinext
Source: https://github.com/tim-hub/role-based-skills/tree/main/migrate-to-vinext
Command: npx skills add https://github.com/tim-hub/role-based-skills --skill migrate-to-vinext

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps teams migrate Next.js projects to vinext, enabling a Vite-based Next.js reimplementation on Cloudflare Workers without requiring code rewrites.

Core Features & Use Cases

  • Compatibility scanning with vinext check to identify migration readiness and potential issues.
  • Automated package replacement, config generation, and ESM conversion to align with Vite-based deployment.
  • Guided migration workflow including manual steps, phase transitions, and optional deployment to Cloudflare Workers.

Quick Start

Run vinext check to assess compatibility, then run vinext init to migrate your Next.js project to vinext.

Frequently Asked Questions about migrate-to-vinext

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a Next.js project to a Vite-based setup for Cloudflare Workers?

Migrate Next.js projects by running vinext check to assess compatibility, then vinext init to automate package replacement, config generation, and ESM conversion for Cloudflare Workers deployment. This workflow requires no code rewrites and provides phase-based guidance for manual or automated migration.

Does vinext support both app/ and pages/ routers in Next.js?

vinext supports both app/ and pages/ routers in Next.js projects. The migration Skill detects the router structure and guides users through compatibility checks and automated migration to a Vite-based Next.js reimplementation.

What does vinext check do before starting a Next.js migration?

vinext check scans your Next.js project to identify migration readiness and potential compatibility issues. It detects the package manager, checks Next.js dependencies, and evaluates app/ or pages/ router structure before applying automated migration steps.

How do I convert a Next.js project to ESM for Vite deployment?

Convert Next.js projects to ESM by running vinext init, which adjusts package.json, renames configs, and generates a minimal vite.config.ts. This automated ESM conversion aligns your project with Vite-based deployment on Cloudflare Workers.

Can I deploy a Next.js project to Cloudflare Workers without rewriting code?

You can deploy Next.js projects to Cloudflare Workers without code rewrites by migrating to vinext. The Skill automates package replacement, config generation, and ESM conversion, providing a Vite-based Next.js reimplementation with optional deployment guidance.