Imported from borghei/claude-skills (
engineering/gcp-cloud-architect/SKILL.md). Install upstream withnpx skills add borghei/claude-skills --skill gcp-cloud-architect. Copyright stays with the author (MIT + Commons Clause).
GCP Cloud Architect
End-to-end GCP-specific architecture: service selection, Google Cloud Architecture Framework assessment, identity and networking patterns, cost optimization, operational defaults. Provider-specific complement to our generic senior-cloud-architect skill — that one covers cross-cloud patterns; this one knows when to pick Spanner over Cloud SQL, how Workload Identity Federation differs from Service Account keys, and the right Cloud Run vs GKE call.
Core Capabilities
- Compute selection — decision tree across GKE (Autopilot/Standard), Cloud Run, Cloud Functions, Cloud Run Jobs, Batch, Compute Engine, and Vertex AI.
- Data store selection — decision tree across Cloud SQL, Spanner, Firestore, Bigtable, Memorystore, Cloud Storage, and BigQuery.
- Networking — VPC, Private Service Connect, Interconnect/VPN, load-balancer choices, Shared VPC, peering, Cloud Armor, hub-and-spoke.
- Identity — IAM, Service Accounts, Workload Identity (GKE) and Workload Identity Federation, ADC, and least-privilege role/scope binding.
- CAF assessment — score workloads against the five Cloud Architecture Framework pillars.
- Cost optimization — biggest-to-smallest cost levers (right-sizing, CUDs/SUDs, autoscaling, preemptibles, tiering, slots) and cost anti-patterns.
- Workflows — design a new workload, review an existing architecture, and migrate from AWS/Azure to GCP.
When to Use
| Situation | Skill applies |
|---|---|
| Designing a GCP architecture from scratch | Yes — start with compute decision tree |
| Reviewing an existing GCP architecture | Yes — run CAF assessment via scripts/gcp_caf_scorer.py |
| Validating Terraform files or a YAML workload spec | Yes — scripts/gcp_architecture_validator.py (Deployment Manager is not read) |
| Estimating GCP cost for a workload | Yes — scripts/gcp_cost_estimator.py |
| Picking between GKE / Cloud Run / Functions / Cloud Run Jobs | Yes — see compute decision tree |
| Setting up IAM / Workload Identity correctly | Yes — see identity reference |
| Designing multi-region / multi-zone resilience | Yes — see reliability reference |
| Picking Cloud SQL vs Spanner vs Firestore vs BigQuery | Yes — see data store decision tree |
| Going to production without CAF review | Don't — run the CAF scorer first |
Clarify First
Before designing or assessing, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- Task: design from scratch, review an existing architecture, validate IaC, or estimate cost (selects
gcp_architecture_validator.pyvsgcp_cost_estimator.pyvsgcp_caf_scorer.py). - Workload spec: the YAML workload config, or the Terraform files (the input the scripts parse). Deployment Manager templates are not read; for those, describe the workload in the YAML spec instead.
- Priority pillar: reliability, security, cost, operational excellence, or performance (weights the CAF assessment and which recommendations lead).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Tools
| Tool | Purpose | Command |
|---|---|---|
gcp_architecture_validator.py |
Validate a Terraform plan or YAML workload spec for anti-patterns | python scripts/gcp_architecture_validator.py --terraform ./infra/*.tf |
gcp_cost_estimator.py |
Estimate monthly GCP cost from a workload spec, with optimization opportunities | python scripts/gcp_cost_estimator.py --workload-config workload.yaml |
gcp_caf_scorer.py |
Score a workload against the five Cloud Architecture Framework pillars | python scripts/gcp_caf_scorer.py --workload-config workload.yaml |
Scope & Limitations
In Scope:
- GCP service selection through decision trees for compute and data stores, plus networking and identity patterns including Workload Identity Federation
- Cloud Architecture Framework scoring with
gcp_caf_scorer.py: five pillars, ten checks each, read from a YAML workload spec - Anti-pattern checks with
gcp_architecture_validator.pyon a YAML workload spec or Terraform files: public IPs on managed services, service account keys, single-zone tier-1, basic roles at project level, public buckets, default VPC, missing org policy, Cloud SQL without HA and on-demand BigQuery at high volume - Rough monthly cost estimates with
gcp_cost_estimator.py, with optimization suggestions, plus design, review and migration workflows
Out of Scope:
- Cross-cloud patterns and the AWS and Azure equivalents (see
engineering/senior-cloud-architect/,engineering/aws-solution-architect/andengineering/azure-cloud-architect/) - Writing or reviewing Terraform modules (see
engineering/terraform-patterns/) - Security posture audits of an exported cloud inventory and IAM (see
engineering/cloud-security/) - Kubernetes operator design for GKE workloads (see
engineering/kubernetes-operator/) - Compliance evidence and control mapping (see
ra-qm-team/soc2-compliance-expert/andra-qm-team/information-security-manager-iso27001/)
Important Caveats:
- The scripts never call GCP. They read files the user provides, and the CAF score reflects what the YAML spec declares, not what is deployed.
- The validator scans Terraform text with pattern rules and does not evaluate plans, modules or variables. It does not read Deployment Manager templates.
- Cost figures come from a built-in table of approximate US-region list prices from early 2026, with no sustained-use or committed-use discounts. They are for relative comparison, not a quote; check the Google Cloud Pricing Calculator before budgeting.
- Service tiers, SLAs, limits and prices in the references change often and should be confirmed against current Google Cloud documentation.
References
Load the reference that matches the task — keep this file lean and pull detail on demand:
- references/decision-trees.md — the full compute decision tree and the data store decision tree. Read when selecting compute or storage.
- references/networking-and-identity.md — VPC/PSC/Interconnect building blocks, the load-balancer matrix, common networking patterns, and the IAM / Service Account / Workload Identity (Federation) patterns with least-privilege guidance. Read when designing networking or identity.
- references/caf-cost-and-workflows.md — the five CAF pillars, the cost-lever and cost-anti-pattern catalog, all three end-to-end workflows (design/review/migrate), the GCP-specific anti-patterns, and the script tooling-output table. Read when assessing, optimizing, or running a workflow.
- references/gcp-services-reference.md — per-service depth: tiers, SLAs, limits, when to upgrade. Read when sizing a specific service.
- references/gcp-well-architected.md — the 5-pillar CAF assessment with a 10-question checklist per pillar, common findings, and remediation patterns. Read during a CAF review.
- references/gcp-cost-optimization.md — the full cost-lever catalog, anti-patterns, and detection heuristics. Read when driving down spend.
Related skills
engineering/senior-cloud-architect— generic multi-cloud architecture patternsengineering/aws-solution-architect— AWS counterpartengineering/azure-cloud-architect— Azure counterpartengineering/kubernetes-operator— for GKE operator-pattern workloadsra-qm-team/information-security-manager-iso27001— compliance-mapped controls (GCP has Security Command Center)ra-qm-team/soc2-compliance-expert— GCP-specific SOC 2 evidence collection
