darknecrocities/skillbuilder/gcp
Claude Code and agent skill by darknecrocities/skillbuilder
- community
Checking that the SKILL.md file is still in the repository.
Google Cloud Platform architecture, Cloud Run serverless deployment, Pub/Sub, Secret Manager, Cloud SQL, and IAM least-privilege security.
Install
npx vskill@latest install darknecrocities/skillbuilder/gcpSKILL.md
The same SKILL.md was published earlier as darknecrocities/skillbuilder/gcp.
Google Cloud Platform Architecture & Serverless Delivery (/gcp)
Philosophy: Zero static credentials. Containerized serverless by default. Workload Identity over service account keys. Non-root containers. Graceful SIGTERM drains. Exponential backoff on all cloud APIs.
This skill establishes production engineering standards for deploying scalable, cost-efficient, and secure services onto Google Cloud Platform (GCP).
1. Quick Navigation & Progressive Disclosure
| Resource Type | Document | Description | |
|---|---|---|---|
| Reference | references/cloud-run-production-standards.md | Non-root containers, concurrency tuning, liveness/startup probes. | |
| Reference | references/gcp-iam-and-secret-manager.md | Secret Manager mounting, least-privilege service accounts, Workload Identity. | |
| Utility | scripts/verify_gcp_hygiene.py | Audits Dockerfiles, Terraform configs, and scripts for GCP credential leaks and root users. |
2. The Core GCP Architecture Gates
- Gate 1: Container Hardening: Cloud Run workloads must execute in multi-stage, scratch/distroless or alpine base containers running as non-root (
USER 10001). - Gate 2: Ingress & Health Check Probes: Cloud Run services must expose
/healthzor/statusstartup and liveness probes. - Gate 3: Secret & Identity Hygiene: Prohibit static service account JSON keys. Enforce Workload Identity Federation and retrieve sensitive runtime secrets from GCP Secret Manager.
- Gate 4: Graceful Drainage: Handle
SIGTERMsignals cleanly with a 10-second drain window before Cloud Run instance scale-down. - Gate 5: Managed Telemetry: Emit structured JSON logs with
logging.googleapis.com/tracecorrelation fields for Cloud Logging. - Gate 6: Deduplicated Cloud SQL / GCS Backups & Deletion Protection:
- Enforce
deletion_protection = trueon Cloud SQL / Spanner instances and soft-delete retention on GCS buckets. - Maintain a single SHA-256 content-hashed backup entry in
.backups/backup_manifest.json(manage_deduplicated_backup.py) before schema migrations so concurrent agents never trigger duplicate export spam. - Always halt and warn the user first before setting
deletion_protection = false,force_destroy = true, or deleting GCS buckets/Cloud SQL databases.
2. Cloud Run & Serverless Deployment Standards
2.1 Multi-Stage Cloud Run Dockerfile
2.2 Graceful SIGTERM Shutdown in Node.js / Express
3. Secret Manager & Workload Identity
Never commit GCP service account keys (credentials.json). In Cloud Run or GKE, Application Default Credentials (ADC) seamlessly authenticate against GCP services:
4. GCP Architecture Verification CLI
Audit your repository for GCP misconfigurations, exposed service account keys, and missing Cloud Run health probes:
Audited Rules:
GCP-EXPOSED-SERVICE-ACCOUNT-KEY: Detects committed service account private keys ("type": "service_account").GCP-MISSING-HEALTH-CHECK: Warns if service entrypoints lack/healthzor liveness probes.GCP-CONTAINER-ROOT-USER: Flags Dockerfiles missing non-rootUSERdirectives.GCP-HARDCODED-PROJECT-ID: Detects hardcoded GCP project numbers or IDs in code.GCP-DISABLED-DELETION-PROTECTION: Flagsdeletion_protection = falseorforce_destroy = trueon Cloud SQL/GCS resources without explicit user confirmation (@user-approved-deletion).
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gcp/SKILL.md
Popularity
- Repository stars
- 13
- Repository forks
- 2
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/darknecrocities/skillbuilder/gcp)