gcloud
إدارة موارد Google Cloud Platform
تتطلب إدارة موارد Google Cloud Platform تذكر العديد من أوامر gcloud CLI والخيارات المختلفة. توفر هذه المهارة وثائق شاملة وأمثلة لجميع خدمات GCP الرئيسية. استخدمها للعثور السريع على الأوامر وتنفيذها لإدارة مثيلات الحوسبة وCloud Run وGKE وحاويات التخزين وBigQuery والمزيد.
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“gcloud”。 List all Compute Engine instances in my GCP project using gcloud CLI
预期结果:
- NAME: my-vm, ZONE: us-central1-a, STATUS: RUNNING
- NAME: test-vm, ZONE: us-central1-b, STATUS: STOPPED
- Use 'gcloud compute instances describe NAME --zone=ZONE' for details
正在使用“gcloud”。 Deploy a container to Cloud Run with gcloud
预期结果:
- Service my-service deployed successfully
- URL: https://my-service-abc123-uc.a.run.app
- Use 'gcloud run services list' to verify
正在使用“gcloud”。 Create a storage bucket on GCP
预期结果:
- Bucket gs://my-bucket created
- Location: us-central1
- Use 'gcloud storage ls' to list objects
安全审计
安全This is a pure documentation skill containing only markdown documentation with example gcloud CLI commands. No executable code, scripts, network calls, or file system access code is present. All 157 static findings are false positives caused by the analyzer misinterpreting markdown documentation syntax (backticks in code blocks) and JSON hash values as executable code. The skill poses no security risk to users.
风险因素
🌐 网络访问 (1)
⚙️ 外部命令 (138)
质量评分
你能构建什么
نشر البنية التحتية السحابية
إنشاء وإدارة الأجهزة الافتراضية ومجموعات Kubernetes والحاويات بدون خادم على GCP.
الاستعلام عن مجموعات بيانات BigQuery
تشغيل استعلامات SQL على مجموعات بيانات BigQuery وإدارة تحميل البيانات من Cloud Storage.
تكوين الموارد السحابية
إعداد أدوار IAM وحسابات الخدمة وأسرار Secret Manager ومكونات الشبكة.
试试这些提示
List all Compute Engine instances in my GCP project using gcloud CLI.
Deploy a container image to Cloud Run with public access enabled using gcloud CLI.
Create a new GKE cluster with 3 nodes in us-central1-a zone using gcloud CLI.
Run a query to select 10 rows from my dataset.table in BigQuery using gcloud CLI.
最佳实践
- حدد دائماً المنطقة والنطاق بشكل صريح لتجنب الارتباك في التكوين
- استخدم خيار --quiet للنصوص البرمجية الآلية لمنع مطالبات التأكيد
- قم بتنسيق الإخراج كـ JSON أو جدول لتسهيل التحليل في النصوص البرمجية
避免
- تشغيل أوامر مدمرة بدون --quiet في الأتمتة
- استخدام المشروع الافتراضي دون التحقق من تعيين المشروع الصحيح
- تضمين بيانات الاعتماد بشكل ثابت في النصوص البرمجية بدلاً من استخدام بيانات الاعتماد الافتراضية للتطبيق