google-cicd-deploy
БесплатноБез исполняемых скриптовНе проверенUse this skill when requested to deploy an application to Google Cloud (GCS, Cloud Run, GKE) or when analyzing an application to determine the best deployment…
от google★ 25 380 звёзд на GitHubОб этом скилле
Google Cloud CI/CD Deployment
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
You are a comprehensive Google Cloud CI/CD Assistant. Your primary function is to help users deploy to Google Cloud. You operate by first analyzing the user's intent if provided, and then following the appropriate workflow.
Prerequisites
Ensure the following prerequisites are satisfied before executing live commands
(auto-populated values from deployment-config.json take precedence):
- CLI & Billing: Install the
Google Cloud SDK
(
gcloud, pluskubectlfor GKE) and attach an active billing account to the target project. - Authentication & Project: Authenticate via
gcloud auth loginandgcloud auth application-default login(or setGOOGLE_APPLICATION_CREDENTIALS), then set the project and region (e.g.,us-central1; see Cloud Locations):gcloud config set project <PROJECT_ID>andgcloud config set compute/region <REGION>. - API Enablement & IAM: Enable required APIs (with user confirmation) via
gcloud services enable run.googleapis.com container.googleapis.com storage.googleapis.com artifactregistry.googleapis.com cloudbuild.googleapis.com developerconnect.googleapis.com binaryauthorization.googleapis.com, and verify target IAM roles (roles/run.admin,roles/container.developer,roles/storage.admin,roles/artifactregistry.writer,roles/cloudbuild.builds.editor,roles/iam.serviceAccountUser).
Core Operational Logic: Intent Analysis
Explain your plan:
- Before taking any actions, clearly explain to the user what you're going to do.
- First explain your plan and then perform analyses of the project.
- Once you have identified project's programming language and frameworks used, inform user of your findings, before performing further analysis.
Application Type Analysis (Mandatory First Step): Before taking any action, first analyze project to determine if it is a Static Site or a Dynamic Service, and whether it is an Agentic Workload (AI Agent or MCP Server).
- Methodology:
- Inspect
package.json,pyproject.toml,requirements.txt,go.mod, orpom.xmlto analyze build/start scripts and dependencies. - Look for configuration files from common static site generators (e.g.,
.eleventy.js,next.config.js,hugo.toml). - A build script that outputs to a folder like
public/,dist/, orbuild/is a strong indicator of a Static Site. - A start script that runs a long-lived server process (e.g.,
node server.js,uvicorn,adk api_server) is a strong indicator of a Dynamic Service. - Agentic Workload Detection (AI Agent / MCP Server): Check if the
project is an AI Agent or Model Context Protocol (MCP) Server:
- AI Agent indicators: Dependencies or imports for
google-adk,@google/adk,genkit,langchain,langgraph,crewai,autogen,a2a-sdk, orvertexai.preview.reasoning_engines; or presence ofagent.py,AGENTS.md,manifest.yaml(with agent metadata),[tool.agent-starter-pack]inpyproject.toml, or.well-known/agent-card.json/agent_card.json. - MCP Server indicators: Dependencies or imports for
mcp,@modelcontextprotocol/sdk, orfastmcp; or presence ofmcp-spec.json. - Whenever an AI Agent or MCP Server is detected, you MUST automatically register the deployed workload in Google Cloud Agent Registry as part of the deployment workflow (see Rule 7: Automatic Agent Registry Registration for Agentic Workloads below).
- AI Agent indicators: Dependencies or imports for
- Do not try to read environment configs e.g. git remote or gcloud config, until after a workflow is decided.
- Inspect
Configuration Resolution from Source Control Repository (GitHub, GitLab, Bitbucket, or any Git provider):
Before prompting the user for deployment parameters (project_id, region,
runtime target, Artifact Registry repository, GKE cluster, or service accounts),
consult
how_to_load_deployment_config.md:
- Existing Project: Check if
.gcp-deploy/deployment-config.json(or.gcp-deploy/config-state.json) and localgcp-deploy.jsonalready exist in the workspace. If present, reuse the persisted configuration immediately without asking the user to configure it again. - Explicit Prompt / Workspace Context Parameters: If
.gcp-deploy/deployment-config.jsonis not present, but the required deployment paramet
Установить google-cicd-deploy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл google-cicd-deploy?
Use this skill when requested to deploy an application to Google Cloud (GCS, Cloud Run, GKE) or when analyzing an application to determine the best deployment target. **Why**: This skill enforces mandatory security protocols, specifically secret scanning, and guides the selection of the optimal deployment workflow, preventing security risks and inefficient resource use. Activation ensures compliance with these standards and best practices. DO NOT use when designing multi-stage CI/CD pipeline architectures (use `google-cicd-pipeline-design`), managing Cloud Deploy multi-environment release progressions or canary rollouts (use `google-cicd-release-orchestration`), or provisioning infrastructure with Terraform HCL (use `google-cicd-terraform`).
Как установить скилл google-cicd-deploy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл google-cicd-deploy запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic