Skip to content
Back to skills

Cloudflare

ASecurity

Cloudflare as a platform: Workers and static sites, R2 object storage, Zero Trust (Tunnel and Access) for internal tools, plus WAF and DNS basics. Set up, deploy or review a Cloudflare project with wrangler.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 14, 2026
toolsrustgobashrailsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add SebastianLuser/claude-code-arcane --skill cloudflare --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cloudflare?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cloudflare
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sebastianluser-cloudflare/badge)](https://www.skillsdirectory.com/skills/sebastianluser-cloudflare)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cloudflare
description: "Cloudflare as a platform: Workers and static sites, R2 object storage, Zero Trust (Tunnel and Access) for internal tools, plus WAF and DNS basics. Set up, deploy or review a Cloudflare project with wrangler."
category: "infrastructure"
argument-hint: "[workers | r2 | zero-trust | review]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Bash, Write, Edit
---

# Cloudflare

Cloudflare beyond the CDN: running code at the edge (Workers), storing files without egress fees (R2), and exposing internal tools without opening ports (Tunnel + Access). Caching rules and purges are in `/cdn-setup`.

## Phase 1: Scope

| Mode | Does |
|---|---|
| `workers` | A Worker or a full-stack app (static assets + API) with `wrangler`: config, bindings, secrets, environments, deploy |
| `r2` | Buckets, access from Workers or the S3 API, presigned URLs, public access through a custom domain |
| `zero-trust` | Cloudflare Tunnel to publish an origin with no public IP, and Access policies in front of internal tools |
| `review` | Checks an existing account or project against the baseline in Phase 3 and gives a verdict |

Read `wrangler.jsonc` / `wrangler.toml`, `package.json` and the deploy workflow first. Check the installed `wrangler` version (`npx wrangler --version`): config keys and defaults change between majors.

## Phase 2: References

| Product | Reference |
|---|---|
| Workers and static assets (and Pages projects) | `references/workers.md` |
| R2 | `references/r2.md` |
| Tunnel and Access | `references/zero-trust.md` |

Read only the one in scope.

## Phase 3: Account baseline

| Area | Baseline |
|---|---|
| **DNS** | Records proxied (orange cloud) for anything served through Cloudflare; no DNS-only record exposing the origin IP of a proxied service |
| **TLS** | SSL/TLS mode Full (strict); Always Use HTTPS; minimum TLS 1.2 |
| **Origin** | Reachable only from Cloudflare: a Tunnel, or a firewall allowing Cloudflare's IP ranges only |
| **WAF** | Managed rules on; rate limiting on login, signup and other abuse-prone endpoints |
| **Access to the account** | Members with the narrowest role, SSO or 2FA required; API tokens scoped to one zone or account and the permissions they need, never the Global API Key |
| **CI** | Deploys with `wrangler` using a scoped API token stored as a CI secret |

## Phase 4: Verdict (review mode)

| Verdict | When |
|---|---|
| **PASS** | Baseline met; secrets in Worker secrets, not in config; internal tools behind Access |
| **CONCERNS** | Missing WAF rate limits, broad API tokens, or a Worker without environments for staging |
| **FAIL** | Origin reachable directly while proxied, Flexible SSL, secrets in `wrangler` config or the repo, an internal tool on the internet without Access |

## Protocol

- Show config changes and ask "May I write these?" before editing `wrangler` config or workflows.
- `wrangler deploy`, DNS changes and Access policy changes affect production: give the command and ask before running it.
- Never paste API tokens or secret values into the conversation.

## Next steps

- `/cdn-setup` for cache rules and purging.
- `/ci-cd-setup` for the deploy workflow.
- `/coding-agent-guardrails` when Workers are deployed by agents or CI with broad tokens.

Files in this skill

  • SKILL.md3.2 KB
  • references/r2.md1.8 KB
  • references/workers.md2.5 KB
  • references/zero-trust.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.