Command Palette

Search for a command to run...

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

devops-gcp

Use when the user asks about GCP, Google Cloud, GKE, Cloud Run, Cloud Run functions, Cloud Storage, Cloud SQL, IAM and Workload Identity Federation, the…

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

Установить devops-gcp в Claude Code и Claude Desktop

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

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

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

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

devops-gcp

Purpose

Provision and operate Google Cloud infrastructure using GKE, Cloud Run, Cloud Functions, Terraform, and GCP-native networking with cost optimization, IAM security, and observability.

Agent Protocol

Trigger

Any user message referencing GCP services, GKE, Cloud Run, Cloud Functions, gcloud CLI, Cloud Build, or Terraform with GCP provider.

Input Context

GCP service required, region/zone, organization/folder/project hierarchy, compliance requirements, and budget constraints.

Output Artifact

Terraform/Deployment Manager configs, gcloud CLI commands, GKE cluster config, Cloud Run service definitions, networking architecture, IAM policies, monitoring setup.

Response Format

Terraform/gcloud CLI commands with explanations. YAML configs for GKE and Cloud Run.

No preamble. No postamble. No explanations. No filler/hedging/transitions.

Completion Criteria

GKE cluster running, Cloud Run service deployed, networking secured, CI/CD pipeline passing, monitoring configured, IAM least-privilege enforced, cost budgets active.

Architecture / Decision Trees

Compute Pattern Selection

Workload Type Recommended Service Reason
Stateless HTTP Cloud Run Scale-to-zero, pay-per-request, simplest
Stateful / complex GKE (Standard) Custom node pools, GPUs, StatefulSets
Simple event-driven Cloud Functions (2nd gen) Eventarc, Pub/Sub, Storage triggers
Batch / background Cloud Run Jobs Containerized batch, retries, timeout
Data warehouse BigQuery Serverless, slot commitments, BI Engine
ML training GKE with GPUs Custom hardware, distributed training
Web hosting Cloud Storage + LB Static sites, CDN, global LB

GKE Cluster Mode Decision Tree

  • Small team, no node management: Autopilot (serverless, PSA enforced, pay-per-pod).
  • Full control, custom hardware: Standard with node pools, taints, GPUs.
  • Multi-region HA: Regional cluster in 3 zones.
  • Cost-sensitive: Preemptible/Spot node pools for batch.
  • Compliance-heavy: Private cluster with VPC Service Controls.

Networking Pattern Decision Tree

  • Single project: VPC with subnets per environment.
  • Multi-project: Shared VPC (host project, service projects).
  • On-prem connectivity: Cloud VPN (low cost) or Dedicated Interconnect (high throughput).
  • Internet-facing: Cloud LB + Cloud Armor WAF.
  • Private services: Private Google Access + VPC SC perimeters.

Database Selection

Requirement Service Best For
Relational, managed Cloud SQL MySQL, PostgreSQL, SQL Server
NoSQL, high throughput Firestore / Bigtable Real-time, IoT, large-scale
Data warehouse BigQuery Analytics, reporting, ML
In-memory, cache Memorystore Redis, Memcached
Spanner Cloud Spanner Global, strong consistency, horizontal scale

Core Workflow

Step 1: Project and Organization Setup

# Resource hierarchy: Organization > Folder > Project > Resources
resource "google_folder" "engineering" {
  display_name = "Engineering"
  parent       = "organizations/123456789"
}

resource "google_project" "production" {
  name       = "Production Project"
  project_id = "prod-${var.service_name}"
  folder_id  = google_folder.engineering.id
  billing_account = "012345-ABCDEF-012345"
}

# Enable required APIs
resource "google_project_service" "apis" {
  for_each = toset([
    "compute.googleapis.com",
    "container.googleapis.com",
    "cloudrun.googleapis.com",
    "sqladmin.googleapis.com",
    "storage.googleapis.com",
    "monitoring.googleapis.com",
    "logging.googleapis.com",
    "cloudbuild.googleapis.com",
  ])
  project = google_project.production.project_id
  service = each.key
}

Step 2: VPC and Networking

resource "google_compute_network" "main" {
  name                    = "main-vpc"
  project                 = google_project.production.project_id
  auto_create_subnetworks = false
}

resource "google_compute_subnetwork" "app" {
  name          = "app-subnet"
  project       = google_project.production.project_id
  network       = google_compute_network.main.name
  region        = "us-central1"
  ip_cidr_range = "10.0.1.0/24"

  secondary_ip_range {
    range_name    = "pods"
    ip_cidr_range = "10.1.0.0/16"
  }
  secondary_ip_range {
    range_name    = "services"
    ip_cidr_range = "10.2.0.0/20"
  }

  private_ip_google_access = true
}

resource "google_compute_router" "nat" {
  name    = "nat-router"
  region  = "us-central1"
  network = google_compute_network.main.name
}

resource "google_compute_router_nat" "main" {
  name                               = "nat-config"
  router                             = google_compute_router.nat.name
  region                             = "us-central1"
  nat_ip_allocate_option             = "AUTO_ONLY"
  source_subnetwork_ip_ranges_to_nat = "ALL_SUBNETWORKS_ALL_IP_RANGES"
}

Step 3: GKE Cluster (Standard)

resource "google_service_account"
Полный SKILL.md на GitHub

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

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

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

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

  • references/gcp-advanced.md
  • references/gcp-compute.md
  • references/gcp-data-ai.md
  • references/gcp-devops.md
  • references/gcp-fundamentals.md
  • references/gcp-gke.md
  • references/gcp-infrastructure.md
  • references/gcp-serverless.md

FAQ

Что делает скилл devops-gcp?

Use when the user asks about GCP, Google Cloud, GKE, Cloud Run, Cloud Run functions, Cloud Storage, Cloud SQL, IAM and Workload Identity Federation, the gcloud CLI, Cloud Build, or Terraform for GCP. Produces GCP architectures and IaC. Not for BigQuery tuning (use cloud-native-gcp-bigquery) or AWS (use aws).

Как установить скилл devops-gcp?

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

Скилл devops-gcp запускает скрипты?

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

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

Сравнить devops-gcp с