
nextjs-on-cloudflare
Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext
by cloudflareFree
Description
nextjs-on-cloudflare is an agent skill for building, migrating and deploying Next.js apps on Cloudflare Workers. It tells the agent to use vinext for new Next.js projects on Cloudflare, which the skill describes as the default in Cloudflare's Next.js guide, and to leave existing OpenNext setups in place during unrelated maintenance. vinext reimplements the Next.js API on top of Vite. The skill notes that this gives familiar Next.js development with the App Router, the Pages Router, React Server Components and supported next/* imports, along with the fast hot module reloading and native ES modules of Vite. It also gives native Workers integration, so the app runs locally in workerd with access to Cloudflare bindings, and a build-and-deploy workflow. For existing projects, the skill recommends an incremental migration, where you check compatibility piece by piece. It is part of Cloudflare's skills repository and is added to a compatible agent with the skills command. It is useful for teams who want to run a Next.js app on Cloudflare's network without rewriting it. The audit results show Gen Agent Trust Hub and Snyk passed, with Socket showing a warning.…
Highlights
- Builds and deploys Next.js on Cloudflare Workers
- Uses vinext on top of Vite
- App Router, Pages Router and React Server Components
- Incremental migration for existing apps
Ratings & Reviews
No ratings yet
Be the first to rate nextjs-on-cloudflare.
People also visit

vinext-vite-nextjs
Vite plugin that reimplements the Next.js API surface for deploying anywhere

migrate-to-vinext
Migrates Next.js projects to vinext (Vite-based Next.js reimplementation)

nextjs-deployment
Provides comprehensive patterns for deploying Next.js applications to production
nextjs-on-cloudflare FAQ
What does this skill do?
It helps an agent build, migrate and deploy Next.js apps on Cloudflare Workers.
Which tool does it recommend?
vinext for new projects, which the skill describes as the default in Cloudflare's Next.js guide. Existing OpenNext setups are preserved.
What is vinext?
A reimplementation of the Next.js API on top of Vite, with local execution in workerd.
Does it support the App Router?
Yes, along with the Pages Router and React Server Components.
How do I install it?
Run: npx skills add https://github.com/cloudflare/skills --skill nextjs-on-cloudflare
What are the best nextjs-on-cloudflare alternatives?
Popular alternatives to nextjs-on-cloudflare include vinext-vite-nextjs, vercel-deployment and migrate-to-vinext. See all nextjs-on-cloudflare alternatives








