jezweb avatar

Cloudflare Worker Builder

Scaffolds production-ready Cloudflare Workers with Hono routing, Vite dev server, and Static Assets handling. Ask it to build a todo app or API and it'll create the full project structure, configure bindings for D1, R2, or KV, and get you to deployment. The workflow catches the two most common footguns: the export syntax that breaks Hono apps and the Static Assets config that makes API routes return HTML instead of JSON. Includes a references folder with documented GitHub issues for troubleshooting. Good for spinning up Workers quickly without memorizing wrangler.jsonc incantations or debugging SPA routing conflicts for the third time this week.

skills.sh installs
1.4K
GitHub stars
1.1K
last updated
Aug 21, 2026

Install

$ npx -y skills add jezweb/claude-skills --skill cloudflare-worker-builder --agent claude-code

Installs into .claude/skills of the current project.

Files

Cloudflare Worker Builder

Scaffold a working Cloudflare Worker project from a brief description. Produces a deployable project with Hono routing, Vite dev server, and Static Assets.

Workflow

Step 1: Understand the Project

Ask about the project to choose the right bindings and structure:

  • What does the app do? (API only, SPA + API, landing page)
  • What data storage? (D1 database, R2 files, KV cache, none)
  • Auth needed? (Clerk, better-auth, none)
  • Custom domain or workers.dev subdomain?

A brief like "todo app with database" is enough to proceed.

Step 2: Scaffold the Project

npm create cloudflare@latest my-worker -- --type hello-world --ts --git --deploy false --framework none
cd my-worker
npm install hono
npm install -D @cloudflare/vite-plugin vite

Copy and customise the asset files from this skill's assets/ directory:

  • wrangler.jsonc — Worker configuration
  • vite.config.ts — Vite + Cloudflare plugin
  • src/index.ts — Hono app with Static Assets fallback
  • package.json — Scripts and dependencies
  • tsconfig.json — TypeScript config
  • public/index.html — SPA entry point

Step 3: Configure Bindings

Sponsors

Details

Repository
github.com/jezweb/claude-skills
Categories
Backend & APIs, DevOps & CI/CD, Release Management, Debugging, Automation & Workflows, Cloud & Infrastructure
First seen
Apr 16, 2026

More from jezweb/claude-skills

All 166
1iswalle avatargetnote-authiswalle/getnote-cliManage authentication for Get笔记 CLI1.2Kskills.sh installs
2next-safe-action avatarsafe-action-middlewarenext-safe-action/skillsUse when implementing middleware for next-safe-action -- authentication, authorization, logging, rate limiting, error interception, context extension, or creati1.2Kskills.sh installs
3mindrally avatarnextauth-authenticationmindrally/skillsGuidelines for implementing NextAuth.js (Auth.js v5) authentication in Next.js applications with session management and security best practices1.2Kskills.sh installs
4yoanbernabeu avatarsupabase-audit-functionsyoanbernabeu/supabase-pentest-skillsDiscover and test Supabase Edge Functions for security vulnerabilities and misconfigurations.1.1Kskills.sh installs
5adobe avatarda-authadobe/skillsUse this when another step needs to call the admin.da.live API, for example before pushing HTML content, listing documents, or triggering a DA preview, and you 1.1Kskills.sh installs
6scrapecreators avatarscrapecreators-apiscrapecreators/agent-skillsScrape and extract public data from 27+ social media platforms using the ScrapeCreators REST API. Covers TikTok, Instagram, YouTube, LinkedIn, Facebook, Twitter961skills.sh installs