cloudflare-worker-builder
Scaffold and deploy Cloudflare Workers with Hono routing, Vite plugin, and Static Assets. Describe project, scaffold structure, configure bindings, deploy. Use whenever the user wants to create a Worker project, set up Hono on Cloudflare, configure D1 / R2 / KV / Queues bindings, or troubleshoot Worker export syntax, API route conflicts, HMR issues, or deployment failures.
npx skills add jezweb/claude-skills --skill cloudflare-worker-builder --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 ```bash 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 Add bindings to `wrangler.jsonc` based on pr
- Workflow
- Step 1: Understand the Project
- Step 2: Scaffold the Project
- Step 3: Configure Bindings
- Step 4: Deploy
- Critical Patterns
- Export Syntax
- Static Assets + API Routes
- Vite Config
- Scheduled/Cron Handlers
- Reference Files
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 npm run dev # Local dev at http://localhost:8787 wrangler deploy # Production deploy
What does the cloudflare-worker-builder skill do?
Scaffold and deploy Cloudflare Workers with Hono routing, Vite plugin, and Static Assets. Describe project, scaffold structure, configure bindings, deploy. Use whenever the user wants to create a Worker project, set up Hono on Cloudflare, configure D1 / R2 / KV / Queues bindings, or troubleshoot Worker export syntax, API route conflicts, HMR issues, or deployment failures.
How do I install it?
Run `npx skills add jezweb/claude-skills --skill cloudflare-worker-builder --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From jezweb/claude-skills, a repository with 954 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
