📦

wrangler

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

Wrangler CLIを使用したCloudflare Workersのデプロイ

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

Cloudflare Workersのデプロイには、CLIコマンド、設定、リソースバインディングの理解が必要です。このスキルでは、Workers、KV、R2、D1などのデプロイと管理に関する包括的なドキュメントを提供します。

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

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

2

رفع في Claude

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

3

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

اختبرها

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

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

  • 次のコマンドを実行してください:
  • 1. wrangler deploy - 本番環境にデプロイ
  • 2. wrangler deploy --env staging - ステージング環境にデプロイ
  • 3. wrangler deploy --dry-run - デプロイせずに検証
  •  
  • 設定エラーを検出するために、まずwrangler checkを実行してください。

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

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

  • 1. 名前空間を作成:wrangler kv namespace create MY_KV
  • 2. wrangler.jsoncに追加:
  • { "kv_namespaces": [{ "binding": "KV", "id": "<ID>" }] }
  • 3. wrangler typesを実行してTypeScriptバインディングを更新

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

آمن
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
الامتثال للمواصفات

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

新しいWorkerをCloudflareにデプロイ

適切な設定で新しいWorkerを初期化およびデプロイするためのステップバイステップガイダンスを取得

KVとR2ストレージバインディングの設定

Worker用のキーバリューストレージとオブジェクトストレージの設定方法を学ぶ

本番Workerのシークレット管理

wrangler secretコマンドを使用してAPIキーとシークレットを安全に管理

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

基本的なWorkerデプロイ
wranglerを使用してWorkerをCloudflareにデプロイする方法は?
KV名前空間の設定
KV名前空間のバインディングをwrangler.jsonc設定に追加する方法を示す
シークレットの設定
WorkerのシークレットとしてAPIキーを安全に追加する方法は?
バインディングを使用したローカル開発
リモートR2とAIバインディングを使用してローカルでWorkerをテストする方法は?

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

  • すべてのデプロイ前にwrangler checkを実行して設定エラーを検出
  • 設定変更後は常にwrangler typesを実行してTypeScriptバインディングを再生成
  • 最新機能のためにcompatibility_dateを30日以内の最近の日付に設定

تجنب

  • シークレットを直接wrangler.jsoncにハードコードせず、wrangler secretを使用
  • 新しいバインディング追加後にwrangler typesをスキップしない
  • まずwrangler devでローカルテストをせずにデプロイしない

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

どのバージョンのwranglerを使用すべきですか?
wrangler v4.x以降を使用してください。wrangler --versionで確認できます。
TOMLやJSONを設定に使用できますか?
wrangler.jsonc(コメント付きのJSON)を推奨してください。新機能はJSONのみです。
Workerをローカルでテストするには?
wrangler devを実行してください。Cloudflareバインディングにはwrangler dev --remoteを使用します。
ローカル開発用のシークレットはどこに保存すべきですか?
プロジェクトルートに.dev.varsファイルを使用してください。このファイルはコミットしないでください。
不良デプロイをロールバックする方法は?
wrangler rollbackまたはwrangler rollback <VERSION_ID>を使用します。
Workers AIはローカルで動作しますか?
いいえ、Workers AIは常にリモートで実行され、ローカル開発でも料金が発生します。

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

المؤلف

cloudflare

الترخيص

MIT

مرجع

main

بنية الملفات

📄 SKILL.md