📦

wrangler

آمن ⚙️ الأوامر الخارجية🌐 الوصول إلى الشبكة🔑 متغيرات البيئة

Implantar Cloudflare Workers com Wrangler CLI

متاح أيضًا من: Dicklesworthstone

A implantação de Cloudflare Workers requer compreensão de comandos CLI, configuração e vinculações de recursos. Esta skill fornece documentação abrangente para implantação e gerenciamento de Workers, KV, R2, D1 e muito mais.

يدعم: Claude Codex Code(CC)
🥉 72 برونزي
1

تنزيل ZIP المهارة

2

رفع في Claude

اذهب إلى Settings → Capabilities → Skills → Upload skill

3

فعّل وابدأ الاستخدام

اختبرها

استخدام "wrangler". How do I deploy my Worker?

النتيجة المتوقعة:

  • 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.

استخدام "wrangler". How do I add a KV namespace?

النتيجة المتوقعة:

  • 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

التدقيق الأمني

آمن
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
الملفات التي تم فحصها
888
الأسطر التي تم تحليلها
3
النتائج
1
إجمالي عمليات التدقيق

عوامل الخطر

⚙️ الأوامر الخارجية (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
🌐 الوصول إلى الشبكة (3)
🔑 متغيرات البيئة (6)

الأنماط المكتشفة

False Positive: External Commands DetectionFalse Positive: Network URL DetectionFalse Positive: Environment Access DetectionFalse Positive: Weak Cryptographic AlgorithmFalse Positive: Critical Heuristic - Dangerous Combination
تم تدقيقه بواسطة: claude

درجة الجودة

38
الهندسة المعمارية
100
قابلية الصيانة
85
المحتوى
50
المجتمع
100
الأمان
74
الامتثال للمواصفات

ماذا يمكنك بناءه

Implantar um novo Worker no Cloudflare

Obtenha orientação passo a passo para inicializar e implantar um novo Worker com configuração adequada

Configurar vinculações de armazenamento KV e R2

Aprenda como configurar armazenamento de chave-valor e armazenamento de objetos para seu Worker

Gerenciar segredos para Workers de produção

Gerenciar com segurança chaves de API e segredos usando comandos wrangler secret

جرّب هذه الموجهات

Implantação básica de Worker
How do I deploy my Worker to Cloudflare using wrangler?
Configurar namespace KV
Show me how to add a KV namespace binding to my wrangler.jsonc config
Configurar segredos
How do I securely add API keys as secrets for my Worker?
Desenvolvimento local com vinculações
How do I test my Worker locally with remote R2 and AI bindings?

أفضل الممارسات

  • Execute wrangler check antes de cada implantação para capturar erros de configuração
  • Use wrangler types após qualquer alteração de configuração para regenerar vinculações TypeScript
  • Defina compatibility_date para uma data recente dentro de 30 dias para recursos mais recentes

تجنب

  • Colocar segredos diretamente em wrangler.jsonc - use wrangler secret
  • Pular wrangler types após adicionar novas vinculações
  • Implantar sem testar primeiro localmente usando wrangler dev

الأسئلة المتكررة

Qual versão do wrangler devo usar?
Use wrangler v4.x ou posterior. Verifique com wrangler --version.
Posso usar TOML ou JSON para configuração?
Prefira wrangler.jsonc (JSON com comentários). Recursos mais novos são apenas JSON.
Como testar meu Worker localmente?
Execute wrangler dev. Use wrangler dev --remote para vinculações do Cloudflare.
Onde devo armazenar segredos de desenvolvimento local?
Use o arquivo .dev.vars na raiz do seu projeto. Nunca commite este arquivo.
Como fazer rollback de uma implantação ruim?
Use wrangler rollback ou wrangler rollback <VERSION_ID>.
Workers AI funciona localmente?
Não, Workers AI sempre é executado remotamente e gera custos mesmo em desenvolvimento local.

تفاصيل المطور

المؤلف

cloudflare

الترخيص

MIT

مرجع

main

بنية الملفات

📄 SKILL.md