cloudflare

Guides development across Cloudflare Workers, storage, AI, networking, and security products.

Updated May 23, 2026
One-click install
npx skills add https://github.com/kveperedo/website --skill cloudflare-kveperedo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cloudflare
Source: https://github.com/kveperedo/website/tree/main/.agents/skills/cloudflare
Command: npx skills add https://github.com/kveperedo/website --skill cloudflare-kveperedo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Choosing and correctly configuring the right Cloudflare product is difficult because the platform spans dozens of services with overlapping capabilities, evolving limits, and frequent API changes. This Skill routes any Cloudflare task to the correct product reference and prioritizes live documentation over stale pre-trained knowledge. ## Core Features & Use Cases - Decision Trees: Route requirements (run code, store data, AI/ML, networking, security, media, analytics, IaC) to the correct Cloudflare product such as Workers, D1, R2, KV, Durable Objects, Vectorize, or Workers AI. - Progressive References: Load per-product reference files covering configuration, APIs, patterns, and gotchas for over 50 Cloudflare services. - Retrieval-First Guidance: Directs verification of limits, pricing, type signatures, and Wrangler config schemas against live Cloudflare docs before citing specifics. - Use Case: When building a full-stack app on Cloudflare, use the decision trees to pick Pages for hosting, D1 for relational data, KV for sessions, and Workers AI for inference, then load each product's reference for exact setup steps. ## Quick Start Ask the AI to help you build or configure any Cloudflare feature, such as setting up a Worker with a D1 database binding, and it will route to the right product reference.

Frequently Asked Questions about cloudflare

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between Cloudflare Workers and Pages?▼

Use Workers for serverless functions and APIs at the edge, and Pages for full-stack web apps with Git-based deploys. The skill's decision tree routes run-code requirements to Workers, Pages, Durable Objects, Workflows, or Containers based on the workload.

Which Cloudflare storage should I use: KV, D1, or R2?▼

Use KV for high-read key-value data like config and sessions, D1 for relational SQL data with strong consistency, and R2 for S3-compatible object storage. Durable Objects provide strongly-consistent per-entity state when coordination is needed.

How do I run AI inference on Cloudflare Workers?▼

Bind Workers AI in wrangler.jsonc and call env.AI.run() with a model like @cf/meta/llama-3.1-8b-instruct. For RAG, combine Workers AI embeddings with Vectorize; use AI Gateway for caching, rate limiting, and analytics across providers.

Can I manage Cloudflare resources with Terraform?▼

Yes, the Cloudflare Terraform provider v5 manages zones, DNS, Workers, KV, R2, D1, and Pages as code. Pin the provider version, use remote state, and never mix Terraform with wrangler.jsonc for the same resources.

Why should I verify Cloudflare limits against live docs?▼

Cloudflare limits, pricing, API signatures, and compatibility flags change frequently, so pre-trained knowledge may be outdated. The skill instructs retrieval from developers.cloudflare.com, workers-types packages, and the Wrangler config schema before citing specifics.

When should I use Durable Objects instead of KV?▼

Use Durable Objects when you need strong consistency, per-entity coordination, WebSocket hibernation, or co-located compute and storage. KV is better for globally cached, high-read, low-write data where eventual consistency is acceptable.