Cloudflare Development
Best-practice guide for building Cloudflare Workers, Pages, KV, D1, R2, and Durable Objects apps at the edge.
- CCM score
- 48 of 100
- skills.sh installs
- 742
- GitHub stars
- 321
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers Workers, Pages, KV, D1, R2, and Durable Objects, with typed bindings,
wrangler.tomlsetup, and code patterns for each - Includes environment type definitions, Pages Functions layout, and examples for queries, object storage, WebSocket coordination, and rate limiting
- Enforces parameterized D1 queries, request validation, and token-based auth checks as baseline edge security practice
- Designed for developers building edge-hosted APIs and stateful services on Cloudflare's global network
Install
$ npx -y skills add mindrally/skills --skill cloudflare-development -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Cloudflare Development Best Practices
Overview
This skill provides comprehensive guidelines for developing applications on Cloudflare's edge platform, including Workers, Pages, KV storage, D1 databases, R2 object storage, and Durable Objects.
Core Principles
- Write lightweight, fast code optimized for edge execution
- Minimize cold start times and execution duration
- Use appropriate storage solutions for each use case
- Follow security best practices for edge computing
- Leverage Cloudflare's global network for performance
Cloudflare Workers Guidelines
Basic Worker Structure
export default {
async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise<Response> {
try {
const url = new URL(request.url);
// Route handling
if (url.pathname === '/api/data') {
return handleApiRequest(request, env);
}
return new Response('Not Found', { status: 404 });
} catch (error) {
console.error('Worker error:', error);
return new Response('Internal Server Error', { status: 500 });
}
},
} satisfies ExportedHandler<Env>;
Details
- Repository
- github.com/mindrally/skills
- Categories
- Backend & APIs, DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the cloudflare-development skill cover?
It gives Claude guidelines for building on Cloudflare's edge platform, including Workers, Pages, KV storage, D1 databases, R2 object storage, and Durable Objects. It includes example code, Wrangler configuration, and edge security patterns such as request validation, authentication, and rate limiting.
How do I install the cloudflare-development skill?
Run npx -y skills add mindrally/skills --skill cloudflare-development -y inside your project. The skills CLI requires Node.js and then adds the skill for your agent to use.
Which skills are related to cloudflare-development in the Backend & APIs category?
In the Backend & APIs category, cloudflare-development sits alongside entra-app-registration, neon, firebase-basics, firebase-auth-basics, and workers-best-practices. Those skills cover other backend platforms, while this one focuses on Cloudflare's edge services.
More from mindrally/skills
All 240- Meta Prompt742
- Less Best Practices741
- Localization L10n741
- Micronaut738
- Firebase Development737
- Julia737
- Remix733
- Salesforce Dx733
- Graphql732
- Langchain Development732
- Clerk Authentication729
- Nx727
- Swiftui Development724
- Apollo Graphql723
- Azure723
- Monorepo Tamagui723
- Turbopack Bundler723
- React Native Cursor Rules719
- Netlify Development711
- Turborepo709
- Graphql Development708
- Viewcomfy Api Rules707
- Salesforce Development705
- React Native R3f704
Similar to Cloudflare Development
More Backend & APIscloudflarehoodini/ai-agents-skills147 installsCloudflare edge platform skill covering Workers, KV, D1, R2, Cloudflare AI, and Durable Objects with runnable code.
hono-cloudflarebobmatnyc/claude-mpm-skills661 installsHono on Cloudflare Workers with typed bindings for KV, D1, R2, Durable Objects, and edge deployment.
bun-cloudflare-workerssecondsky/claude-skills425 installsGuide for building and deploying Cloudflare Workers with Bun, covering wrangler setup, bindings, and secure installs.
gcp-developmentmindrally/skills993 installsBest-practices guide for building on GCP across serverless compute, data services, Terraform, and security.
cloudflare-opennextnull-shot/cloudflare-skills470 installsNext.js on Cloudflare Workers via OpenNext, covering App Router, Pages Router, ISR, SSG, and bindings.
serverlessmindrally/skills704 installsGuidelines for stateless FastAPI microservices on serverless platforms with gateways, observability, and resilience patterns.