⚡ Pulse Score 87/100
Cloudflare Architecture & Product Selection Playbook
Discover and choose Cloudflare products for apps, APIs, AI agents, storage, networking, and security. Use for architecture and product selection, including
⚡ 1-Click Agent & Developer Install
Zero Auth · Ready for Grok Bot, Claude Code & Cursornpx lightstate install skill-cloudflare
Copy-Paste System Prompt / Routine Blueprint:
Load the Cloudflare Architecture & Product Selection Playbook (skill-cloudflare) playbook. First inspect our current configuration and codebase for Cloudflare Workers, Wrangler CLI, Edge Runtime. Then propose a concrete, step-by-step implementation plan following the skill-cloudflare guardrails, run the non-destructive verification commands (npx wrangler whoami), and summarize any findings, risks, or required environment variables before making production changes.
📘 Complete SKILL.md Playbook Specification
--- name: cloudflare description: Discover and choose Cloudflare products for apps, APIs, AI agents, storage, networking, and security. Use for architecture and product selection, including when the user describes a need without Use when working with Cloudflare Workers, Wrangler CLI, Edge Runtime. triggers: - cloudflare - cloudflare workers - wrangler cli --- # Cloudflare Architecture & Product Selection Playbook ## 1. When to Use This Skill Load `skill-cloudflare` whenever an engineering, architecture, or operations task involves **Cloudflare Workers, Wrangler CLI, Edge Runtime**. Specifically: - Discover and choose Cloudflare products for apps, APIs, AI agents, storage, networking, and security. Use for architecture and product selection, including when the user describes a need without - Designing, reviewing, refactoring, or debugging production configurations without guesswork or deprecated flags. - Running deterministic pre-flight validation and post-execution verification checks before reporting completion. ## 2. Prerequisites & Required Environment - **Target Stack:** Cloudflare Workers, Wrangler CLI, Edge Runtime - **Permissions Boundary:** Read-only inspection by default; ask for explicit human confirmation before executing destructive mutations or production deployments. - **Reference Specification:** `https://github.com/cloudflare/skills` ## 3. Step-by-Step Execution Playbook 1. **Context & Configuration Discovery:** Inspect existing project manifests (`package.json`, `tsconfig.json`, `pyproject.toml`, `Cargo.toml`, `wrangler.jsonc`, or schema declarations) before proposing changes. Never overwrite existing bindings or credentials blindly. 2. **Deterministic Implementation:** Apply the canonical production patterns for **Cloudflare Workers**: - Enforce strict schema and type validation at every external boundary. - Include explicit error handling, structured telemetry, and idempotency keys on all mutating calls. - Keep secrets in environment variables or managed secret stores—never hardcode tokens in source files. 3. **Verification & Regression Gate:** Run the verification commands below and inspect both exit codes and output payloads before marking the task complete. ## 4. Reference Commands & CLI Workflow ```bash npx wrangler whoami npx wrangler deploy --dry-run ``` ## 5. Edge Cases & Anti-Hallucination Guardrails - **Zero Unverified Claims:** Never claim a build, migration, test run, or API call succeeded without inspecting the command output or HTTP status code. - **Rollback Readiness:** Always record the previous state or migration version so changes can be reverted cleanly if downstream health checks fail.
Synthesized Engineering Blueprint & Setup Guide
### Overview & Capability Scope
**Cloudflare Architecture & Product Selection Playbook** (`skill-cloudflare`) is a verified, portable `SKILL.md` playbook curated with **@getsentry** for Grok Bot (`x.ai/bot/`), Claude Code (`~/.claude/skills/`), and Cursor (`.cursor/skills/`).
Discover and choose Cloudflare products for apps, APIs, AI agents, storage, networking, and security. Use for architecture and product selection, including when the user describes a need without
### Required Stack & Tooling
- **Primary Stack:** Cloudflare Workers, Wrangler CLI, Edge Runtime
- **Category:** `security-ops`
- **Source & Reference:** [https://github.com/cloudflare/skills](https://github.com/cloudflare/skills)
### Quickstart Installation
Install this `SKILL.md` playbook directly into your agent workspace:
```bash
npx lightstate install skill-cloudflare
```
Or copy the complete `SKILL.md` specification below into `.cursor/skills/skill-cloudflare/SKILL.md` or `~/.claude/skills/skill-cloudflare/SKILL.md`.
### Verification Commands
```bash
npx wrangler whoami
npx wrangler deploy --dry-run
```
Tags: #cloudflare-workers#wrangler-cli#edge-runtime#skill-md#security-ops
✓ CERTIFIED X BUILDER PORTFOLIO
More Capabilities Curated from @getsentry
Related Verified Capabilities
Explore Security & Infra → Agent Skill
⚡ 94
Agent Skill
⚡ 93
Wrangler CLI Deployment & Resource Management Playbook
Agent Skill
⚡ 92
Cloudflare D1 SQLite Schema & Zero-Downtime Migrations Skill
Agent Skill
⚡ 91
Cloudflare R2 Object Storage & Presigned URL Pipeline Skill
Agent Skill
⚡ 90
Cloudflare Durable Objects Stateful Coordination Playbook
Agent Skill
⚡ 89