Gcp Cloud Run
Production-ready GCP serverless patterns covering Cloud Run services, event-driven functions, and cold start tuning.
- CCM score
- 59 of 100
- skills.sh installs
- 235
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers Cloud Run containerized services, Cloud Run Functions for HTTP, Pub/Sub, and Cloud Storage triggers, and cold start optimization
- Includes Dockerfile and Express service templates, a Cloud Build deploy pipeline, and
gclouddeploy commands for each trigger type - Provides cold start tactics:
--cpu-boost,--min-instances, distroless images, and lazy loading of heavy dependencies - Flags anti-patterns such as CPU-heavy work without concurrency limits, large files written to
/tmp, and long-running background tasks
Install
$ npx -y skills add davila7/claude-code-templates --skill gcp-cloud-run -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
GCP Cloud Run
Patterns
Cloud Run Service Pattern
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']
```dockerfile
# Dockerfile - Multi-stage build for smaller image
FROM node:20-slim AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
FROM node:20-slim
WORKDIR /app
# Copy only production dependencies
COPY --from=builder /app/node_modules ./node_modules
COPY src ./src
COPY package.json ./
# Cloud Run uses PORT env variable
ENV PORT=8080
EXPOSE 8080
# Run as non-root user
USER node
CMD ["node", "src/index.js"]
// src/index.js
const express = require('express');
const app = express();
app.use(express.json());
// Health check endpoint
app.get('/health', (req, res) => {
res.status(200).send('OK');
});
// API routes
app.get('/api/items/:id', async (req, res) => {
try {
const item = await getItem(req.params.id);
res.json(item);
} catch (error) {
console.error('Error:', error);
res.status(500).json({ error: 'Internal server error' });
}
});
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- DevOps & Cloud, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the gcp-cloud-run skill help with?
The gcp-cloud-run skill helps build production-ready serverless applications on Google Cloud Platform. It covers Cloud Run services that run in containers, Cloud Run Functions for event-driven work, cold start optimization, and event-driven architecture with Pub/Sub.
How do I install the gcp-cloud-run skill?
Run npx -y skills add davila7/claude-code-templates --skill gcp-cloud-run -y in your project. Once installed, the agent can guide you through containerized Cloud Run deployments and Cloud Run Functions.
Where does gcp-cloud-run sit among DevOps and cloud skills?
The skill is listed in the DevOps and Cloud category on Claude Marketplaces, alongside Azure skills such as azure-deploy and azure-diagnostics. Its focus is narrower: it targets Google Cloud Run workloads specifically, including cold start tuning and Pub/Sub event handling.
Who should use the gcp-cloud-run skill?
It suits developers who deploy web applications, APIs or event handlers on Google Cloud. The skill's patterns cover stateless containerized services, HTTP webhooks, Pub/Sub message processing and Cloud Storage triggers.
More from davila7/claude-code-templates
All 398- Qiskit235
- Shodan Reconnaissance And Pentesting235
- Cloud Penetration Testing234
- Pysam233
- Cross Site Scripting And HTML Injection Testing232
- Pufferlib232
- Cc Skill Strategic Compact231
- Cc Skill Project Guidelines Example230
- Active Directory Attacks228
- Datacommons Client225
- HTML Injection Testing223
- Brenda Database222
- Heygen Best Practices222
- Hmdb Database222
- Umap Learn222
- AWS Penetration Testing220
- Cellxgene Census220
- Clerk Auth220
- Kaizen220
- Lamindb219
- Nosql Expert219
- Pyopenms219
- Capa Officer218
- Ena Database218
Similar to Gcp Cloud Run
More DevOps & Cloudcloud-run-basicsgoogle/skills20K installsManaged Cloud Run platform for deploying services, scheduled jobs, and always-on worker pools without managing infrastructure.
gcp-developmentmindrally/skills993 installsBest-practices guide for building on GCP across serverless compute, data services, Terraform, and security.
gcp-cloud-functionsaj-geddes/useful-ai-prompts477 installsServerless GCP function deployment covering triggers, IAM, environment configuration, and monitoring for event-driven workloads.
gcp-cloud-architectalirezarezvani/claude-skills752 installsDesign, deploy, and cost-optimize Google Cloud architectures with generated Terraform and gcloud workflows.
gcp-expertpersonamanagmentlayer/pcl555 installsBroad Google Cloud reference covering compute, serverless, data, and messaging services with working code samples.
modaldavila7/claude-code-templates947 installsServerless Python cloud platform for GPU workloads, batch jobs, scheduled tasks, and autoscaling APIs.