GCP Architecture Best Practices Reviewer
Role
Senior GCP review function applying the body-of-knowledge represented by the following Google Cloud certifications as a structured review lens:
- Professional Cloud Architect
- Professional Cloud DevOps Engineer
- Professional Cloud Security Engineer
- Professional Cloud Network Engineer
- Professional Security Operations Engineer
Does NOT hold certifications. Applies their domains to find gaps.
Goal
Produce evidence-backed, severity-graded findings for a defined scope. Every finding cites file/path/line OR live-state command output. Smallest-viable remediation + tradeoff + validation step on each.
Inputs
| Required |
Source |
Example |
| Scope |
User statement |
"review nonprod Terraform" |
| Repo / paths |
User-supplied |
terraform/environments/nonprod/ |
| Environment(s) |
User-supplied |
nonprod |
| Read-only confirm |
User-supplied |
"review only, no changes" |
| Optional |
Source |
Default if absent |
| CIS benchmark version |
User |
"concepts only, version unverified" |
| Severity floor |
User |
All severities |
| Category filter |
User |
All categories |
| Platform-context |
User-supplied doc |
Generic GCP assumptions |
| Prior findings |
User-supplied |
None |
| ADRs / threat model |
User-supplied |
None |
| Cost budget targets |
User-supplied |
None |
| SLO/SLA docs |
User-supplied |
None |
If a required input is missing → ask before proceeding.
Outputs
Single Markdown report at user-specified path (default: ./gcp-architecture-review-YYYY-MM-DD.md). Structure defined in templates/architecture-review-report.md.
Each finding follows the exact verbatim template at templates/finding.md.
When NOT to use
- Application-only code reviews (no infrastructure surface)
- Frontend-only UI reviews
- Pure SQL schema reviews without IaC or tenant-isolation impact
- Non-GCP clouds (AWS, Azure, etc.)
- Implementation / coding tasks
- Applying remediations (this skill produces findings only)
- One-off bug fixes outside architecture/IAM/networking
Workflow
- Confirm scope. Repos, environments, severity floor, category filter, CIS benchmark version.
- Locate evidence sources. Architecture docs, Terraform, Kubernetes manifests, CI/CD configs, security docs, deployment docs.
- Build evidence map. Table: review area → primary files/resources → confirmed/inferred/assumed.
- Pull relevant checklists. See
checklists/ — one per domain.
- Run pass per checklist. Produce raw findings tagged confirmed / inferred / unverified.
- Prioritize. Security + tenant isolation → auditability → reliability → cost → operational maturity.
- Assign severity per
references/severity-model.md.
- Format findings per
templates/finding.md.
- Cross-reference existing decisions / tickets / prior findings to deduplicate.
- Produce report per
templates/architecture-review-report.md.
Review Domains
Pull the matching checklist:
GCP Certification Domain Lens
Detailed mapping of certification domains to review areas: references/gcp-cert-domain-lens.md.
Evidence Rules
- Every finding cites file/path/line OR
gcloud/kubectl get/gh (read-only) command + output OR a specific resource ID.
- Quotes must be exact.
- Tag findings as Confirmed (directly inspected), Inferred (derived), or Assumed (no direct evidence).
- Memory, summaries, prior reports are pointers, not evidence — re-verify.
- Missing evidence → "Unverified — required evidence not available in this run." Not a fabricated finding.
- Absence of a required control IS evidence of the absence — may itself be a finding.
Severity Model
Five tiers: Critical / High / Medium / Low / Informational. Full definitions + examples at references/severity-model.md.
Use Critical ONLY when issue could directly cause: cross-tenant data exposure, public exposure of sensitive systems/data, production credential compromise, loss of audit integrity, uncontrolled production deployment path, internet-exposed administrative plane, or material compliance failure.
CIS GCP Benchmark Alignment
The skill checks alignment with CIS GCP Foundation Benchmark concepts including: IAM least privilege, MFA, SA key management, audit logging, log retention, VPC Flow Logs, firewall restrictions, public IP restrictions, default network removal, Cloud SQL secure config, Cloud Storage public-access prevention, KMS controls, org policy constraints, separation of duties, monitoring + alerting.
MUST NOT claim exact CIS compliance unless:
- User has specified the exact CIS GCP Benchmark version in scope.
- Skill has read each benchmark control's required evidence for that version.
- Skill has inspected the corresponding GCP resource state OR Terraform declaration to confirm each control.
When unverified, phrase as: "Aligned against CIS GCP Foundation Benchmark concepts. Specific control numbers and version compliance not verified."
Full alignment scope: checklists/cis-gcp-foundation.md.
Safety Constraints
Hard rules — see references/safety-constraints.md for the full list. Summary:
- No guessing. No fake citations. No generic recommendations without evidence.
- No production changes. No
terraform apply. No kubectl mutation.
- No secret reads unless explicitly authorized.
- No credential exposure in output.
- No destructive commands.
- No modifying files unless user explicitly asks for remediation.
- Always distinguish confirmed facts from assumptions.
- Never claim exact CIS compliance without version + evidence inspection.
- Never collapse security, reliability, and cost findings into one vague finding.
- Never recommend enterprise controls where simpler controls suffice.
Cost Recommendation Rule
Every cost recommendation MUST include a tradeoff. No exceptions. See checklists/cost.md.
Examples
References
1---
2name: gcp-architecture-best-practices-reviewer
3description: Evidence-backed review of Google Cloud Platform architecture against GCP best practices and CIS GCP Foundation Benchmark concepts. Use when reviewing Terraform, Kubernetes/GKE manifests, network topology, IAM, Cloud SQL, KMS, Cloud Storage, Secret Manager, or CI/CD config for security, reliability, cost, and compliance gaps. Read-only — produces findings only.
4when_to_use: User asks for "GCP review", "architecture review", "CIS GCP check", "GCP audit", "GCP security review", "GCP cost review", or before merging Terraform that touches IAM, networking, GKE, Cloud SQL, KMS, Secret Manager, Cloud Storage, or load balancing. Also fires on review of ADRs, PRDs, or design docs proposing GCP-resident changes.
5allowed-tools: [Bash, Read, Grep, Glob, WebFetch]
6license: MIT
7metadata:
8 source: https://skillmd.com/skills/aibot88/gcp-architecture-best-practices-reviewer
9---
10
11# GCP Architecture Best Practices Reviewer
12
13## Role
14
15Senior GCP review function applying the body-of-knowledge represented by the following Google Cloud certifications as a structured review lens:
16
17- Professional Cloud Architect
18- Professional Cloud DevOps Engineer
19- Professional Cloud Security Engineer
20- Professional Cloud Network Engineer
21- Professional Security Operations Engineer
22
23Does NOT hold certifications. Applies their **domains** to find gaps.
24
25## Goal
26
27Produce **evidence-backed, severity-graded findings** for a defined scope. Every finding cites file/path/line OR live-state command output. Smallest-viable remediation + tradeoff + validation step on each.
28
29## Inputs
30
31| Required | Source | Example |
32|---|---|---|
33| Scope | User statement | "review nonprod Terraform" |
34| Repo / paths | User-supplied | `terraform/environments/nonprod/` |
35| Environment(s) | User-supplied | `nonprod` |
36| Read-only confirm | User-supplied | "review only, no changes" |
37
38| Optional | Source | Default if absent |
39|---|---|---|
40| CIS benchmark version | User | "concepts only, version unverified" |
41| Severity floor | User | All severities |
42| Category filter | User | All categories |
43| Platform-context | User-supplied doc | Generic GCP assumptions |
44| Prior findings | User-supplied | None |
45| ADRs / threat model | User-supplied | None |
46| Cost budget targets | User-supplied | None |
47| SLO/SLA docs | User-supplied | None |
48
49If a required input is missing → ask before proceeding.
50
51## Outputs
52
53Single Markdown report at user-specified path (default: `./gcp-architecture-review-YYYY-MM-DD.md`). Structure defined in [`templates/architecture-review-report.md`](./templates/architecture-review-report.md).
54
55Each finding follows the exact verbatim template at [`templates/finding.md`](./templates/finding.md).
56
57## When NOT to use
58
59- Application-only code reviews (no infrastructure surface)
60- Frontend-only UI reviews
61- Pure SQL schema reviews without IaC or tenant-isolation impact
62- Non-GCP clouds (AWS, Azure, etc.)
63- Implementation / coding tasks
64- Applying remediations (this skill produces findings only)
65- One-off bug fixes outside architecture/IAM/networking
66
67## Workflow
68
691. **Confirm scope.** Repos, environments, severity floor, category filter, CIS benchmark version.
702. **Locate evidence sources.** Architecture docs, Terraform, Kubernetes manifests, CI/CD configs, security docs, deployment docs.
713. **Build evidence map.** Table: review area → primary files/resources → confirmed/inferred/assumed.
724. **Pull relevant checklists.** See [`checklists/`](./checklists/) — one per domain.
735. **Run pass per checklist.** Produce raw findings tagged confirmed / inferred / unverified.
746. **Prioritize.** Security + tenant isolation → auditability → reliability → cost → operational maturity.
757. **Assign severity** per [`references/severity-model.md`](./references/severity-model.md).
768. **Format findings** per [`templates/finding.md`](./templates/finding.md).
779. **Cross-reference** existing decisions / tickets / prior findings to deduplicate.
7810. **Produce report** per [`templates/architecture-review-report.md`](./templates/architecture-review-report.md).
79
80## Review Domains
81
82Pull the matching checklist:
83
84| Domain | Checklist |
85|---|---|
86| Architecture | [`checklists/architecture.md`](./checklists/architecture.md) |
87| Network | [`checklists/network.md`](./checklists/network.md) |
88| IAM + Service Accounts | [`checklists/iam.md`](./checklists/iam.md) |
89| Security | [`checklists/security.md`](./checklists/security.md) |
90| GKE / Kubernetes | [`checklists/gke.md`](./checklists/gke.md) |
91| Cloud SQL / Database | [`checklists/cloud-sql.md`](./checklists/cloud-sql.md) |
92| Storage / Secrets / KMS | [`checklists/storage-secrets-kms.md`](./checklists/storage-secrets-kms.md) |
93| Logging / Monitoring / Detection | [`checklists/logging-monitoring.md`](./checklists/logging-monitoring.md) |
94| CI/CD + Supply Chain | [`checklists/cicd.md`](./checklists/cicd.md) |
95| Cost Optimization | [`checklists/cost.md`](./checklists/cost.md) |
96| Reliability / DR / Scalability | [`checklists/reliability.md`](./checklists/reliability.md) |
97| CIS GCP Foundation Benchmark | [`checklists/cis-gcp-foundation.md`](./checklists/cis-gcp-foundation.md) |
98
99## GCP Certification Domain Lens
100
101Detailed mapping of certification domains to review areas: [`references/gcp-cert-domain-lens.md`](./references/gcp-cert-domain-lens.md).
102
103## Evidence Rules
104
105- Every finding cites file/path/line OR `gcloud`/`kubectl get`/`gh` (read-only) command + output OR a specific resource ID.
106- Quotes must be **exact**.
107- Tag findings as **Confirmed** (directly inspected), **Inferred** (derived), or **Assumed** (no direct evidence).
108- Memory, summaries, prior reports are **pointers**, not evidence — re-verify.
109- Missing evidence → "Unverified — required evidence not available in this run." Not a fabricated finding.
110- Absence of a required control IS evidence of the absence — may itself be a finding.
111
112## Severity Model
113
114Five tiers: Critical / High / Medium / Low / Informational. Full definitions + examples at [`references/severity-model.md`](./references/severity-model.md).
115
116Use **Critical** ONLY when issue could directly cause: cross-tenant data exposure, public exposure of sensitive systems/data, production credential compromise, loss of audit integrity, uncontrolled production deployment path, internet-exposed administrative plane, or material compliance failure.
117
118## CIS GCP Benchmark Alignment
119
120The skill checks alignment with CIS GCP Foundation Benchmark **concepts** including: IAM least privilege, MFA, SA key management, audit logging, log retention, VPC Flow Logs, firewall restrictions, public IP restrictions, default network removal, Cloud SQL secure config, Cloud Storage public-access prevention, KMS controls, org policy constraints, separation of duties, monitoring + alerting.
121
122**MUST NOT claim exact CIS compliance unless:**
123
1241. User has specified the exact CIS GCP Benchmark **version** in scope.
1252. Skill has read each benchmark control's required evidence for that version.
1263. Skill has inspected the corresponding GCP resource state OR Terraform declaration to confirm each control.
127
128When unverified, phrase as: "Aligned against CIS GCP Foundation Benchmark **concepts**. Specific control numbers and version compliance not verified."
129
130Full alignment scope: [`checklists/cis-gcp-foundation.md`](./checklists/cis-gcp-foundation.md).
131
132## Safety Constraints
133
134Hard rules — see [`references/safety-constraints.md`](./references/safety-constraints.md) for the full list. Summary:
135
136- No guessing. No fake citations. No generic recommendations without evidence.
137- No production changes. No `terraform apply`. No `kubectl` mutation.
138- No secret reads unless explicitly authorized.
139- No credential exposure in output.
140- No destructive commands.
141- No modifying files unless user explicitly asks for remediation.
142- Always distinguish confirmed facts from assumptions.
143- Never claim exact CIS compliance without version + evidence inspection.
144- Never collapse security, reliability, and cost findings into one vague finding.
145- Never recommend enterprise controls where simpler controls suffice.
146
147## Cost Recommendation Rule
148
149**Every cost recommendation MUST include a tradeoff.** No exceptions. See [`checklists/cost.md`](./checklists/cost.md).
150
151## Examples
152
153- [Full architecture review](./examples/01-full-review.md)
154- [PR network + security review](./examples/02-pr-network-security.md)
155- [Pre-apply Terraform review](./examples/03-preapply-tf-review.md)
156
157## References
158
159- [Severity model](./references/severity-model.md)
160- [Safety constraints](./references/safety-constraints.md)
161- [GCP certification domain lens](./references/gcp-cert-domain-lens.md)
162- CIS Google Cloud Platform Foundation Benchmark — https://www.cisecurity.org/benchmark/google_cloud_computing_platform
163- Google Cloud Architecture Framework — https://cloud.google.com/architecture/framework
164- GCP Security Best Practices — https://cloud.google.com/security/best-practices