Marketplace

cloudflare-worker-base

Set up Cloudflare Workers with Hono routing, Vite plugin, and Static Assets using production-tested patterns.Prevents 8 errors: export syntax, routing conflicts, HMR crashes, gradual rollout asset mismatches, and free tier 429s.Use when: creating Workers projects, configuring Hono or Vite for Workers, deploying with Wrangler,adding Static Assets with SPA fallback, or troubleshooting export syntax, API route conflicts, scheduledhandlers, or HMR race conditions.Keywords: Cloudflare Workers, CF Workers, Hono, wrangler, Vite, Static Assets, @cloudflare/vite-plugin,wrangler.jsonc, ES Module, run_worker_first, SPA fallback, API routes, serverless, edge computing,"Cannot read properties of undefined", "Static Assets 404", "A hanging Promise was canceled","Handler does not export", deployment fails, routing not working, HMR crashes

$ 安裝

git clone https://github.com/jezweb/claude-skills /tmp/claude-skills && cp -r /tmp/claude-skills/skills/cloudflare-worker-base ~/.claude/skills/claude-skills

// tip: Run this command in your terminal to install the skill