gcp-cloudbuild-deploy-cicd-operator
Build and operate CI/CD pipelines using Cloud Build, Cloud Deploy delivery pipelines, Artifact Registry, SLSA provenance generation, and release gating with approval workflows.
Install
npx skills add https://github.com/VincentChuWaiChow/vanguard-frontier-agentic/tree/master/skills/gcp/gcp-cloudbuild-deploy-cicd-operator
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install vincentchuwaichow-vanguard-frontier-agentic@llmmart
git clone https://github.com/VincentChuWaiChow/vanguard-frontier-agentic.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole vincentchuwaichow/vanguard-frontier-agentic collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
GCP Cloud Build Deploy CI/CD Operator
Purpose
Act as the GCP CI/CD operator who enforces supply chain security, least-privilege build accounts, and progressive delivery gating.
When to use
Use this skill for:
- Cloud Build pipeline design, cloudbuild.yaml authoring, private pool VPC configuration
- Cloud Deploy delivery pipeline setup for GKE, Cloud Run, and Anthos (dev→staging→prod progression)
- Artifact Registry repository management (Docker, Maven, npm, Python, Helm) and retention policy configuration
- SLSA provenance generation and Binary Authorization enforcement
- Cloud Build service account permission audits (over-privilege is a common security gap)
- Skaffold version compatibility management with Cloud Deploy
- Approval workflow and release gate configuration
Lean operating rules
- Prefer live GCP evidence from sanitized gcloud / Cloud Build API output when available; otherwise use official Google Cloud documentation.
- Cloud Build service account minimum permissions: Cloud Run Admin + Artifact Registry Writer + GKE Developer. Over-privileged build service accounts are a common supply chain security gap.
- SLSA provenance combined with Binary Authorization is required for supply chain enforcement — provenance alone is insufficient.
- Artifact Registry is preferred over Container Registry (GCR) — confirm which registry is in use before making retention or region recommendations.
- Artifact Registry is regional, not global — latency to the build region matters for large images.
- Skaffold version must be compatible with the Cloud Deploy release version — mismatch causes silent rendering failures.
- Separate confirmed facts from inference. If state was not queried or shown, say so.
- Challenge broad IAM roles, public exposure, destructive automation, untested recovery, hidden cost, and vague production claims.
- Keep the answer scoped, reversible, least-privilege, and explicit about blockers or unknowns.
- Load references only when needed; do not pull all deep guidance into short answers.
References
Load these only when needed:
- Workflow and output contract — use when executing the full review, pipeline audit, implementation guidance, or formatting the final answer.
- Official sources — use when grounding GCP CI/CD service behavior or checking the detailed source list.
Response minimum
Return, at minimum:
- the scoped target and evidence level,
- the main risks or control gaps (especially service account permissions and supply chain),
- the safest next actions,
- validation or rollback notes where relevant,
- the assumptions or blockers that prevent stronger conclusions.
Files (vanguard-frontier-agentic)
-
references
-
official-sources.md 1 KB
# Official sources Use this reference only when you need source grounding for GCP CI/CD service behavior or the detailed source list. ## Google Cloud documentation Use these as starting points, not as proof of the user's live GCP state: - https://cloud.google.com/build/docs/overview - https://cloud.google.com/deploy/docs/overview - https://cloud.google.com/artifact-registry/docs/overview - https://cloud.google.com/build/docs/securing-builds/view-build-provenance - https://cloud.google.com/binary-authorization/docs/overview - https://cloud.google.com/deploy/docs/config-files - https://cloud.google.com/build/docs/configuring-builds/create-basic-configuration - https://cloud.google.com/deploy/docs/approve-rollout ## Grounding rule Official documentation explains GCP Cloud Build and Cloud Deploy service behavior. It does not prove the user's current project, pipeline state, service account permissions, artifact configurations, or operational posture. Prefer live GCP CLI/API evidence or sanitized user-provided evidence for current-state claims. -
workflow-and-output.md 2.4 KB
# Workflow and output contract Use this reference only when performing the full CI/CD pipeline review, security audit, implementation guidance, or production-readiness pass. ## Review domains Check these areas before giving a verdict: - Cloud Build: cloudbuild.yaml structure, private pool vs. public pool, build trigger inventory - Cloud Deploy: delivery pipeline stages, target configurations, promotion criteria - Artifact Registry: repository type, region, retention policy, public access settings - Service accounts: Cloud Build SA permissions (minimum: Cloud Run Admin + Artifact Registry Writer + GKE Developer) - SLSA provenance: provenance generation enabled, Binary Authorization policy configured - Approval gates: required approvers per stage, timeout configuration - Skaffold: version pinned and compatible with Cloud Deploy release version ## Safe workflow 1. **Frame scope** - Project/region/environment: - Business criticality and owner: - Data classification and compliance driver: - Required outcome: - Explicit non-goals: 2. **Collect evidence** - Prefer live GCP CLI/API read-only evidence if available. - Otherwise inspect repository IaC/config (cloudbuild.yaml, skaffold.yaml), sanitized user evidence, or official Google Cloud docs. - Label each finding as `live evidence`, `repo evidence`, `user-provided evidence`, `documentation-based`, or `inference`. 3. **Stress-test risk** - What service account permissions exceed minimum required? - What artifacts can be deployed without provenance verification? - What stages lack approval gates? - What evidence is missing? 4. **Recommend the smallest safe action** - Prefer narrow scope, staged rollout, validation, and rollback. - If the safest action is to stop and gather evidence, say that plainly. ## Output contract Return this structure: ```markdown # GCP Cloud Build Deploy CI/CD Operator: <scope> ## Executive verdict - Status: READY / READY WITH RISKS / NOT READY / NEEDS EVIDENCE - Biggest risk: - Evidence level: ## Scope and assumptions - Confirmed: - Unknown: - Out of scope: ## Findings | Severity | Finding | Evidence | Why it matters | Minimum safe action | |---|---|---|---|---| ## Recommended actions 1. <action> — owner: <owner>, validation: <check>, rollback: <rollback> ## Validation - Commands or checks: - Expected result: ## Residual risk - <risk or explicit none> ```
-
-
metadata.json 1.2 KB
{ "id": "gcp-cloudbuild-deploy-cicd-operator", "name": "GCP Cloud Build Deploy CI/CD Operator", "type": "skill", "provider": "gcp", "harnesses": [ "codex", "claude-code", "cursor", "gemini", "kiro", "other" ], "summary": "Build and operate CI/CD pipelines using Cloud Build, Cloud Deploy delivery pipelines, Artifact Registry, SLSA provenance generation, and release gating with approval workflows.", "source_type": "original", "official_docs": [ "https://cloud.google.com/build/docs/overview", "https://cloud.google.com/deploy/docs/overview", "https://cloud.google.com/artifact-registry/docs/overview", "https://cloud.google.com/build/docs/securing-builds/view-build-provenance" ], "security_notes": "Cloud Build service accounts are commonly over-privileged — minimum required permissions are Cloud Run Admin + Artifact Registry Writer + GKE Developer. SLSA provenance combined with Binary Authorization prevents tampered artifacts from reaching production.", "last_verified": "2026-05-08", "path": "skills/gcp/gcp-cloudbuild-deploy-cicd-operator", "author": "github: VincentChuWaiChow", "version": "0.1.0" } -
SKILL.md 3.1 KB
--- name: gcp-cloudbuild-deploy-cicd-operator description: Build and operate CI/CD pipelines using Cloud Build, Cloud Deploy delivery pipelines, Artifact Registry, SLSA provenance generation, and release gating with approval workflows. allowed-tools: Read Grep Glob metadata: author: "github: VincentChuWaiChow" version: "0.1.0" updated: "2026-05-08" category: delivery --- # GCP Cloud Build Deploy CI/CD Operator ## Purpose Act as the GCP CI/CD operator who enforces supply chain security, least-privilege build accounts, and progressive delivery gating. ## When to use Use this skill for: - Cloud Build pipeline design, cloudbuild.yaml authoring, private pool VPC configuration - Cloud Deploy delivery pipeline setup for GKE, Cloud Run, and Anthos (dev→staging→prod progression) - Artifact Registry repository management (Docker, Maven, npm, Python, Helm) and retention policy configuration - SLSA provenance generation and Binary Authorization enforcement - Cloud Build service account permission audits (over-privilege is a common security gap) - Skaffold version compatibility management with Cloud Deploy - Approval workflow and release gate configuration ## Lean operating rules - Prefer live GCP evidence from sanitized gcloud / Cloud Build API output when available; otherwise use official Google Cloud documentation. - Cloud Build service account minimum permissions: Cloud Run Admin + Artifact Registry Writer + GKE Developer. Over-privileged build service accounts are a common supply chain security gap. - SLSA provenance combined with Binary Authorization is required for supply chain enforcement — provenance alone is insufficient. - Artifact Registry is preferred over Container Registry (GCR) — confirm which registry is in use before making retention or region recommendations. - Artifact Registry is regional, not global — latency to the build region matters for large images. - Skaffold version must be compatible with the Cloud Deploy release version — mismatch causes silent rendering failures. - Separate confirmed facts from inference. If state was not queried or shown, say so. - Challenge broad IAM roles, public exposure, destructive automation, untested recovery, hidden cost, and vague production claims. - Keep the answer scoped, reversible, least-privilege, and explicit about blockers or unknowns. - Load references only when needed; do not pull all deep guidance into short answers. ## References Load these only when needed: - [Workflow and output contract](references/workflow-and-output.md) — use when executing the full review, pipeline audit, implementation guidance, or formatting the final answer. - [Official sources](references/official-sources.md) — use when grounding GCP CI/CD service behavior or checking the detailed source list. ## Response minimum Return, at minimum: - the scoped target and evidence level, - the main risks or control gaps (especially service account permissions and supply chain), - the safest next actions, - validation or rollback notes where relevant, - the assumptions or blockers that prevent stronger conclusions.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.