Agent skill · software engineering · sundial-org
cloudflare-3
Manage Cloudflare Workers, KV, D1, R2, and secrets using the Wrangler CLI. Use when deploying workers, managing databases, storing objects, or configuring Cloudflare resources. Covers worker deployment, KV namespaces, D1 SQL databases, R2 object storage, secrets management, and tailing logs.
Why this skill is useful
Provides specific commands and workflows for managing Cloudflare resources that the AI wouldn't reliably generate on its own.
What it needs
Requires node, wrangler installed locally. Requires cloudflare account access. About 3k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
Cloudflare (Wrangler CLI) Manage Cloudflare Workers and associated services via the wrangler CLI. Prerequisites Node.js v20+ required Install: npm install -g wrangler or use project-local npx wrangler Auth: wrangler login (opens browser for OAuth) Verify: wrangler whoami Quick Reference Workers Secrets KV (Key-Value Store) D1 (SQL Database) R2 (Object Storage) Queues Configuration Files Wrangler supports both TOML and JSON/JSONC config formats: wrangler.toml — traditional format wrangler.json or wrangler.jsonc — newer, with JSON schema support ⚠️ Important: If both exist, JSON takes precedence. Pick one format to avoid confusion where edits to TOML are ignored. JSONC format (with schema autocomplete) TOML format With bindings: Static assets (for frameworks like Next.js): Common Patterns Deploy with environment Custom domain (via dashboard or API) Custom domains must be configured in the Cloudflare dashboard under Worker Settings > Domains & Routes, or via the Cloudflare API. Wrangler doesn't directly manage custom domains. Local development with bindings Checking deployment status What Wrangler Does NOT Do DNS management — Use the Cloudflare dashboard or API for DNS records Custom domains — Configure via dashboard (Worker Settings > Domains & Routes) or API SSL certificates — Managed automatically by Cloudflare when custom domains are added Firewall/WAF rules — Use dashboard or API For DNS/domain management, see the cloudflare skill (uses Cloudflare API directly). Troubleshooting Issue Solution ------- ---------- "Not authenticated" Run wrangler login Node version error Requires Node.js v20+ "No config found" Ensure config file exists (wrangler.toml or wrangler.jsonc) or use -c path/to/config Config changes ignored Check for wrangler.json/wrangler.jsonc — JSON takes precedence over TOML Binding not found Check wrangler.toml bindings match code references Resources Wrangler Docs Workers Docs D1 Docs R2 Docs KV Docs
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/cloudflare-3