/palladius-common-commands:cloud-build-investigationfrom palladius-common-commands
Investigates Google Cloud Build failures and Cloud Run deployment issues by correlating git commits with build logs and providing systematic debugging workflows.
Ships in palladius-common-commands. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill provides expert-level SRE capabilities for investigating and debugging Google Cloud Build (GCB) issues, particularly for deployments to Cloud Run.
Use this skill when:
⚠️ CRITICAL: Assume positive intention!
cloudbuild.yaml exists with a trigger, DO NOT MOVE OR MAJORLY CHANGE ITjust git-logs-timestamped to get compact commit history with timestamps (YYYYMMDD HH:MM)just cloud-build-list to get recent Cloud Buildsjust cloud-build-show-log FIRST_FAILING_BUILD_ID to examine logsCross-correlate failed build logs with the git diff of the culprit commit:
If investigation shows NO errors → Done! ✅
If errors found:
File GitHub Issue:
[failed Cloud Build] <BUILD_ID> <SHORT_DESCRIPTION>Investigate & Propose Fix:
Test with Baby Steps:
1.2.3 → 1.2.3a → 1.2.3b (for quick testing)Monitor:
just cloud-build-list and just cloud-build-show-log {{build_id}}Ensure the project's justfile has these targets (adapt PROJECT_ID and CLOUD_RUN_ENDPOINT):
# List latest 10 CB builds, possibly the first might still be running
cloud-build-list:
gcloud builds list --project=PROJECT_ID --limit=10
# Show the log of a specific Cloud Build, eg 7c82188e-485a-4735-a70d-fb303fbfe5a0
cloud-build-show-log build_id:
@echo "Showing log for build ID: {{build_id}}. Use --stream to follow the log indefinitely (you can do it, but I want Gemini NOT to do it)."
gcloud builds log {{build_id}} --project=PROJECT_ID
# Show Cloud Run logs
cloud-run-logs:
@echo "☁️ Fetching logs for Cloud Run environment..."
gcloud logging read "resource.type=cloud_run_revision AND resource.labels.service_name=CLOUD_RUN_ENDPOINT" --project=PROJECT_ID --limit=100 --format="value(timestamp, severity, textPayload)"
# Shows git logs in timestamped way
git-logs-timestamped:
git log --pretty=format:'%h %ad | %s%d [%an]' --date=iso -n 10
Note: If just is not available, use a Makefile instead (convert N spaces to tabs).
This is a complex process. Follow carefully:
bin/ with "cloud build" in name)
bin/ricc-cb-push-to-cloudrun-magic.shREADME.md (if not, document it!)gcp/ or iac/ folders for additional hintsIf Cloud Build is set up, expect:
cloudbuild.yaml (root file, likely has trigger attached)bin/ scripts for deploymentgcp/ or iac/ folders with infrastructure code.gemini/skills/cloud-build-investigation/scripts/ for helper utilities.gemini/skills/cloud-build-investigation/references/ for GCP docs🚫 DO NOT:
cloudbuild.yaml location or major structurebuild target in justfile without understanding full context--stream cautiously)✅ DO:
What SKILL.md sets; muted values are Claude Code's defaults
palladius-custom-commands@palladius-skills is listed by palladius/skills — review the source before installing
npx claudepluginhub palladius/skills --plugin palladius-custom-commands7 skills in this plugin
/conductor-convergeAudits the current codebase against the active Conductor track's spec.md, plan.md, and code style guides, then appends any unbuilt or partial work as a new Convergence phase in plan.md so conductor-implement can complete it./conductor-worktree-hitlManage asynchronous task implementation in Git Worktrees using Conductor++ and GitHub Issues for low-friction HITL choice prompting and screenshot verification./devrel-frictionlog-codelab🥑 [DevRel] Automates friction logging for Google Codelabs (v2.0) with multi-instance collision guards, reentrant gcloud configs, pre-teardown UAT gates, and deterministic telemetry./genmedia-setupInstall, setup and use GenMedia (MCP) tools and related Gemini skills./musicgen-lyria3Generate 30-second music clips (default) or 2-3 minute full songs with the Lyria 3.5 model family from Google GenAI. Supports creating music with lyrics, vocals, and specific genres from text prompts. Automatically embeds rich ID3v2.3 tags (lyrics in USLT/COMM, default Drake Riccardo meme artist avatar, album, metadata) and saves matching lyrics (.txt) in the same directory./pcc-check-for-updates🔄 Checks for updates to remote GH site for palladius/gemini-cli-custom-commands. Use Ruby code to check for newer/older version.Other plugins' skills for the same job