← ClaudeAtlas

cloudflare-workerslisted

Authors and reviews Cloudflare Workers projects — wrangler config (toml/jsonc), bindings (KV, R2, D1, Queues, Durable Objects, service bindings, Vectorize, Workers AI), env-scoped vs root config and the non-inheritable bindings trap, Durable Object migrations (renames, SQLite backend), compatibility_date semantics, static assets and Pages migration, secrets vs vars, cron triggers, observability, and deploy/CI patterns with `cloudflare/wrangler-action`. Use when working with Cloudflare Workers, wrangler.toml/wrangler.jsonc, Workers bindings, Durable Objects, Workers KV/R2/D1/Queues, Workers Static Assets, migrating from Pages to Workers, service bindings or WorkerEntrypoint RPC, or deploying Workers from CI.
Goodsmileduck/claude-registry · ★ 1 · DevOps & Infrastructure · score 74
Install: claude install-skill Goodsmileduck/claude-registry
# Cloudflare Workers ## When to invoke **Symptoms:** - A binding works in `wrangler dev` but is `undefined` in production. - `wrangler deploy` fails with `Cannot apply new-class migration to class 'X' that is already depended on by existing Durable Objects` or `Class 'X' cannot be used as a Durable Object` after a code rename. - A secret value is visible in the Cloudflare dashboard under "Variables" — or worse, committed in `wrangler.toml`. - Same hostname has both a Custom Domain and a route pattern, and routing is non-deterministic. - New Pages project — should it actually be a Worker? - Two Workers in the same account need to talk; engineer is about to wire it through a public URL. - `compatibility_date` was bumped and something started 500-ing. - `wrangler tail` shows the deploy succeeded but the new code isn't running. **The trap this prevents:** treating `wrangler.toml`/`wrangler.jsonc` as docstring-like config. Several keys are non-inheritable across envs, several have implicit ordering, and the Durable Object migrations array is append-only with strict semantics. Most "it broke in prod" Workers incidents trace to one of these. ## Inputs to collect first | Input | Why | Example | | --- | --- | --- | | Account ID | All Workers are account-scoped | dashboard sidebar | | Worker name | Becomes `<name>.<subdomain>.workers.dev` and route target | `checkout-api` | | Routes vs Custom Domain | Decide before deploying — they conflict on the same hostname | `api.example.com