Nextjs Cloudflare Workers Landing Site Setup — DevOps skill for Claude Code
Agent skill and worked example for running a Next.js App Router site on Cloudflare Workers using vinext, wrangler and an optional Drizzle + D1 database.
How to install Nextjs Cloudflare Workers Landing Site Setup
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open hyderhusainarastu/nextjs-cloudflare-workers-landing-site-setup and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Nextjs Cloudflare Workers Landing Site Setup does
Agent skill and worked example for running a Next.js App Router site on Cloudflare Workers using vinext, wrangler and an optional Drizzle + D1 database. Covers config files, scripts, pnpm native deps and a built-HTML smoke test.
Alternatives in DevOps
- Claude Code Router — Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the m 30.1k ★
- Vinext — Vite plugin that reimplements the Next.js API surface — deploy anywhere 8.7k ★
- Helm Conductor — Use the @helm-conductor agent to orchestrate the engineering cycle — sequence features, decide what to work on 523 ★
README
Next.js on Cloudflare Workers: landing site setup
An Agent Skill that scaffolds a Next.js 16 App Router site onto Cloudflare Workers from scratch. It wires together three pieces that don't talk to each other out of the box:
- vinext -- a Vite plugin
that reimplements the Next.js API surface on Vite, so
app/-router Next.js code (Server Components, streaming SSR, Server Actions) can run somewhere other than the Next.js compiler toolchain. - wrangler /
@cloudflare/vite-plugin-- Cloudflare's local dev simulator and deploy tooling for Workers, including bindings (D1, R2, KV, …) and static asset serving. - Drizzle ORM + Cloudflare D1 -- an opt-in, off-by-default SQLite-dialect database layer for when the site needs to persist something (a waitlist signup, a counter, a contact form).
What it does
Rather than a script, this skill is a set of instructions: given a blank or existing Next.js App Router project, it walks an agent (or a developer) through every config file needed to get that project running on Cloudflare Workers -- `vite.config.ts`, a minimal `worker/index.ts` entry point, the `package.json` script wiring, the pnpm native-dependency allowlist, and, when needed, the Drizzle/D1 database layer -- explaining *why* each field exists, not just what to paste. It also includes a lightweight "render the built worker and assert on the HTML" smoke test pattern to catch broken deploys before they ship.
It intentionally has no opinion on your page content, styling, or copy -- it is deployment-target plumbing, applicable to any Next.js App Router project.
Works with
| Surface | How | Status |
|---|---|---|
| Claude Code | native skill (~/.claude/skills/ or .claude/skills/) |
not tested |
| Codex | native skill via .agents/skills |
not tested |
| Gemini CLI | native skill via .agents/skills, or pointer in GEMINI.md |
not tested |
| Cursor | native skill via .agents/skills, or `AGE |
Related Skills
Vinext Agents Example
Demonstrate how to build a Next.js app with AI chat agents using Cloudflare Workers, Durable Objects, and the
Drizzle Pglite Testing
A runnable, version-pinned example of testing Drizzle ORM code with Vitest against an in-memory Postgres (PGli
Nextjs On Cloudflare
Agent cookbook: deploy Next.js on Cloudflare Workers (OpenNext, Hyperdrive, Workers Cache, PPR, custom domains
Lockdown
Per-repo supply-chain hardening — detects the package managers, Dockerfiles, and CI in use, then guides you th
Harness Engineer
Use when designing or auditing Claude Code harness infrastructure — hooks, rules, settings, constraint gaps, m
Xora
Learn how to build and deploy a SaaS landing page with modern UI and mobile-first principles while strengtheni
Related Agents
Cloudflare Specialist
Owns Cloudflare platform usage end to end: Workers, Durable Objects, D1, R2, KV, Queues, Workflows, Vectorize,
Cost Estimator
Estimates Cloudflare Workers costs before deploying. Reads wrangler.toml, counts D1 tables/rows, estimates KV/
Creo Cloudflare CLI
Cloudflare Wrangler expert for Workers, Pages, R2, D1, KV, deployments, and secrets management