Skillpedia
النشر والسحابة (DevOps)22k · #10216

application-design-center-design-deploy

ما الذي تفعله

تساعد هذه المهارة على تصميم بنية تحتية سحابية على Google Cloud ونشرها بحذر ومراجعة. وهي مناسبة للمهندسين الذين يريدون كتابة البنية كشيفرة وفحصها قبل تشغيلها.

متى تستخدمها

  • ✓عندما تريد تصميم بنية Google Cloud التحتية كشيفرة Terraform قبل نشرها.
  • ✓عندما تحتاج إلى استيراد قالب تصميم إلى Application Design Center ونشره.
  • ✓عندما يفشل نشر بنية تحتية على Google Cloud وتحتاج إلى معرفة السبب.

رابط المهارة

https://github.com/google/skills/blob/main/skills/cloud/application-design-center-design-deploy/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/google/skills/blob/main/skills/cloud/application-design-center-design-deploy/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“صمّم لي إعداد Google Cloud لتطبيق ويب صغير باستخدام Terraform، ثم افحصه وانشره عبر Application Design Center.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تكتب المهارة ملفات Terraform وتتحقق منها على حاسوبك، ثم تشغّل فحصًا لأفضل الممارسات على الخطة. بعد ذلك تزامن التصميم مع Application Design Center ليصبح جاهزًا للنشر.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Designing and Deploying GCP Infrastructure with Application Design Center

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, or user code), prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:application-design-center-design-deploy)" and append agent-skills/1.0 (skill:application-design-center-design-deploy) to User-Agent headers.

Overview

This skill provides a prescriptive, production-grade workflow for the entire infrastructure lifecycle on Google Cloud Platform (GCP). It replaces the automated, opaque-box GAD design_infra tool with an agent-controlled design and validation loop utilizing modular Terraform and local CLI validation, followed by a shifted-left best practices plan scan prior to synchronization with the Application Design Center (ADC) registry for deployment and lifecycle management.

Always maintain the persona of a Principal Cloud Architect. Keep the local Terraform configuration as the source of truth, and ensure the design is fully compliant with best practices before importing it into the cloud registry.


Index

  1. Pre-requisites: Setup & Confirmation
  2. Phase 1: Local Infrastructure Design & Validation
  3. Phase 2: Shifted-Left Best Practices Assessment & Iterative Remediation
  4. Phase 3: Import IaC to Application Design Center
  5. Phase 4: Application Deployment & Monitoring
  6. Phase 5: Troubleshoot Deployment Failures
  7. Phase 6: Verification & E2E Testing

Pre-requisites: Setup & Confirmation

Before executing Phase 1, you must perform the following setup steps:

  1. Confirm Target Project & Location:

    • Explicitly ask the user to confirm the target GCP project ID and location (region).

    • If the user does not specify a location, use us-central1 as the default.

    • Verify that your local environment has the active project set:

      gcloud config set project <project_id>
      

Phase 1: Local Infrastructure Design & Validation

Goal: Transform user requirements and codebase characteristics into a 100% validated, secure, and compile-ready Terraform configuration locally.

  1. Invoke the design Skill: Call and execute the design skill (defined in design) for the user's prompt.
    • The design skill will autonomously perform the Codebase Analysis, query the catalog registry, planning, HCL generation, and local CLI validation loop (terraform init, validate, plan) in a dedicated scratch directory.
  2. Locate Validated HCL: Identify the scratch directory where the design skill saved the validated, compile-ready Terraform files (e.g., scratch/tf_validate_<session_id>/).
  3. Verify Handover (MANDATORY): Ensure that the local validation loop in the design skill completed successfully with a clean plan before proceeding. Meticulously inspect the HCL to verify:
    • Secret-Safe Policy: Confirm that no plaintext credentials, passwords, or hardcoded secrets are written in terraform.tfvars or HCL resource blocks. All sensitive inputs must be wired through GCP Secret Manager.
    • State Isolation Policy: Confirm that there is no remote backend block (e.g., backend "gcs" {}) in the HCL files. State must remain local in the scratch folder during validation, allowing ADC to handle the remote state registry upon import.
    • Remediation: If any violations are found, correct them in the HCL, re-run local validation, and verify again. Do not proceed with unvalidated or insecure code.
  4. **Export Terraform Plan t
الأسئلة الشائعة

هل تعمل مع سحابات أخرى أيضًا؟

لا. هي خاصة ببنية Google Cloud التحتية فقط.

أي نسخة هي الأساسية؟

تبقى ملفات Terraform على حاسوبك هي المصدر الموثوق، ويُحدَّث السجل السحابي منها.

ماذا يفعل فحص أفضل الممارسات؟

يفحص الخطة بحثًا عن مشكلات شائعة قبل إرسال أي شيء إلى السجل السحابي.

التفاصيل

الوصف الأصلي من المؤلف

Processes GCP infrastructure design and deployment workflows within Application Design Center (ADC). Use when: - Designing GCP infrastructure with Terraform. - Validating local HCL. - Performing best-practice plan scans. - Importing templates to Application Design Center (ADC). - Deploying templates. - Troubleshooting deployment failures. Boundaries: - Only use for GCP-specific cloud infrastructure. - Only use for Terraform coding within the ADC context.

repo: google/skills

الشعبية

نجوم GitHub
22k
الترتيب
#10216
الترخيص
Apache-2.0
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة