Claude Cursor GitHub Copilot Skill

gcp-cloud-run-functions-operator

Deploy and operate Cloud Run services, Cloud Functions gen2, Eventarc triggers, traffic splitting for progressive delivery, and cold-start optimization strategies.

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download vincentchuwaichow-vanguard-frontier-agentic-skills_gcp_gcp-cloud-run-functions-operator-febe32a.zip · 4 KB
Part of vincentchuwaichow/vanguard-frontier-agentic — 293 skills

Install

skills CLI npx skills add https://github.com/VincentChuWaiChow/vanguard-frontier-agentic/tree/master/skills/gcp/gcp-cloud-run-functions-operator
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install vincentchuwaichow-vanguard-frontier-agentic@llmmart
Git 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 Run and Functions Operator

Purpose

Act as a rigorous Cloud Run and Cloud Functions operator. Keep serverless services reliable, cost-efficient, and free of cold-start surprises or silent VPC connectivity gaps.

Cloud Run Resource Types

Cloud Run has three distinct resource types — confirm which one the user needs before proceeding:

Resource Type Use When Key Characteristics
Service HTTP/gRPC API, event response, web app Stateless, scale-to-zero, unique HTTPS endpoint, request-based billing
Job Batch processing, scheduled task, data pipeline step Runs to completion, parallelizable tasks, no persistent endpoint
Worker Pool Pull-based consumers (Kafka, Pub/Sub pull, RabbitMQ) Always-on, no HTTP endpoint, pulls work from queues

Reference Directory

Scenario Trigger Keywords Reference
Deploy a service HTTP, web app, API, deploy container, autoscale Services section
Run a job batch, scheduled, cron, run to completion, data pipeline Jobs section
Worker pool setup Kafka consumer, Pub/Sub pull, RabbitMQ, background worker Worker Pools section
IAM & auth invoke, service account, ingress, unauthenticated Security section
VPC connectivity VPC connector, egress, private IP, Cloud SQL, Memorystore Networking section
Cost & scaling concurrency, min-instances, max-instances, cold start Scaling & Cost section

When to use

Use this skill for:

  • Cloud Run service deployment, revision management, and traffic splitting
  • Cloud Run jobs for batch and scheduled workloads
  • Cloud Run worker pools for pull-based queue consumers (Kafka, Pub/Sub pull, RabbitMQ)
  • Cloud Functions gen2 deployment and configuration
  • Eventarc trigger design (Pub/Sub, GCS, Firestore, Audit Logs, custom sources)
  • Progressive delivery via revision traffic splits (canary, blue/green)
  • Cold-start analysis and minimum instances recommendations
  • Concurrency tuning and CPU allocation mode (request-only vs. always-on)
  • VPC connectivity (Direct VPC Egress vs. VPC connector) for private resource access

Key Cloud Run and Functions specifics

  • Cloud Run revision traffic: you can split traffic across multiple revisions (e.g., 90/10 canary) — this is the primary progressive delivery mechanism.
  • Minimum instances: prevents cold starts but costs money even when idle. Use for latency-sensitive services.
  • Cloud Functions gen2 runs on Cloud Run internally — same container model, same networking.
  • Eventarc: event-driven triggers from Pub/Sub, GCS, Firestore, Audit Logs, and custom sources. Use instead of polling patterns.
  • Concurrency: Cloud Run supports up to 1000 concurrent requests per instance. CPU is only allocated during request processing by default (not during idle).
  • Always-on CPU: required for background tasks or WebSockets — set cpu="always" to keep CPU allocated between requests.
  • VPC connector or Direct VPC Egress: required for Cloud Run to access private resources in a VPC. Direct VPC Egress is newer and preferred.

Lean operating rules

  • Prefer official GCP documentation and live evidence over memory or inference.
  • Separate confirmed facts from inference. If state was not queried or shown, say so.
  • Challenge missing min-instances for latency-sensitive services, CPU-only-on-request for background workloads, and missing VPC egress for private access.
  • 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:

Response minimum

Return, at minimum:

  • the scoped target and evidence level,
  • the main risks or control gaps,
  • 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 812 B
      # Official sources
      
      Use this reference only when you need source grounding for Cloud Run or Cloud Functions behavior or the detailed source list.
      
      ## GCP documentation
      
      Use these as starting points, not as proof of the user's live GCP state:
      - https://cloud.google.com/run/docs/overview/what-is-cloud-run
      - https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration
      - https://cloud.google.com/functions/docs/concepts/overview
      - https://cloud.google.com/eventarc/docs/overview
      
      ## Grounding rule
      
      Official documentation explains Cloud Run and Cloud Functions behavior. It does not prove the user's current revision traffic splits, minimum instance configuration, concurrency settings, or VPC egress setup. Prefer live GCP CLI/API evidence or sanitized user-provided evidence for current-state claims.
      
    • workflow-and-output.md 2.3 KB
      # Workflow and output contract
      
      Use this reference only when performing the full review, implementation guidance, or production-readiness pass.
      
      ## Review domains
      
      Check these areas before giving a verdict:
      - Service/function inventory (region, revision count, current traffic split)
      - Revision health (container startup time, error rate, latency p99)
      - Cold-start profile (min-instances setting vs. latency SLA)
      - Concurrency settings (max-instances, max-concurrency, CPU allocation mode)
      - VPC connectivity (Direct VPC Egress vs. VPC connector vs. no VPC)
      - Eventarc triggers (source, filter, delivery guarantees)
      - IAM (invoker bindings, service account least privilege)
      
      ## Safe workflow
      
      1. **Frame scope**
         - Project/region and service or function name:
         - Traffic split and active revisions:
         - Latency SLA and cold-start tolerance:
         - Required outcome:
         - Explicit non-goals:
      2. **Collect evidence**
         - Prefer live GCP CLI/API read-only evidence if available.
         - Otherwise inspect repository IaC/config, sanitized user evidence, or official GCP docs.
         - Label each finding as `live evidence`, `repo evidence`, `user-provided evidence`, `documentation-based`, or `inference`.
      3. **Stress-test risk**
         - Are latency-sensitive services running without minimum instances?
         - Are background services missing always-on CPU?
         - Are services that need private VPC access missing Direct VPC Egress?
         - Are all invoker bindings scoped to the minimum necessary identities?
         - 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 Run and Functions 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.1 KB
    {
      "id": "gcp-cloud-run-functions-operator",
      "name": "GCP Cloud Run and Functions Operator",
      "type": "skill",
      "provider": "gcp",
      "harnesses": [
        "codex",
        "claude-code",
        "cursor",
        "gemini",
        "kiro",
        "other"
      ],
      "summary": "Deploy and operate Cloud Run services, Cloud Functions gen2, Eventarc triggers, traffic splitting for progressive delivery, and cold-start optimization strategies.",
      "source_type": "original",
      "official_docs": [
        "https://cloud.google.com/run/docs/overview/what-is-cloud-run",
        "https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration",
        "https://cloud.google.com/functions/docs/concepts/overview",
        "https://cloud.google.com/eventarc/docs/overview"
      ],
      "security_notes": "Always-on CPU is required for background tasks or WebSockets. Direct VPC Egress is preferred over VPC connector for Cloud Run private VPC access. CPU is not allocated during idle by default.",
      "last_verified": "2026-05-08",
      "path": "skills/gcp/gcp-cloud-run-functions-operator",
      "author": "github: VincentChuWaiChow",
      "version": "0.2.0"
    }
    
  • SKILL.md 4.6 KB
    ---
    name: gcp-cloud-run-functions-operator
    description: Deploy and operate Cloud Run services, Cloud Functions gen2, Eventarc triggers, traffic splitting for progressive delivery, and cold-start optimization strategies.
    allowed-tools: Read Grep Glob
    metadata:
      author: "github: VincentChuWaiChow"
      version: "0.2.0"
      updated: "2026-05-09"
      category: platform
    ---
    
    # GCP Cloud Run and Functions Operator
    
    ## Purpose
    
    Act as a rigorous Cloud Run and Cloud Functions operator. Keep serverless services reliable, cost-efficient, and free of cold-start surprises or silent VPC connectivity gaps.
    
    ## Cloud Run Resource Types
    
    Cloud Run has three distinct resource types — confirm which one the user needs before proceeding:
    
    | Resource Type | Use When | Key Characteristics |
    |---|---|---|
    | **Service** | HTTP/gRPC API, event response, web app | Stateless, scale-to-zero, unique HTTPS endpoint, request-based billing |
    | **Job** | Batch processing, scheduled task, data pipeline step | Runs to completion, parallelizable tasks, no persistent endpoint |
    | **Worker Pool** | Pull-based consumers (Kafka, Pub/Sub pull, RabbitMQ) | Always-on, no HTTP endpoint, pulls work from queues |
    
    ## Reference Directory
    
    | Scenario | Trigger Keywords | Reference |
    |---|---|---|
    | Deploy a service | HTTP, web app, API, deploy container, autoscale | [Services section](#services) |
    | Run a job | batch, scheduled, cron, run to completion, data pipeline | [Jobs section](#jobs) |
    | Worker pool setup | Kafka consumer, Pub/Sub pull, RabbitMQ, background worker | [Worker Pools section](#worker-pools) |
    | IAM & auth | invoke, service account, ingress, unauthenticated | [Security section](#security) |
    | VPC connectivity | VPC connector, egress, private IP, Cloud SQL, Memorystore | [Networking section](#networking) |
    | Cost & scaling | concurrency, min-instances, max-instances, cold start | [Scaling & Cost section](#scaling--cost) |
    
    ## When to use
    
    Use this skill for:
    
    - Cloud Run service deployment, revision management, and traffic splitting
    - Cloud Run jobs for batch and scheduled workloads
    - Cloud Run worker pools for pull-based queue consumers (Kafka, Pub/Sub pull, RabbitMQ)
    - Cloud Functions gen2 deployment and configuration
    - Eventarc trigger design (Pub/Sub, GCS, Firestore, Audit Logs, custom sources)
    - Progressive delivery via revision traffic splits (canary, blue/green)
    - Cold-start analysis and minimum instances recommendations
    - Concurrency tuning and CPU allocation mode (request-only vs. always-on)
    - VPC connectivity (Direct VPC Egress vs. VPC connector) for private resource access
    
    ## Key Cloud Run and Functions specifics
    
    - Cloud Run revision traffic: you can split traffic across multiple revisions (e.g., 90/10 canary) — this is the primary progressive delivery mechanism.
    - Minimum instances: prevents cold starts but costs money even when idle. Use for latency-sensitive services.
    - Cloud Functions gen2 runs on Cloud Run internally — same container model, same networking.
    - Eventarc: event-driven triggers from Pub/Sub, GCS, Firestore, Audit Logs, and custom sources. Use instead of polling patterns.
    - Concurrency: Cloud Run supports up to 1000 concurrent requests per instance. CPU is only allocated during request processing by default (not during idle).
    - Always-on CPU: required for background tasks or WebSockets — set cpu="always" to keep CPU allocated between requests.
    - VPC connector or Direct VPC Egress: required for Cloud Run to access private resources in a VPC. Direct VPC Egress is newer and preferred.
    
    ## Lean operating rules
    
    - Prefer official GCP documentation and live evidence over memory or inference.
    - Separate confirmed facts from inference. If state was not queried or shown, say so.
    - Challenge missing min-instances for latency-sensitive services, CPU-only-on-request for background workloads, and missing VPC egress for private access.
    - 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 or formatting the final answer.
    - [Official sources](references/official-sources.md) — use when grounding Cloud Run/Functions behavior or checking the detailed source list.
    
    ## Response minimum
    
    Return, at minimum:
    
    - the scoped target and evidence level,
    - the main risks or control gaps,
    - 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.

No comments yet.

Reviews (0)

No reviews yet.

Related