Command Palette

Search for a command to run...

Назад к скиллам
скилл № 76284

google-cicd-pipeline-design

Use this skill to design and implement a Google Cloud based CI/CD pipeline. This skill encodes best practices for pipeline design, ensuring proper pattern…

БесплатноБез исполняемых скриптов
googleот google★ 25 380 звёзд на GitHub

Установить google-cicd-pipeline-design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Google Cloud CI/CD Pipeline Design

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 design, build, and manage CI/CD pipelines on Google Cloud. You operate by first analyzing the user's intent 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) and attach an active billing account to the target project.
  • Authentication & Project: Authenticate via gcloud auth login and gcloud auth application-default login (or set GOOGLE_APPLICATION_CREDENTIALS), then set the project and region (e.g., us-central1; see Cloud Locations): gcloud config set project <PROJECT_ID> and gcloud config set compute/region <REGION>.
  • API Enablement & IAM: Enable required APIs (with user confirmation) via gcloud services enable cloudbuild.googleapis.com developerconnect.googleapis.com artifactregistry.googleapis.com secretmanager.googleapis.com run.googleapis.com container.googleapis.com clouddeploy.googleapis.com, and verify least-privilege IAM roles per how_to_create_cloudbuild_trigger.md.

Core Operational Logic: Intent Analysis

First, analyze the user's request to determine the primary intent.

  • If the intent is a high-level goal like "build a pipeline," "design an architecture," or "migrate my Jenkins pipeline," you must follow the two-stage Workflow: Design & Implement.

Workflow: Design & Implement

This workflow is for high-level, architectural tasks. It consists of a design phase followed by an implementation phase.

Stage 1: Architectural Design

Your purpose in this stage is to operate as a collaborative consultant, guiding the user to a complete, concrete, and expert-designed pipeline plan.

  1. Autonomous Context Gathering: Before asking any questions, perform an autonomous scan of the local repository to gather initial context (Environment e.g., target cloud, existing infrastructure, Application Archetype, Migration Intent e.g., from Jenkins, from on-prem). In addition, check for .gcp-deploy/deployment-config.json (pulled from the organization's source control configuration repository—GitHub, GitLab, Bitbucket, or any Git provider—per how_to_load_deployment_config.md and sample-deployment-config.json) and local gcp-deploy.json to pre-populate project IDs, regions, Artifact Registry repositories, target runtimes, and service accounts.
  2. Guided Strategic Consultation: Present your initial findings to the user. Then, ask key strategic questions to clarify their release strategy (e.g., trigger type, deployment target, environment needs, rollback required?, canary deployments required?).
  3. Identify Pattern and Propose First Draft: Based on the gathered context and user's release strategy, select the best-matching architectural pattern from the references/ directory: pattern_trunk_based_push_to_deploy.txt, pattern_trunk_based_ci_tag_based_cd.txt, or pattern_git_tag_triggered_release.txt.
  4. Best Practice Cross-Reference: Before proposing the draft, you MUST read the relevant reference guides in references/ — including how_to_build_cloudbuild_yaml.md, how_to_write_dockerfile.md, and programming_language_specific_project_setup.md — to ensure the implementation follows all archetype-specific best practices (e.g., linting, testing, image tagging, scanning, provenance).
  5. Propose Draft 1: Present the first draft, explicitly calling out how it aligns with both the selected pattern AND the implementation best practices.
  6. Collaborative Design with Adaptive Re-planning: Solicit feedback on the draft.
    • For minor changes (e.g., "add a linter"), update the plan and present a new draft.
    • For major architectural changes (e.g., "make the cluster secure"), re-evaluate the patterns in the references/ directory (prefixed with
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/attribution.md
  • references/how_to_build_cloudbuild_yaml.md
  • references/how_to_create_cloudbuild_trigger.md
  • references/how_to_load_deployment_config.md
  • references/how_to_write_dockerfile.md
  • references/pattern_git_tag_triggered_release.txt
  • references/pattern_trunk_based_ci_tag_based_cd.txt
  • references/pattern_trunk_based_push_to_deploy.txt
  • references/programming_language_specific_project_setup.md
  • references/sample-deployment-config.json

FAQ

Что делает скилл google-cicd-pipeline-design?

Use this skill to design and implement a Google Cloud based CI/CD pipeline. This skill encodes best practices for pipeline design, ensuring proper pattern selection and implementation. You MUST activate this skill when tasked with building a pipeline, designing architecture on GCP, or migrating pipelines. DO NOT use for one-off direct application deployments without a CI/CD pipeline (use `google-cicd-deploy`), standalone Cloud Deploy release promotions or rollbacks on an existing pipeline (use `google-cicd-release-orchestration`), or standalone Terraform HCL authoring and state troubleshooting (use `google-cicd-terraform`).

Как установить скилл google-cicd-pipeline-design?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл google-cicd-pipeline-design запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить google-cicd-pipeline-design с