skillfed

Cloudflare

This skill equips you to build and deploy applications on Cloudflare's edge network using Workers, a serverless platform supporting JavaScript, TypeScript, and WebAssembly. It covers environment bindings, storage services (KV for caching, D1 for SQL, R2 for objects), Durable Objects for stateful coordination, and Wrangler CLI for local development and deployment.

Cloudflare helps you deploy serverless edge compute with Workers, KV, D1, R2, and Pages.

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

13 5 unlicensed — metadata only updated by oakoss

Install

oakoss/agent-skills/cloudflare · repository language: Python

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

generated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub

Frequently asked questions

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

What is Cloudflare and how do I set up integration?

Cloudflare is a platform for building and deploying applications on its edge network using Workers, a serverless environment. Cloudflare integration begins with connecting your domain and configuring nameservers to point to Cloudflare's DNS infrastructure. You can then enable services like CDN acceleration, security features, and Workers for serverless compute. Setup typically involves adding your site to Cloudflare, updating DNS records, and configuring performance and security settings through the dashboard or API.

How do I manage DNS and domain settings via Cloudflare?

Cloudflare DNS management lets you add, edit, and delete DNS records directly from the dashboard or API. After pointing your domain's nameservers to Cloudflare, you can create A, AAAA, CNAME, MX, and other record types. Cloudflare provides free DNS hosting with automatic DNSSEC signing and supports advanced features like DNS firewall rules and conditional routing. You can also manage domain-level settings such as SSL/TLS encryption modes, CNAME flattening, and nameserver configuration through the Cloudflare control panel.

What storage services does Cloudflare provide for edge applications?

Cloudflare offers multiple storage solutions for Workers: KV for distributed key-value caching with millisecond latency, D1 for serverless SQL databases, R2 for object storage, and Durable Objects for stateful coordination and real-time data. KV is ideal for caching and session storage, D1 handles relational data, R2 replaces traditional S3-like storage, and Durable Objects enable WebSocket connections and transactional operations. Environment bindings in Wrangler connect your Workers to these services seamlessly.

How can I optimize website performance with Cloudflare CDN?

Cloudflare CDN setup involves enabling caching, configuring page rules, and optimizing content delivery. Cloudflare automatically caches static assets at edge locations worldwide, reducing latency and server load. You can customize cache behavior with page rules, set cache expiration times, enable Brotli compression, and use Cloudflare's image optimization. For dynamic content, Cloudflare Workers enable serverless compute at the edge. Analytics dashboards show performance metrics, and features like prefetching and HTTP/2 push further accelerate content delivery.

What security features does Cloudflare provide for DDoS protection?

Cloudflare security includes DDoS protection, Web Application Firewall (WAF), rate limiting, and firewall rules. DDoS protection automatically mitigates attacks at the network and application layers. Firewall rules let you block or challenge traffic based on IP, country, or request patterns. Rate limiting prevents abuse by restricting requests per IP or session. SSL/TLS encryption secures data in transit, and security settings control bot traffic, challenge levels, and security headers. These features work together to defend against threats while maintaining performance.

How do I automate Cloudflare operations using Workers and Wrangler?

Cloudflare automation uses Workers for serverless functions and Wrangler CLI for local development and deployment. Wrangler enables you to write JavaScript or TypeScript, bind to KV, D1, R2, and Durable Objects, and deploy instantly to Cloudflare's edge. Workers can intercept requests, modify responses, integrate with APIs, and trigger workflows. Wrangler handles environment configuration, secrets management, and publishing. You can also use Cloudflare's API directly to automate DNS updates, firewall rule changes, and other account operations programmatically.

Related skills

Tags

cdn-delivery dns-management security-infrastructure edge-computing performance-optimization ddos-mitigation ssl-tls web-acceleration