
Cloudflare Workers Dev Experience
If you're setting up Cloudflare Workers locally or debugging why your bindings aren't working in dev mode, this gets you sorted. It walks through Wrangler configuration, proper TypeScript setup with the right module resolution settings, and handling preview IDs for KV and D1 so you stop seeing "undefined" errors. The security section on supply chain practices for scaffolding tools is a nice touch, especially the cooldown period advice. Most helpful when you're either bootstrapping a new worker project or troubleshooting why hot reload isn't picking up changes. The error prevention table covering the top six issues (binding configs, HMR, CORS) will save you from the usual local dev headaches.
- skills.sh installs
- 317
- GitHub stars
- 248
- last updated
- Aug 21, 2026
Install
$ npx -y skills add secondsky/claude-skills --skill cloudflare-workers-dev-experience --agent claude-codeInstalls into .claude/skills of the current project.
Files
Cloudflare Workers Developer Experience
Local development setup with Wrangler, Miniflare, and modern tooling.
Quick Start
# Create new project
bunx create-cloudflare@latest my-worker
# Or from scratch
mkdir my-worker && cd my-worker
bun init -y
bun add -d wrangler @cloudflare/workers-types
# Start local development
bunx wrangler dev
Secure Installation
Scaffolding tools like bunx create-cloudflare download and execute remote code. Before running, follow supply chain security best practices:
- Block post-install scripts —
npm config set ignore-scripts true(or Bun: disabled by default) - Cooldown period — Wait 7 days for new package versions to be vetted by the community
- Audit before installing — Run
socket package score npm <pkg>or usesocket npm install <pkg>to check packages
Load the dependency-upgrade skill for full security configuration including Socket CLI integration, cooldown setup, lockfile validation, and CI enforcement.
Essential wrangler.jsonc
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "my-worker",
"main": "src/index.ts",
"compatibility_date": "2024-12-01",
Sponsors
Details
- Repository
- github.com/secondsky/claude-skills
- Categories
- Debugging, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from secondsky/claude-skills
All 146- Cloudflare Workers Observability315
- Cloudflare Workers Migration310
- Cloudflare Workers Multi Lang310
- Verification Before Completion310
- Nuxt Studio308
- Neon Vercel Postgres294
- Chrome Devtools288
- Database Sharding277
- Sveltia Cms277
- Google Gemini File Search272
- Tailwind V4 Shadcn8.2K
- Aceternity Ui1.6K
- Vitest Testing1.3K
- Motion1.1K
- Playwright1.1K
- Api Testing910
- Responsive Web Design703
- Zod663
- Nano Banana Prompts626
- Image Optimization604
- Rest Api Design600
- Mobile First Design598
- Web Performance Optimization576
- Inspira Ui572