cloudflare

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

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/gmackie/agent-skills --skill cloudflare-gmackie
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cloudflare
Source: https://github.com/gmackie/agent-skills/tree/main/skills/cloudflare
Command: npx skills add https://github.com/gmackie/agent-skills --skill cloudflare-gmackie

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Cloudflare's platform spans dozens of products with evolving APIs, limits, and configuration options, making it hard to pick the right product and write correct code without outdated assumptions. This Skill routes any Cloudflare task to the right product reference and biases toward live documentation retrieval over stale pre-trained knowledge. ## Core Features & Use Cases - Decision trees for product selection: Quickly map needs like running code, storing data, AI inference, networking, security, media, or analytics to the correct Cloudflare product (Workers, KV, D1, R2, Vectorize, WAF, and more). - Progressive reference loading: Over 60 product-specific reference directories with README, configuration, API, patterns, and gotchas files so only task-relevant context is loaded. - Retrieval-first guidance: Directs lookups to Cloudflare docs, Wrangler config schemas, and Workers types before citing limits, pricing, or API signatures. - Use Case: When asked to add caching to a Workers API, the Skill routes to the KV and Cache references, verifies current binding syntax against live docs, and produces a correct wrangler.jsonc configuration. ## Quick Start Ask the agent to help build or configure any Cloudflare feature, such as setting up a Worker with a D1 database, and it will route to the right product references automatically.

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, Pages, and Durable Objects?▼

Use Workers for serverless edge functions, Pages for full-stack web apps with Git deploys, and Durable Objects for stateful coordination or real-time workloads. The Skill's decision trees map your requirement to the right compute product.

What Cloudflare storage should I use for my application data?▼

Use KV for key-value config and caching, D1 for relational SQLite data, R2 for S3-compatible object storage, Queues for async messaging, and Vectorize for vector embeddings. The Skill provides a storage decision tree comparing consistency, latency, and use cases.

Does the Cloudflare skill cover Workers AI and RAG patterns?▼

Yes, it includes references for Workers AI model selection, embeddings, streaming, and function calling, plus Vectorize for vector search and AI Gateway for caching and rate limiting. It covers full RAG architectures combining these products.

Can I manage Cloudflare infrastructure with Terraform or Pulumi?▼

Yes, dedicated references cover the Cloudflare Terraform Provider v5 and Pulumi, including provider setup, authentication, resource configuration, and importing existing resources with cf-terraforming. The Skill recommends provider-first IaC without mixing wrangler.jsonc for the same resources.

Why does the skill prefer fetching Cloudflare docs over built-in knowledge?▼

Cloudflare APIs, limits, pricing, and configuration options change frequently, so pre-trained knowledge may be outdated. The Skill directs retrieval from developers.cloudflare.com, Wrangler config schemas, and Workers types before citing specific numbers or signatures.

When should I use Cloudflare Snippets instead of Workers?▼

Use Snippets for simple request/response modifications under 5ms CPU and 32KB, included free on paid plans. Use Workers when you need complex logic, more than 5 subrequests, npm dependencies, or bindings like KV, D1, and R2.