cf-integrations-referencelisted
Install: claude install-skill heymegabyte/claude-skills
# CF Integrations Reference — the world-class edge stack
> Consolidated reference (merged from the former architecture/media/observability/site-gen packs). The non-inferable Cloudflare-specific + vendor choices. Requirements own the "what"; this owns the "which CF primitive + which vendor."
## Cloudflare platform + data
- Data: **D1** (Sessions API + read replicas; dynamic sitemap from D1) · **R2** · **KV** (60s host/config cache) · **Hyperdrive** (accelerate Neon/Postgres when a CF primitive can't) · **Drizzle ORM** + migrations at the boundary.
- Compute + coordination: **Durable Objects** patterns — rate-limiter · WebSocket/realtime + presence · agent-DO; **Workflows** (durable multi-step) · **Queues** (fallback to Workflows when unbound) · **Browser Rendering** (headless jobs + E2E journeys).
- API: **Hono** RPC-mode + **OpenAPI generation** from Hono. Zod at every boundary.
- Auth + tenancy: **Clerk** (M2M JWT) · Zero Trust Access · enterprise multi-tenancy · multi-tenant subdomain provisioning (`{slug}.projectsites.dev`).
- Provisioning: CF-native products are API-provisionable with the global key (Turnstile/DNS/custom-domains) — never hand-create in the dashboard.
## AI / edge intelligence
- **Workers AI** (Llama + embeddings, FP8) via **AI Gateway** (cache · observability · fallback · rate-limit). **Vectorize** = the vector DB for RAG (RAG = Vectorize + Workers AI).
- Every app is AI-native (per app-foundation): generative / chat-as-UI / voice / multimodal where