SKILL

gcp-cloud-run

Specialized skill for building production-ready serverless applications on GCP. Covers Cloud Run services (containerized), Cloud Run Functions (event-driven), cold start optimization, and event-driven architecture with Pub/Sub.

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • GCP Cloud Run
  • Patterns
  • Cloud Run Service Pattern
  • Cloud Run Functions Pattern
  • 2. Set Minimum Instances
  • 3. Optimize Container Image
  • 4. Lazy Initialize Heavy Dependencies
  • 5. Increase Memory (More CPU)

Containerized web service on Cloud Run When to use: ['Web applications and APIs', 'Need any runtime or library', 'Complex services with multiple endpoints', 'Stateless containerized workloads'] Event-driven functions (formerly Cloud Functions) When to use: ['Simple event handlers', 'Pub/Sub message processing', 'Cloud Storage triggers', 'HTTP webhooks'] Why bad: CPU is shared across concurrent requests. CPU-bound work will starve other requests, causing timeouts. Why bad: /tmp is an in-memory filesystem. Large files consume your memory allocation and can cause OOM errors. Why bad: Cloud Run throttles CPU to near-zero when not handling requests. Background tasks will be extremely slow or stall. | Issue | Severity | Solution | |-------|----------|----------| | Issue | high | ## Calculate memory including /tmp usage | | Issue | high | ## Set appropriate concurrency | | Issue | high | ## Enable CPU always allocated | | Issue | medium | ## Configure connection pool with keep-alive | | Issue | high | ## Enable startup CPU boost | | Issue | medium | ## Explicitly set execution environment | | Issue | medium | ## Set consistent timeouts |

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/development/gcp-cloud-run/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:44.366Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.