cloudflare
Skill9 starsChanged 3 months agoMITView on GitHub
Unified Cloudflare platform skill - Workers, Durable Objects, Wrangler CLI, KV, D1, R2, AI, Vectorize, Queues, Workflows, Containers, Pages, security (WAF/DDoS/Turnstile), networking, IaC. Use for any Cloudflare task.
- Reads credentials
37 other projects use a version of this, 18 of them edited.
Adopted by
Most recently taken up by
- hencter/hencte.toptheir own version, first seen Oct 4, 2026
- delorenj/skillsedited, first seen Oct 2, 2026
- cloudflare/skillstheir own version, first seen Oct 1, 2026
- casoon/ai-agent-configedited, first seen Sep 27, 2026
- meowdiocre/meowpiedited, first seen Sep 19, 2026
- Shaybush/claude-skillstheir own version, first seen Sep 10, 2026
Used with
Projects with it also use cloudflare-one-migrations, cloudflare-email-service and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CloudflareSkillcloudflare-one-migrations
Assess and plan migrations from existing VPN, SWG, or SASE platforms to Cloudflare One, including policy mapping, parity gaps, and rollout.
Also in 6 projects that use this
CloudflareSkillcloudflare-email-service
Implement or troubleshoot Cloudflare Email Sending and Email Routing integrations and their delivery configuration.
Also in 8 projects that use this
OpenAISkillworkers-best-practices
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.
Also in 11 projects that use this
OpenAISkilldurable-objects
Create and review Cloudflare Durable Objects. Use when building stateful coordination (chat rooms, multiplayer games, booking systems), implementing RPC methods, SQLite storage, alarms, WebSockets, or reviewing DO code for best practices. Covers Workers integration, wrangler config, and testing with Vitest. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
Also in 9 projects that use this
akornmeierSkillmongodb
Guide for implementing MongoDB - a document database platform with CRUD operations, aggregation pipelines, indexing, replication, sharding, search capabilities, and comprehensive security. Use when working with MongoDB databases, designing schemas, writing queries, optimizing performance, configuring deployments (Atlas/self-managed/Kubernetes), implementing security, or integrating with applications through 15+ official drivers. (project)
Also in 3 projects that use this
imehrSkillrailway
Railway.com deployment and management - deployment, logs, migrations, troubleshooting, monorepo strategies, security, and CLI reference. Use when deploying to Railway, configuring services, managing environment variables, or debugging deployment issues.
Also in 3 projects that use this
- +2 more from cloudflare
- +3 more from openai
Other versions37 projects use a version of this.
Word for word · 0
None found.
Edited · 18
- openai/plugins★ 7.3k12% same
- open-fox/agents★ 5512% same
- rianvdm/lastfm-mcp★ 4914% same
- delorenj/skills★ 1512% same
- PanPanFR/oh-my-kilo★ 1237% same
- kevyder/banrepco_mcp★ 913% same
- adrienlupo/Claude-code-config★ 212% same
- FelipeAngeli/skills★ 213% same
- langgenius/mosoo-skills★ 212% same
- meowdiocre/meowpi★ 211% same
8 more not listed
Wrote their own version · 19
- cloudflare/computer★ 9.5ksame name
- cloudflare/skills★ 3ksame name
- getsentry/junior★ 365same name
- hoodini/ai-agents-skills★ 281same name
- ThePrimeagen/skills★ 234same name
- swyxio/skills★ 171same name
- popmechanic/VibesOS★ 135same name
- tdimino/claude-code-minoan★ 40same name
- alanalvestech/hitank★ 38same name
- yusukebe/skills★ 36same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository54 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- agentmemory-agentsSkill
- agentmemory-architectureSkill
- agentmemory-configSkill
- agentmemory-hooksSkill
- agentmemory-mcp-toolsSkill
- agentmemory-rest-apiSkill
- agentmemorySkill
- antislopSkill
- caveman-compressSkill
- caveman-helpSkill
- cavemanSkill
- caveman-statsSkill
- clean-codeSkill
- codebase-designSkill
- code-reviewSkill
- commit-contextSkill
- commit-historySkill
- delegationSkill
- documentationSkill
- forgetSkill
- git-commitSkill
- graphifySkill
- grillingSkill
- handoff-compactSkill
- handoffSkill
- i-have-adhdSkill
- impeccableSkill
- jev-decisionSkill
- lessonSkill
- memory-disciplineSkill
- plansSkill
- playwright-cliSkill
- ponytail-reviewSkill
- pwa-developmentSkill
- recallSkill
- recapSkill
- rememberSkill
- resolving-merge-conflictsSkill
- session-historySkill
- shadcnSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- ui-designSkill
- ui-ux-pro-maxSkill
- vercel-reactSkill
- verification-before-completionSkill
- viteSkill
- vitestSkill
- web-design-guidelinesSkill
- web-perfSkill
- write-agentmemory-skillSkill
- writing-skillsSkill
The file
Files
Cloudflare Platform Skill (Unified)
Retrieval-first — fetch latest docs before citing numbers, APIs, config. When reference and docs disagree, trust the docs.
Retrieval Sources
| Source | URL | Use for |
| CF Docs | https://developers.cloudflare.com/ | Limits, pricing, API reference |
| Workers types | npm pack @cloudflare/workers-types | Type signatures, binding shapes |
| Wrangler schema | node_modules/wrangler/config-schema.json | Config fields, binding shapes |
| Changelog | https://developers.cloudflare.com/changelog/ | Recent changes |
| Best Practices | https://developers.cloudflare.com/workers/best-practices/workers-best-practices/ | Canonical rules, anti-patterns |
| DO API | https://developers.cloudflare.com/durable-objects/api/ | DO methods, storage, alarms |
Reference Map - load BEFORE that task
| Task | Read FIRST |
Any wrangler command, config fields, deploy/secrets/KV/R2/D1/Vectorize CLI usage | references/wrangler-cli.md |
| Durable Objects code patterns (class setup, stubs, SQL/KV storage, alarms), rules & anti-patterns | references/durable-objects.md |
DECISION TREES
"I need to run code"
├─ Serverless edge functions → Workers
├─ Full-stack with Git deploys → Pages
├─ Stateful coordination/real-time → Durable Objects
├─ Long-running multi-step → Workflows
├─ Run containers → Containers
├─ Multi-tenant (customers deploy) → Workers for Platforms
├─ Scheduled tasks (cron) → Cron Triggers
├─ Lightweight edge logic (modify HTTP) → Snippets
├─ Process execution events (logs) → Tail Workers
└─ Optimize latency to backend → Smart Placement"I need to store data"
├─ Key-value (config, sessions, cache) → KV
├─ Relational SQL → D1 (SQLite) or Hyperdrive (existing PG/MySQL)
├─ Object/file (S3-compatible) → R2
├─ Versioned file trees → Artifacts
├─ Message queue → Queues
├─ Vector embeddings → Vectorize
├─ Per-entity state → DO storage (SQLite)
├─ Secrets → Secrets Store
├─ Streaming ETL to R2 → Pipelines
├─ Managed Iceberg catalog → R2 Data Catalog
├─ Serverless SQL analytics → R2 SQL
└─ Persistent cache → Cache Reserve"I need AI/ML"
├─ Run inference (LLMs, embeddings, images) → Workers AI
├─ Vector database for RAG/search → Vectorize
├─ Build stateful AI agents → Agents SDK
├─ Gateway for any AI provider → AI Gateway
└─ AI-powered search widget → AI Search"I need security"
├─ WAF → WAF
├─ DDoS protection → DDoS
├─ Bot detection → Bot Management
├─ API protection → API Shield
├─ CAPTCHA alternative → Turnstile
└─ Credential leak detection → WAF (managed ruleset)WORKERS BEST PRACTICES
Configuration
| Rule | Summary |
| compatibility_date | Set to today on new; update periodically |
| nodejs_compat | Enable flag — many libs need Node.js built-ins |
| wrangler types | Run after config changes — never hand-write Env |
| Secrets | Use wrangler secret put, never hardcode |
| wrangler.jsonc | JSON config preferred; newer features JSON-only |
Request & Response
| Rule | Summary |
| Streaming | Stream large/unknown payloads — never await response.text() on unbounded |
| waitUntil | Use ctx.waitUntil() for post-response work; don't destructure ctx |
Architecture
| Rule | Summary |
| Bindings over REST | Use in-process bindings (KV, R2, D1, Queues) not REST API |
| Queues & Workflows | Move async work off critical path |
| Service bindings | Worker-to-Worker via service bindings, not public HTTP |
| Hyperdrive | Always for external PG/MySQL connections |
Security
| Rule | Summary |
| Web Crypto | crypto.randomUUID() / crypto.getRandomValues() — never Math.random() |
| No passThroughOnException | Explicit try/catch with structured errors |
Anti-Patterns (NEVER)
| Anti-pattern | Why |
await response.text() unbounded | Memory exhaustion (128MB limit) |
| Hardcoded secrets | Credential leak |
Math.random() for tokens | Not cryptographically secure |
Bare fetch() no await/waitUntil | Floating promise |
| Module-level mutable request state | Cross-request data leaks |
| REST API from Worker | Unnecessary network hop, latency |
ctx.passThroughOnException() | Hides bugs |
| Hand-written Env | Drifts from wrangler config |
Destructuring ctx | Loses this binding |
any on Env/params | Defeats type safety |
as unknown as T double-cast | Hides type incompatibilities |
implements on platform classes | Use extends DurableObject/WorkerEntrypoint/Workflow |
env.X inside platform class | Use this.env.X |
PRODUCT INDEX
- Compute & Runtime: Workers, Pages, Durable Objects, Workflows, Containers, Workers for Platforms, Cron Triggers, Tail Workers, Snippets, Smart Placement
- Storage & Data: KV, D1, R2, Artifacts, Queues, Hyperdrive, DO Storage, Secrets Store, Pipelines, R2 Data Catalog, R2 SQL
- AI & ML: Workers AI, Vectorize, Agents SDK, AI Gateway, AI Search
- Networking: Tunnel, Spectrum, TURN, Network Interconnect, Argo Smart Routing, Workers VPC
- Security: WAF, DDoS, Bot Management, API Shield, Turnstile
- Media: Images, Stream, Browser Rendering, Zaraz
- IaC: Pulumi, Terraform, API
- Other: Email Routing, Email Workers, Static Assets, Bindings, Cache Reserve, Flagship (feature flags)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

