一键导入
cloud-run-basics
Cloud Run expert guidance. Use when deploying services, running jobs, or managing worker pools for HTTP, scheduled tasks, or background processing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Cloud Run expert guidance. Use when deploying services, running jobs, or managing worker pools for HTTP, scheduled tasks, or background processing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
End a session — extract learnings, write handoff, store patterns, detect doc drift. Use when ending a work session or when the user says done/bye/closing.
Build anything — features, bug fixes, refactors, spikes, migrations. Auto-detects strategy, integrates with backlog, enforces TDD. The unified dev command.
Align a project to brana practices — assess gaps, plan, implement, verify. Auto-detects type. Use when setting up a new project or realigning an existing one.
Scan and diagnose a project, or scaffold a new client from scratch. Works for code and venture clients. Auto-detects project type.
Manage the backlog — plan, track, navigate phases and streams. Use when planning phases, viewing roadmaps, or restructuring work.
Structured bug fix — reproduce (failing test), diagnose, fix (minimal change), verify, commit. Enforces test-first. Use when a bug needs a methodical fix.
| name | cloud-run-basics |
| description | Cloud Run expert guidance. Use when deploying services, running jobs, or managing worker pools for HTTP, scheduled tasks, or background processing. |
| group | brana |
| keywords | ["cloud-run","gcp","deployment","docker","container","jobs","worker-pools","gcloud"] |
| allowed-tools | ["Read","Write","Edit","Bash","Glob","Grep","Agent"] |
| status | experimental |
| source | https://github.com/google/skills @cloud-run-basics |
| acquired | 2026-04-30 |
| quarantine | false |
Cloud Run is a fully managed application platform for running your code, function, or container on top of Google's highly scalable infrastructure. It abstracts away infrastructure management, providing three primary resource types:
Enable the Cloud Run Admin API and Cloud Build APIs:
gcloud services enable run.googleapis.com cloudbuild.googleapis.com
roles/run.admin) on the projectroles/run.sourceDeveloper) on the projectroles/iam.serviceAccountUser) on the service identityroles/logging.viewer) on the projectCRITICAL RULE: Any deployed code MUST listen on 0.0.0.0 (not 127.0.0.1) and use the injected $PORT environment variable (defaults to 8080), or it will crash on boot.
gcloud run deploy SERVICE_NAME \
--image IMAGE_URL \
--region us-central1 \
--allow-unauthenticated
# With Dockerfile (Cloud Build runs it):
gcloud run deploy SERVICE_NAME --source .
# With buildpacks + automatic base image updates:
gcloud run deploy SERVICE_NAME --source . \
--base-image BASE_IMAGE \
--automatic-updates
gcloud run jobs create JOB_NAME --image IMAGE_URL OPTIONS
gcloud run jobs execute JOB_NAME --wait --region=REGION
gcloud run worker-pools deploy WORKER_POOL_NAME --image IMAGE_URL
# or from source:
gcloud run worker-pools deploy WORKER_POOL_NAME --source .
gcloud logging read 'resource.type="cloud_run_revision" AND resource.labels.service_name="SERVICE_NAME"' --limit=20--no-build to --source . (Buildpacks).palco-v3-api, project: palco-prod, region: us-central1bash deploy/gcp/cloud_run/deploy-multitenant.sh (--no-traffic, smoke tests, auto-migrate)gcloud logging read with resource.type="cloud_run_revision" filter — gcloud run logs read is invalidjsonPayload.event, not jsonPayload.message--timeout and Cloud Scheduler --attempt-deadline.claude/rules/cloud-run-deploy.md for full deploy gate and rollback procedure