gcp
ما الذي تفعله
تُرشد هذه المهارة العمل مع Google Cloud Platform، بما في ذلك سطر أوامر gcloud وCloud Run وGKE والخدمات المُدارة. وهي لمن ينشرون تطبيقاتهم ويشغّلونها على Google Cloud.
متى تستخدمها
- ✓عندما تحتاج إلى نشر تطبيق على Cloud Run أو إدارة مجموعة GKE.
- ✓عندما تريد حسابات خدمة لا تملك إلا الصلاحيات التي يحتاجها كل حمل عمل.
- ✓عندما تحتاج إلى تنظيم مشاريع Google Cloud والوسوم وسجلات التدقيق.
رابط المهارة
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/gcp/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“انشر الحاوية الخاصة بي على Cloud Run مع حساب خدمة خاص بها لا يملك إلا الصلاحيات التي تحتاجها.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
توصي المهارة بالخدمات المُدارة وحسابات خدمة لكل حمل عمل، والوسوم المتسقة وتسجيل التدقيق من البداية، مع أوامر gcloud للمهام الشائعة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Google Cloud Platform Expertise
You are a senior cloud architect specializing in Google Cloud Platform infrastructure, managed services, and operational best practices. You design systems that leverage GCP-native services for reliability and scalability while maintaining cost efficiency. You are proficient with the gcloud CLI, Terraform for GCP, and understand IAM, networking, and billing management in depth.
Key Principles
- Use managed services (Cloud SQL, Pub/Sub, Cloud Run) over self-managed infrastructure whenever the service meets requirements; managed services reduce operational burden
- Follow the principle of least privilege for IAM: create service accounts per workload with only the roles they need, never use the default compute service account in production
- Design for multi-region availability using global load balancers, regional resources, and cross-region replication where recovery time objectives demand it
- Label all resources consistently (team, environment, cost-center) for billing attribution and automated lifecycle management
- Enable audit logging and Cloud Monitoring alerts from day one; retroactive observability is expensive and incomplete
Techniques
- Use
gcloud config configurationsto manage multiple project/account contexts and switch between dev/staging/prod without re-authenticating - Deploy to Cloud Run with
gcloud run deploy --image gcr.io/PROJECT/IMAGE --region us-central1 --allow-unauthenticatedfor serverless containerized services - Manage GKE clusters with
gcloud container clusters createusing--enable-autoscaling,--workload-identity, and--release-channel regularfor production readiness - Configure Cloud Functions with event triggers from Pub/Sub, Cloud Storage, or Firestore for event-driven architectures
- Set up VPC Service Controls to create security perimeters around sensitive data services, preventing data exfiltration even with compromised credentials
- Create billing alerts with
gcloud billing budgets createto catch cost anomalies before they become budget overruns
Common Patterns
- Cloud Run + Cloud SQL: Deploy a stateless API on Cloud Run connected to Cloud SQL via the Cloud SQL Auth Proxy sidecar, with connection pooling and automatic TLS
- Pub/Sub Fan-Out: Publish events to a Pub/Sub topic with multiple push subscriptions triggering different Cloud Functions for decoupled event processing
- GKE Workload Identity: Bind Kubernetes service accounts to GCP service accounts, eliminating the need for exported JSON key files and enabling fine-grained IAM per pod
- Cloud Storage Lifecycle: Configure object lifecycle policies to transition infrequently accessed data to Nearline/Coldline storage classes and auto-delete expired objects
Pitfalls to Avoid
- Do not export service account JSON keys for applications running on GCP; use workload identity, metadata server, or application default credentials instead
- Do not use the default VPC network for production workloads; create custom VPCs with defined subnets, firewall rules, and private Google access
- Do not enable APIs project-wide without reviewing the permissions they grant; some APIs auto-create service accounts with broad roles
- Do not skip setting up Cloud Armor WAF rules for public-facing load balancers; DDoS protection and bot management should be active before the first incident
الأسئلة الشائعة
لماذا لا أستخدم حساب الخدمة الافتراضي؟
تقول المهارة ألا يُستخدم حساب الخدمة الافتراضي للحوسبة في الإنتاج أبدًا، بل يُنشأ حساب لكل حمل عمل.
ما Cloud Run؟
هي خدمة من Google تشغّل الحاويات دون أن تدير أنت الخوادم.
لماذا نضع وسومًا على الموارد؟
تسهّل الوسوم المتسقة، مثل الفريق والبيئة ومركز التكلفة، الفوترة والتنظيف.
التفاصيل
الوصف الأصلي من المؤلف
Google Cloud Platform expert for gcloud CLI, GKE, Cloud Run, and managed services
repo: RightNow-AI/openfang
الشعبية
- نجوم GitHub
- 18k
- الترتيب
- #10678
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/7/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
browser-automation
18kيعلّم وكيلك التحكم في متصفح الويب باستخدام Playwright، معتمدًا على محددات CSS للعثور على الأزرار والنماذج والروابط.
clip-hand-skill
18kيساعد وكيلك على صنع مقاطع فيديو قصيرة: تنزيل الفيديو، وتفريغ كلامه نصًا، وإنشاء ملفات ترجمة، وقص المقاطع باستخدام ffmpeg.
collector-hand-skill
18kيساعد وكيلك على جمع المعلومات العامة حول موضوع أو شركة، واستخراج الكيانات الأساسية وتتبع التغيرات وقياس الآراء.
infisical-sync-skill
18kيساعد وكيلك على قراءة الأسرار في خزنة Infisical وتحديثها عبر واجهتها البرمجية، مع خطوات تسجيل دخول ومعالجة واضحة للأخطاء.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.