$npx -y skills add shobcoder/shob --skill cloudflareComprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking (Tunnel, Spectrum), security (WAF, DDoS), and infrastructure-as-code (Terraform, Pulumi). Use for any Cloudflare development task.
| 1 | # Cloudflare Platform Skill |
| 2 | |
| 3 | Consolidated skill for building on the Cloudflare platform. Use decision trees below to find the right product, then load detailed references. |
| 4 | |
| 5 | ## Quick Decision Trees |
| 6 | |
| 7 | ### "I need to run code" |
| 8 | |
| 9 | ``` |
| 10 | Need to run code? |
| 11 | ├─ Serverless functions at the edge → workers/ |
| 12 | ├─ Full-stack web app with Git deploys → pages/ |
| 13 | ├─ Stateful coordination/real-time → durable-objects/ |
| 14 | ├─ Long-running multi-step jobs → workflows/ |
| 15 | ├─ Run containers → containers/ |
| 16 | ├─ Multi-tenant (customers deploy code) → workers-for-platforms/ |
| 17 | ├─ Scheduled tasks (cron) → cron-triggers/ |
| 18 | ├─ Lightweight edge logic (modify HTTP) → snippets/ |
| 19 | ├─ Process Worker execution events (logs/observability) → tail-workers/ |
| 20 | └─ Optimize latency to backend infrastructure → smart-placement/ |
| 21 | ``` |
| 22 | |
| 23 | ### "I need to store data" |
| 24 | |
| 25 | ``` |
| 26 | Need storage? |
| 27 | ├─ Key-value (config, sessions, cache) → kv/ |
| 28 | ├─ Relational SQL → d1/ (SQLite) or hyperdrive/ (existing Postgres/MySQL) |
| 29 | ├─ Object/file storage (S3-compatible) → r2/ |
| 30 | ├─ Message queue (async processing) → queues/ |
| 31 | ├─ Vector embeddings (AI/semantic search) → vectorize/ |
| 32 | ├─ Strongly-consistent per-entity state → durable-objects/ (DO storage) |
| 33 | ├─ Secrets management → secrets-store/ |
| 34 | ├─ Streaming ETL to R2 → pipelines/ |
| 35 | └─ Persistent cache (long-term retention) → cache-reserve/ |
| 36 | ``` |
| 37 | |
| 38 | ### "I need AI/ML" |
| 39 | |
| 40 | ``` |
| 41 | Need AI? |
| 42 | ├─ Run inference (LLMs, embeddings, images) → workers-ai/ |
| 43 | ├─ Vector database for RAG/search → vectorize/ |
| 44 | ├─ Build stateful AI agents → agents-sdk/ |
| 45 | ├─ Gateway for any AI provider (caching, routing) → ai-gateway/ |
| 46 | └─ AI-powered search widget → ai-search/ |
| 47 | ``` |
| 48 | |
| 49 | ### "I need networking/connectivity" |
| 50 | |
| 51 | ``` |
| 52 | Need networking? |
| 53 | ├─ Expose local service to internet → tunnel/ |
| 54 | ├─ TCP/UDP proxy (non-HTTP) → spectrum/ |
| 55 | ├─ WebRTC TURN server → turn/ |
| 56 | ├─ Private network connectivity → network-interconnect/ |
| 57 | ├─ Optimize routing → argo-smart-routing/ |
| 58 | ├─ Optimize latency to backend (not user) → smart-placement/ |
| 59 | └─ Real-time video/audio → realtimekit/ or realtime-sfu/ |
| 60 | ``` |
| 61 | |
| 62 | ### "I need security" |
| 63 | |
| 64 | ``` |
| 65 | Need security? |
| 66 | ├─ Web Application Firewall → waf/ |
| 67 | ├─ DDoS protection → ddos/ |
| 68 | ├─ Bot detection/management → bot-management/ |
| 69 | ├─ API protection → api-shield/ |
| 70 | ├─ CAPTCHA alternative → turnstile/ |
| 71 | └─ Credential leak detection → waf/ (managed ruleset) |
| 72 | ``` |
| 73 | |
| 74 | ### "I need media/content" |
| 75 | |
| 76 | ``` |
| 77 | Need media? |
| 78 | ├─ Image optimization/transformation → images/ |
| 79 | ├─ Video streaming/encoding → stream/ |
| 80 | ├─ Browser automation/screenshots → browser-rendering/ |
| 81 | └─ Third-party script management → zaraz/ |
| 82 | ``` |
| 83 | |
| 84 | ### "I need infrastructure-as-code" |
| 85 | |
| 86 | ``` |
| 87 | Need IaC? → pulumi/ (Pulumi), terraform/ (Terraform), or api/ (REST API) |
| 88 | ``` |
| 89 | |
| 90 | ## Product Index |
| 91 | |
| 92 | ### Compute & Runtime |
| 93 | |
| 94 | | Product | Reference | |
| 95 | | --------------------- | ----------------------------------- | |
| 96 | | Workers | `references/workers/` | |
| 97 | | Pages | `references/pages/` | |
| 98 | | Pages Functions | `references/pages-functions/` | |
| 99 | | Durable Objects | `references/durable-objects/` | |
| 100 | | Workflows | `references/workflows/` | |
| 101 | | Containers | `references/containers/` | |
| 102 | | Workers for Platforms | `references/workers-for-platforms/` | |
| 103 | | Cron Triggers | `references/cron-triggers/` | |
| 104 | | Tail Workers | `references/tail-workers/` | |
| 105 | | Snippets | `references/snippets/` | |
| 106 | | Smart Placement | `references/smart-placement/` | |
| 107 | |
| 108 | ### Storage & Data |
| 109 | |
| 110 | | Product | Reference | |
| 111 | | --------------- | ----------------------------- | |
| 112 | | KV | `references/kv/` | |
| 113 | | D1 | `references/d1/` | |
| 114 | | R2 | `references/r2/` | |
| 115 | | Queues | `references/queues/` | |
| 116 | | Hyperdrive | `references/hyperdrive/` | |
| 117 | | DO Storage | `references/do-storage/` | |
| 118 | | Secrets Store | `references/secrets-store/` | |
| 119 | | Pipelines | `references/pipelines/` | |
| 120 | | R2 Data Catalog | `references/r2-data-catalog/` | |
| 121 | | R2 SQL | `references/r2-sql/` | |
| 122 | |
| 123 | ### AI & Machine Learning |
| 124 | |
| 125 | | Product | Reference | |
| 126 | | ---------- | ------------------------ | |
| 127 | | Workers AI | `references/workers-ai/` | |
| 128 | | Vectorize | `references/vectorize/` | |
| 129 | | Agents SDK | `references/agents-sdk/` | |
| 130 | | AI Gateway | `references/ai-gateway/` | |
| 131 | | AI Search | `references/ai-search/` | |
| 132 | |
| 133 | ### Networking & Connectivity |
| 134 | |
| 135 | | Product | Reference | |
| 136 | | -------------------- | ---------------------------------- | |
| 137 | | Tunnel |