gcp-deploy-guardian

Validate GCP deployments for platform compatibility, mixed content, and asset availability.

4|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/Cor-Incorporated/claude-code-skills --skill gcp-deploy-guardian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gcp-deploy-guardian
Source: https://github.com/Cor-Incorporated/claude-code-skills/tree/main/skills/gcp-deploy-guardian
Command: npx skills add https://github.com/Cor-Incorporated/claude-code-skills --skill gcp-deploy-guardian

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that your GCP deployments are free from common pitfalls, including platform mismatches, mixed content issues, and missing assets, thereby preventing deployment failures.

Core Features & Use Cases

  • Pre-Deploy Checks: Validates Docker builds, Cloud Run deploys, and GKE rollouts.
  • Platform Verification: Ensures builds are for the correct platform (amd64).
  • Build Arg Audit: Checks for http:// URLs in build arguments.
  • SPA Build Checks: Validates Vite SPA builds for VAD/ONNX/WASM assets.
  • nginx MIME Types: Ensures correct MIME types for .mjs, .wasm, and .onnx files.
  • Post-Deploy Verification: Checks Cloud Run and GKE deployments for proper functioning.
  • Error Handling: Provides guidance on common errors and their fixes.

Quick Start

Use the gcp-deploy-guardian skill to validate your next GCP deployment.

Frequently Asked Questions about gcp-deploy-guardian

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent arm64 to amd64 platform mismatch when deploying to GCP Cloud Run?

To prevent arm64 to amd64 platform mismatch during GCP Cloud Run deploys, automated pre-deploy checks validate Docker builds to ensure they target the correct amd64 platform before rollout.

Why does my Vite SPA deployment fail with 404 errors for WASM and ONNX assets?

Vite SPA deployments fail with 404 errors for WASM and ONNX assets due to missing build outputs. Pre-deploy validation checks VAD, ONNX, and WASM asset availability to prevent this.

How do I fix nginx MIME type breakage for .mjs and .wasm files on GKE?

To fix nginx MIME type breakage for .mjs and .wasm files on GKE, deployment validation checks ensure correct MIME types are configured for these specific file extensions before rollout.

Can I validate Docker build args for http:// URLs before deploying to Google Cloud?

Yes, you can validate Docker build args for http:// URLs before deploying to Google Cloud. Pre-deploy checks audit build arguments to identify and prevent mixed content issues from http:// URLs.

Does this deployment validation work for both Cloud Run and GKE rollouts?

Yes, this deployment validation works for both Cloud Run and GKE rollouts. It triggers automated checks on Docker builds, Cloud Run deploys, and GKE rollouts to verify platform compatibility and post-deploy functioning.

What is the best way to stop local-only Docker builds from reaching GCP deployments?

The best way to stop local-only Docker builds from reaching GCP deployments is using automated deployment guards that validate platform compatibility and prevent non-GCP deployment workflows.