skillfed

cloudflare

Cloudflare skill provides a unified reference for building on Cloudflare's edge platform. Navigate compute options like Workers and Pages, storage solutions including KV and D1, AI capabilities via Workers AI and Vectorize, networking tools such as Tunnel and Spectrum, and security features like WAF and DDoS protection through decision trees and product indexes.

Cloudflare skill helps you deploy and run serverless functions at the edge using Workers, Pages, and related platform services.

AI-generated summary based on this skill's SKILL.md

725 71 MIT updated by dmmulroy

Install

dmmulroy/cloudflare-skill/cloudflare · repository language: Shell

CLI (skillfed)coming soon
git clone https://github.com/dmmulroy/cloudflare-skill
cp -r cloudflare-skill/skills/cloudflare ~/.claude/skills/cloudflare

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is Cloudflare Workers deployment and how do I get started?

Cloudflare Workers deployment lets you run serverless functions at Cloudflare's edge globally. Cloudflare provides wrangler, a CLI tool, to scaffold, develop, and deploy Workers. Start by installing wrangler, creating a new project, writing your function logic, and deploying with `wrangler deploy`. Cloudflare handles scaling and infrastructure automatically.

How do I set up Cloudflare D1 database and KV storage?

Cloudflare D1 is a serverless SQL database and KV is key-value storage for edge caching. D1 setup involves creating a database via wrangler, defining your schema, and binding it to Workers. KV setup requires creating a namespace and binding it to your Worker script. Both integrate seamlessly with Workers for fast, distributed data access.

Can Cloudflare help build AI and ML applications?

Yes, Cloudflare skill covers Workers AI for running inference models at the edge and Vectorize for managing embeddings. Workers AI lets you call pre-trained models directly from your Workers without external API calls. Vectorize stores and queries vector embeddings for semantic search and AI-powered features, all running on Cloudflare's infrastructure.

How do I configure Cloudflare WAF and DDoS protection?

Cloudflare skill guides you through WAF (Web Application Firewall) rule creation to block malicious traffic and DDoS mitigation settings. Configure WAF rules in the dashboard or via API to protect against common attacks. DDoS protection is automatic, but you can tune sensitivity and create custom rules to match your security posture.

What infrastructure-as-code options does Cloudflare support?

Cloudflare skill documents defining and managing Cloudflare infrastructure with Terraform and Pulumi. Both tools let you version-control your configuration, automate deployments, and manage resources like Workers, Pages, KV, D1, WAF rules, and DNS records programmatically across environments.

How do I deploy a full-stack application on Cloudflare?

Cloudflare skill provides a unified reference for full-stack deployment combining Workers for compute, Pages for frontend hosting, D1 for databases, KV for caching, and R2 for object storage. Use wrangler to manage all components, Cloudflare Tunnel for local service access, and security features like WAF and DDoS for protection.

SKILL.md

rendered from the published skill — quoted content, verbatim

Cloudflare Platform Skill

Consolidated skill for building on the Cloudflare platform. Use decision trees below to find the right product, then load detailed references.

Authentication (Required Before Deploy)

Verify auth before wrangler deploy, wrangler pages deploy, or npm run deploy:

npx wrangler whoami    # Shows account if authenticated

Not authenticated? → references/wrangler/auth.md - Interactive/local: wrangler login (one-time OAuth) - CI/CD: Set CLOUDFLARE_API_TOKEN env var

Quick Decision Trees

"I need to run code"

``` Need to run code? ├─ Serverless functions at the edge → workers/ ├─ Full-stack web app with Git deploys → pages/ ├─ Stateful coordination/real-time → durable-objects/ ├─ Long-running multi-step jobs → workflows/ ├─ Run containers →

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 15 files
skills/cloudflare/SKILL.md
skills/cloudflare/references/agents-sdk/README.md
skills/cloudflare/references/agents-sdk/api.md
skills/cloudflare/references/agents-sdk/configuration.md
skills/cloudflare/references/agents-sdk/gotchas.md
skills/cloudflare/references/agents-sdk/patterns.md
skills/cloudflare/references/ai-gateway/README.md
skills/cloudflare/references/ai-gateway/configuration.md
skills/cloudflare/references/ai-gateway/dynamic-routing.md
skills/cloudflare/references/ai-gateway/features.md
skills/cloudflare/references/ai-gateway/sdk-integration.md
skills/cloudflare/references/ai-gateway/troubleshooting.md
skills/cloudflare/references/ai-search/README.md
skills/cloudflare/references/ai-search/api.md
skills/cloudflare/references/ai-search/configuration.md

Related skills

Tags

edge-computing serverless-platform api-management data-persistence ml-inference network-security infrastructure-automation real-time-communication content-delivery developer-tooling