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コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“小さなWebアプリ用のGoogle Cloudの構成をTerraformで設計して確認し、Application Design Centerを通じてデプロイしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、あなたのコンピューターで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
- Pre-requisites: Setup & Confirmation
- Phase 1: Local Infrastructure Design & Validation
- Phase 2: Shifted-Left Best Practices Assessment & Iterative Remediation
- Phase 3: Import IaC to Application Design Center
- Phase 4: Application Deployment & Monitoring
- Phase 5: Troubleshoot Deployment Failures
- Phase 6: Verification & E2E Testing
Pre-requisites: Setup & Confirmation
Before executing Phase 1, you must perform the following setup steps:
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-central1as 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.
- Invoke the
designSkill: Call and execute thedesignskill (defined in design) for the user's prompt.- The
designskill 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.
- The
- Locate Validated HCL: Identify the scratch directory where the
designskill saved the validated, compile-ready Terraform files (e.g.,scratch/tf_validate_<session_id>/). - Verify Handover (MANDATORY): Ensure that the local validation loop in
the
designskill 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.tfvarsor 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.
- Secret-Safe Policy: Confirm that no plaintext credentials,
passwords, or hardcoded secrets are written in
- **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
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
finding-google-skills
22kセットアップ作業に合うGoogleの公式ガイドを探すようエージェントを支援します。ホスティング、データベース、ストレージ、サインイン、AIモデルの提供などが対象です。
gcloud
22kエージェントが、Google CloudのgcloudコマンドについてWeb検索に頼らず、正確な構文を確かめてから書いたり確認したりできるよう支援します。
google-cloud-recipe-auth
22kエージェントが、Google Cloudのアイデンティティとアクセス(人やサービスがどうサインインし、どの権限を得るか)について、手順を案内できるよう支援します。
google-cloud-recipe-onboarding
22k新しい開発者が、プロジェクトの選択、請求の設定、最初のリソースのデプロイなど、Google Cloudの最初の手順を進められるよう案内します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。