cloudflare
Core platform bindings and storage services guide for Cloudflare.
Developer Setup
Setup & Installation
npx skills add https://github.com/cloudflare/skills --skill cloudflarenpx skills add https://github.com/cloudflare/skills --skill cloudflareOverview
What This Skill Does
Defines integration guides, local emulator bindings, and IaC deployment patterns for D1, R2, KV, Pages, and Workers.
Application
When to use this Skill
- Developing serverless web applications using Cloudflare Workers and Pages.
- Configuring key-value storage (KV), relational databases (D1), and object storage (R2).
- Setting up AI pipelines using Workers AI and Vectorize embeddings.
- Enforcing network policies using Cloudflare Tunnel and Spectrum routing.
- Managing Cloudflare resources using IaC tools like Terraform or Pulumi.
Documentation
Show Skills.md file
Cloudflare Platform Skill
Consolidated skill for building on the Cloudflare platform. Use decision trees below to find the right product, then load detailed references.
Your knowledge of Cloudflare APIs, types, limits, and pricing may be outdated. Prefer retrieval over pre-training — the references in this skill are starting points, not source of truth.
Retrieval Sources
Fetch the latest information before citing specific numbers, API signatures, or configuration options. Do not rely on baked-in knowledge or these reference files alone.
| Source | How to retrieve | Use for |
|---|---|---|
| Cloudflare docs | cloudflare-docs search tool or https://developers.cloudflare.com/ |
Limits, pricing, API reference, compatibility dates/flags |
| Workers types | npm pack @cloudflare/workers-types or check node_modules |
Type signatures, binding shapes, handler types |
| Wrangler config schema | node_modules/wrangler/config-schema.json |
Config fields, binding shapes, allowed values |
| Product changelogs | https://developers.cloudflare.com/changelog/ |
Recent changes to limits, features, deprecations |
When a reference file and the docs disagree, trust the docs. This is especially important for: numeric limits, pricing tiers, type signatures, and configuration options.
Quick Decision Trees
"I need feature flags"
Need feature flags?
└─ Feature toggles, targeting rules, percentage rollouts → flagship/
├─ Evaluate in Workers → Flagship binding (env.FLAGS)
├─ Evaluate in Node.js / browser → OpenFeature SDK (@cloudflare/flagship)
└─ Manage flags via API → Flagship REST API
Recommendations