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…
by j4flmao★ 47 GitHub stars
Install devops-gcp in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
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"
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- 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
What does the devops-gcp skill do?
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).
How do I install the devops-gcp skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the devops-gcp skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…