application-design-center-design-deploy
БесплатноЗапускает вложенные скриптыНе проверенProcesses GCP infrastructure design and deployment workflows within Application Design Center (ADC). Use when: - Designing GCP infrastructure with Terraform…
от google★ 25 380 звёзд на 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 to JSON (MANDATORY): In the scratch directory, run the following commands to generate a binary plan and convert it into a clean JSON representation:
terraform plan -out=tfplan && terraform show -json tfplan > tfplan.jsonVerify that the
tfplan.jsonfile is successfully written in your scratch directory.
Phase 2: Shifted-Left Best Practices Assessment & Iterative Reme
Установить application-design-center-design-deploy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл application-design-center-design-deploy?
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.
Как установить скилл application-design-center-design-deploy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл application-design-center-design-deploy запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic