DevOps & CloudOfficial · cloudflare

Nextjs On Cloudflare skill for Claude

Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext.

When Claude uses it

Use when starting a Next.js project on Cloudflare, moving an existing app to Workers, choosing between vinext and OpenNext, or setting up vinext for Workers. For setup, migration, or deployment, install vinext's upstream skills with `npx skills add cloudflare/vinext` if missing, then read and follow the applicable skill and docs.

Nextjs On Cloudflare SKILL.md

The full skill file from cloudflare/skills (Apache-2.0).

Next.js on Cloudflare

Use vinext rather than OpenNext for new Next.js projects on Cloudflare Workers. This is the default in the Cloudflare Next.js guide. Preserve existing OpenNext setups during unrelated maintenance and respect explicit user choices.

Why vinext

vinext reimplements the Next.js API surface on Vite:

  • Familiar Next.js development: App Router, Pages Router, React Server Components, and supported next/* imports.
  • Vite tooling: fast HMR, native ESM, and the Vite plugin ecosystem.
  • Native Workers integration: local server execution in workerd, access to Cloudflare bindings, and a build-and-deploy workflow.
  • Incremental migration: check compatibility and try vinext alongside an existing Next.js setup.

Use the upstream workflow

Before setup, migration, or deployment, check whether the skills maintained in vinext are available. If missing, install them:

npx skills add cloudflare/vinext

Then read and follow the applicable upstream SKILL.md and its relevant references. Use the current vinext docs for workflows the skills do not cover:

  • New project: follow vinext's new-project setup using create-vinext-app with the Cloudflare target. The upstream migration skill requires an existing Next.js project; do not apply it to an empty directory.
  • Existing Next.js project: load and follow the upstream migrate-to-vinext skill, including its compatibility check and relevant references. Select Cloudflare as the deployment target.
  • Development and deployment: follow the current Workers integration docs.

If installation is unavailable, read the linked upstream SKILL.md and relevant references directly. Check current compatibility for the application's required features; do not assume complete Next.js parity.

Skill feedback

If the user reports that this skill gave incorrect or outdated guidance, or is missing information, read references/skill-feedback.md.

How to install Nextjs On Cloudflare

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit cloudflare/skills/skills/nextjs-on-cloudflare#main ~/.claude/skills/nextjs-on-cloudflare

Codex

npx degit cloudflare/skills/skills/nextjs-on-cloudflare#main ~/.codex/skills/nextjs-on-cloudflare

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Nextjs On Cloudflare skill do?

Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext. Use when starting a Next.js project on Cloudflare, moving an existing app to Workers, choosing between vinext and OpenNext, or setting up vinext for Workers. For setup, migration, or deployment, install vinext's upstream skills with `npx skills add cloudflare/vinext` if missing, then read and follow the applicable skill and docs.

+How do I install Nextjs On Cloudflare in Claude Code?

Copy the skill folder into ~/.claude/skills/nextjs-on-cloudflare, for example with "npx degit cloudflare/skills/skills/nextjs-on-cloudflare#main ~/.claude/skills/nextjs-on-cloudflare". Claude Code loads it automatically and uses it when a task matches.

+Does Nextjs On Cloudflare work with ChatGPT or Codex?

Yes. Nextjs On Cloudflare uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/nextjs-on-cloudflare. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Nextjs On Cloudflare free?

Nextjs On Cloudflare is published on GitHub by cloudflare under the Apache-2.0 license, which allows free use.

Related devops & cloud skills

  1. Supabase

    Official

    Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron,…

    supabase/agent-skills★ 3.1k
  2. Senior Architect

    System architecture decisions with a written rationale: monolith vs microservices, database choice, scaling limits, ADRs, Mermaid diagrams.

    alirezarezvani/claude-skills★ 30k
  3. Vercel Deploy

    Official

    Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the…

    openai/skills★ 29k
  4. Sandbox Migrate To Next

    Official

    Migrate Cloudflare Sandbox apps from stable @cloudflare/sandbox to @cloudflare/sandbox@next (SDK 1.0 preview).

    cloudflare/skills★ 3.4k
  5. Sandbox Next

    Official

    Build or maintain Cloudflare Sandbox apps on @cloudflare/sandbox@next (SDK 1.0 preview).

    cloudflare/skills★ 3.4k
  6. Sandbox Stable

    Official

    Build or maintain Cloudflare Sandbox apps on the stable @cloudflare/sandbox package.

    cloudflare/skills★ 3.4k
  7. Airunway Aks Setup

    Official

    Set up AI Runway on AKS — from bare cluster to running model. Covers cluster verification, controller install, GPU assessment, provider…

    microsoft/skills★ 3.2k
  8. Aks Cost Optimization

    Official

    Analyze advanced AKS cost efficiency. WHEN: \"AKS NAP readiness\", \"AKS bin packing\", \"AKS node scaling bottleneck\", \"AKS blocked…

    microsoft/skills★ 3.2k
  9. Aks Gpu Inference

    Official

    Diagnose Day-2 AKS GPU and KAITO incidents using profile-aware, read-only evidence.

    microsoft/skills★ 3.2k

See all devops & cloud skills →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.