Skills wrangler
📦

wrangler

Safe ⚙️ External commands🌐 Network access🔑 Env variables

Deploy Cloudflare Workers with Wrangler CLI

Also available from: Dicklesworthstone

Cloudflare Workers deployment requires understanding of CLI commands, configuration, and resource bindings. This skill provides comprehensive documentation for deploying and managing Workers, KV, R2, D1, and more.

Supports: Claude Codex Code(CC)
🥉 72 Bronze
1

Download the skill ZIP

2

Upload in Claude

Go to Settings → Capabilities → Skills → Upload skill

3

Toggle on and start using

Test it

Using "wrangler". How do I deploy my Worker?

Expected outcome:

  • Run these commands:
  • 1. wrangler deploy - Deploy to production
  • 2. wrangler deploy --env staging - Deploy to staging environment
  • 3. wrangler deploy --dry-run - Validate without deploying
  •  
  • Make sure to run wrangler check first to validate your config.

Using "wrangler". How do I add a KV namespace?

Expected outcome:

  • 1. Create namespace: wrangler kv namespace create MY_KV
  • 2. Add to wrangler.jsonc:
  • { "kv_namespaces": [{ "binding": "KV", "id": "<ID>" }] }
  • 3. Run wrangler types to update TypeScript bindings

Security Audit

Safe
v1 • 2/17/2026

All 161 static findings are false positives. The skill is official Cloudflare documentation for the Wrangler CLI tool. External command detections are legitimate CLI commands documented in code blocks. Network detections are official Cloudflare URLs and localhost testing endpoints. Environment variable access is standard secret management documentation. No malicious behavior detected.

1
Files scanned
888
Lines analyzed
3
findings
1
Total audits

Risk Factors

⚙️ External commands (133)
SKILL.md:12-14 SKILL.md:14-17 SKILL.md:17-19 SKILL.md:19-23 SKILL.md:23-24 SKILL.md:24-25 SKILL.md:25-26 SKILL.md:26-27 SKILL.md:27-28 SKILL.md:28 SKILL.md:28-32 SKILL.md:32-38 SKILL.md:38-44 SKILL.md:44-45 SKILL.md:45-46 SKILL.md:46-47 SKILL.md:47-48 SKILL.md:48-49 SKILL.md:49-50 SKILL.md:50-51 SKILL.md:51-59 SKILL.md:59-66 SKILL.md:66-70 SKILL.md:70-131 SKILL.md:131-135 SKILL.md:135-144 SKILL.md:144-152 SKILL.md:152-174 SKILL.md:174-178 SKILL.md:178-180 SKILL.md:180-190 SKILL.md:190-196 SKILL.md:196-198 SKILL.md:198-201 SKILL.md:201-209 SKILL.md:209-224 SKILL.md:224-228 SKILL.md:228-243 SKILL.md:243-247 SKILL.md:247-259 SKILL.md:259-267 SKILL.md:267-276 SKILL.md:276-280 SKILL.md:280-298 SKILL.md:298-302 SKILL.md:302-308 SKILL.md:308-316 SKILL.md:316-331 SKILL.md:331-335 SKILL.md:335-344 SKILL.md:344-348 SKILL.md:348-354 SKILL.md:354-362 SKILL.md:362-377 SKILL.md:377-381 SKILL.md:381-390 SKILL.md:390-394 SKILL.md:394-406 SKILL.md:406-410 SKILL.md:410-416 SKILL.md:416-420 SKILL.md:420-431 SKILL.md:431-439 SKILL.md:439-454 SKILL.md:454-458 SKILL.md:458-464 SKILL.md:464-468 SKILL.md:468-474 SKILL.md:474-482 SKILL.md:482-498 SKILL.md:498-502 SKILL.md:502-509 SKILL.md:509-517 SKILL.md:517-523 SKILL.md:523-527 SKILL.md:527-531 SKILL.md:531-541 SKILL.md:541-556 SKILL.md:556-560 SKILL.md:560-575 SKILL.md:575-583 SKILL.md:583-592 SKILL.md:592-596 SKILL.md:596-605 SKILL.md:605-609 SKILL.md:609-615 SKILL.md:615-619 SKILL.md:619-629 SKILL.md:629-637 SKILL.md:637-652 SKILL.md:652-656 SKILL.md:656-665 SKILL.md:665-669 SKILL.md:669-679 SKILL.md:679-687 SKILL.md:687-702 SKILL.md:702-706 SKILL.md:706-712 SKILL.md:712-720 SKILL.md:720-729 SKILL.md:729-733 SKILL.md:733-745 SKILL.md:745-749 SKILL.md:749-759 SKILL.md:759-765 SKILL.md:765-777 SKILL.md:777-785 SKILL.md:785-800 SKILL.md:800-804 SKILL.md:804-811 SKILL.md:811-819 SKILL.md:819-821 SKILL.md:821-823 SKILL.md:823-824 SKILL.md:824-836 SKILL.md:836-840 SKILL.md:840-846 SKILL.md:846-856 SKILL.md:856 SKILL.md:856-857 SKILL.md:857-858 SKILL.md:858-859 SKILL.md:859-860 SKILL.md:860-865 SKILL.md:865-874 SKILL.md:874-880 SKILL.md:880-882 SKILL.md:882-883 SKILL.md:883 SKILL.md:883-884 SKILL.md:884-885 SKILL.md:885-886 SKILL.md:886-887
🌐 Network access (3)
🔑 Env variables (6)

Detected Patterns

False Positive: External Commands DetectionFalse Positive: Network URL DetectionFalse Positive: Environment Access DetectionFalse Positive: Weak Cryptographic AlgorithmFalse Positive: Critical Heuristic - Dangerous Combination
Audited by: claude

Quality Score

38
Architecture
100
Maintainability
85
Content
50
Community
100
Security
74
Spec Compliance

What You Can Build

Deploy a new Worker to Cloudflare

Get step-by-step guidance for initializing and deploying a new Worker with proper configuration

Configure KV and R2 storage bindings

Learn how to set up key-value storage and object storage for your Worker

Manage secrets for production Workers

Securely manage API keys and secrets using wrangler secret commands

Try These Prompts

Basic Worker deployment
How do I deploy my Worker to Cloudflare using wrangler?
Configure KV namespace
Show me how to add a KV namespace binding to my wrangler.jsonc config
Set up secrets
How do I securely add API keys as secrets for my Worker?
Local development with bindings
How do I test my Worker locally with remote R2 and AI bindings?

Best Practices

  • Run wrangler check before every deployment to catch configuration errors
  • Use wrangler types after any config changes to regenerate TypeScript bindings
  • Set compatibility_date to a recent date within 30 days for latest features

Avoid

  • Hardcoding secrets directly in wrangler.jsonc - use wrangler secret instead
  • Skipping wrangler types after adding new bindings
  • Deploying without testing locally first using wrangler dev

Frequently Asked Questions

What version of wrangler should I use?
Use wrangler v4.x or later. Check with wrangler --version.
Can I use TOML or JSON for config?
Prefer wrangler.jsonc (JSON with comments). Newer features are JSON-only.
How do I test my Worker locally?
Run wrangler dev. Use wrangler dev --remote for Cloudflare bindings.
Where should I store local development secrets?
Use .dev.vars file in your project root. Never commit this file.
How do I rollback a bad deployment?
Use wrangler rollback or wrangler rollback <VERSION_ID>.
Does Workers AI work locally?
No, Workers AI always runs remotely and incurs charges even in local dev.

Developer Details

File structure

📄 SKILL.md