Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Forge Cloudflare Workers?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ansh44233-forge-cloudflare-workers)
---
name: forge-cloudflare-workers
description: Build Cloudflare Workers with correct runtime APIs, bindings, KV/D1/R2 usage, secrets and local testing
---
<!-- Generated from catalog/skills/cloudflare-workers/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->
# Cloudflare Workers
Use in projects with a `wrangler.toml`/`wrangler.jsonc`.
## Runtime
- Workers are not Node: use Web APIs (`fetch`, `Request`, `crypto.subtle`); enable `nodejs_compat` only when needed.
- Respect CPU time limits; move heavy work to Queues or Durable Objects.
## Bindings
- Access KV, D1, R2, Queues and secrets through `env` bindings typed with `wrangler types`.
- KV is eventually consistent; use D1 or Durable Objects for strong consistency.
## Secrets and deploy
- Secrets via `wrangler secret put`, never in `wrangler.toml` vars.
- Separate environments (staging/production) in config.
## Verify
`wrangler dev` runs locally and tests pass with Miniflare/`@cloudflare/vitest-pool-workers`; `wrangler deploy --dry-run` succeeds.