Expert-level SRE skill for Google Cloud Build (GCB) and Cloud Run investigations. Activate when user mentions Cloud Build failures, deployment issues to Cloud Run, or needs help debugging GCB pipelines. Specializes in correlating git commits with build failures, analyzing build logs, and providing systematic debugging workflows.
Expert-level SRE skill for investigating and debugging Google Cloud Build (GCB) and Cloud Run deployment issues.
This skill provides systematic workflows for:
cloud-build-investigation/
├── SKILL.md # Main skill definition (read by Gemini)
├── README.md # This file
├── scripts/
│ ├── correlate_builds.rb # Correlates git commits with Cloud Builds
│ └── correlate_builds_test.rb # Test suite for correlation script
├── references/
│ └── gcp-resources.md # GCP documentation and troubleshooting guide
└── assets/
└── (empty - for future diagrams/screenshots)
The skill is automatically activated when you mention Cloud Build issues:
gemini "Why is my Cloud Build failing?"
gemini "Help me debug this Cloud Run deployment"
gemini "Investigate the latest Cloud Build failure"
You can also run the correlation script directly:
# Correlate commits with builds
ruby .gemini/skills/cloud-build-investigation/scripts/correlate_builds.rb YOUR_PROJECT_ID
# Or set environment variable
export GCP_PROJECT=your-project-id
ruby .gemini/skills/cloud-build-investigation/scripts/correlate_builds.rb
# Run tests
ruby .gemini/skills/cloud-build-investigation/scripts/correlate_builds_test.rb
⚠️ CRITICAL: This skill follows the principle of "assume positive intention"
cloudbuild.yamlreferences/gcp-resources.md for GCP documentation linksSKILL.md for detailed workflow instructionsRun the test suite to verify the correlation script:
ruby .gemini/skills/cloud-build-investigation/scripts/correlate_builds_test.rb
Expected output:
🧪 Testing correlate_builds.rb
==================================================
Test: Script file exists... ✅ PASS
Test: Script is executable... ✅ PASS
Test: Handles missing PROJECT_ID... ✅ PASS
Test: Shows usage message... ✅ PASS
==================================================
Results: 4 passed, 0 failed
When updating this skill:
SKILL.md with new workflows or instructionsscripts/ with corresponding _test.rb filesreferences/ with new documentationnpx skills add palladius/cloud-build-investigation下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer