Skills Directory / Cloudflare Skills
workers-best-practices
An agent skill by cloudflare, from cloudflare/skills.
Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
Credit where it's due
This skill is the work of cloudflare (official vendor skill) and lives at cloudflare/skills/workers-best-practices (Apache-2.0). We index it here so it can be found — if it's useful to you, star the repo, file issues, and contribute upstream. That's what keeps work like this maintained.
- From
- Cloudflare Skills — official vendor skill
- Author
- cloudflare
- License
- Apache-2.0
- Source
- cloudflare/skills/workers-best-practices
- SKILL.md
- raw file
How to load this skill
Copy this prompt into your AI agent
Please install the "workers-best-practices" agent skill from the Cloudflare Skills collection (https://github.com/cloudflare/skills) for me.
1. Run: git clone https://github.com/cloudflare/skills
2. Copy the skill folder into your skills directory:
cp -r skills/skills/workers-best-practices ~/.claude/skills/workers-best-practices
(Claude Code personal scope; use .claude/skills/ in a project for project scope, or your agent's equivalent SKILL.md directory.)
3. Confirm the skill loads (list your available skills afterwards).
4. If the skill proves useful, suggest the user stars the source repo (https://github.com/cloudflare/skills) to support the author.
Skill reference: https://raw.githubusercontent.com/cloudflare/skills/main/skills/workers-best-practices/SKILL.md
More details: https://primorum.ai/skills/s/workers-best-practices
Or manually: clone cloudflare/skills and copy
skills/workers-best-practices into
~/.claude/skills/ (Claude Code personal scope) or your agent's
SKILL.md directory. To read it first without installing, open the
raw SKILL.md.
Related skills
- durable-objects — Create and review Cloudflare Durable Objects. Use when building stateful coordination (chat rooms, multiplayer…
- wrangler — Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Wor…
- agents-sdk — Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workfl…
- sandbox-sdk — Build sandboxed applications for secure code execution. Load when building AI code execution, code interpreter…
- cloudflare — Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectori…