cloudflare-nextjs-setup

Community

Deploy Next.js to Cloudflare Workers

Authorfysoul17
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the complex process of configuring a Next.js application for deployment on Cloudflare Workers using the OpenNext framework, streamlining the path to serverless deployment.

Core Features & Use Cases

  • Automated Dependency Installation: Installs necessary packages like @opennextjs/cloudflare and wrangler.
  • Configuration File Generation: Creates open-next.config.ts and wrangler.jsonc with appropriate settings.
  • Next.js Configuration Modification: Integrates OpenNext for development and build processes.
  • Script Addition: Adds essential build, preview, and deploy scripts to package.json.
  • .gitignore Update: Includes Cloudflare-specific build artifacts.
  • Secrets Management Guidance: Provides clear instructions for local and production secrets.
  • Use Case: You have a Next.js project and want to deploy it to Cloudflare Workers for scalable, edge-based hosting. This skill handles all the setup steps, from dependencies to deployment scripts.

Quick Start

Use the cloudflare-nextjs-setup skill to deploy the current Next.js project to Cloudflare Workers.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cloudflare-nextjs-setup
Download link: https://github.com/fysoul17/devlyn-cli/archive/main.zip#cloudflare-nextjs-setup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.