agentleFS
sagullapallisagullapalli/claude-code-setup/.claude/skills/deployment/SKILL.md

deployment

Skill4 starsChanged 10 months agoMITView on GitHub

GCP deployment patterns for Cloud Run, Cloud Build, Terraform, OAuth. Use when deploying services, setting up CI/CD, or troubleshooting deployment issues.

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use debugging, api-design and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • BlockSkill

    debugging

    Debugging guidelines and best practices

    Also in 5 projects that use this

  • MicrosoftSkill

    api-design

    Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.

    Also in 4 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read validation.md - Complete pre-deployment checklist

    line 34
  2. Very specific:

    Wait 90 seconds after terraform apply before using new IAM bindings

    line 36
  3. Distinctive:

    Check troubleshooting.md for common issues

    line 37
  4. Distinctive:

    Single Source of Truth: No duplication between files (use cross-references)

    line 56

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deployment Skills

Last Updated: 2025-12-11

This folder contains focused deployment skills for Google Cloud Platform, refactored from the original gcp-deployment.md (1,945 lines) into 6 specialized files.


Skills Overview

SkillLinesDescriptionWhen to Use
cloud-run.md597Cloud Run deployment patternsDeploying services, traffic management, secrets, IAM
cloud-build.md566Cloud Build CI/CD patternsSetting up CI/CD, cloudbuild.yaml, triggers
terraform.md616Infrastructure as Code patternsManaging infrastructure, state, lifecycle blocks
oauth-deployment.md400OAuth-specific deploymentOAuth client setup, redirect URIs, secret management
validation.md637Pre/post deployment validationValidating Docker builds, IAM permissions, health checks
troubleshooting.md542Common deployment errorsDebugging IAM issues, Docker failures, Cloud Build errors

Total: 3,358 lines (was 2,610 lines across 2 files)


Quick Reference

For DevOps Engineers (Devo)

Before any deployment:

  1. Read validation.md - Complete pre-deployment checklist
  2. Validate Docker builds locally (15 min investment saves 1.5 hours)
  3. Wait 90 seconds after terraform apply before using new IAM bindings
  4. Check troubleshooting.md for common issues

Auto-Discovery Keywords (triggers skill loading):

  • Cloud Run: cloud run, gcloud run deploy, container deployment
  • Cloud Build: cloudbuild.yaml, CI/CD pipeline, build trigger
  • Terraform: terraform apply, infrastructure as code, tf state
  • OAuth: oauth deployment, redirect uri, client credentials
  • Validation: deployment validation, health check, pre-deployment
  • Troubleshooting: deployment error, IAM issue, docker failure

Design Philosophy

These skills follow the design philosophy from SKILLS_AND_AGENTS_GUIDE.md:

  1. Focused Skills: One skill = one domain (Cloud Run, Terraform, OAuth, etc.)
  2. Folder Structure: Related skills grouped in deployment/ folder (like google-adk-patterns/)
  3. Manageable Size: 300-600 lines per file (searchable, easy to navigate)
  4. Single Source of Truth: No duplication between files (use cross-references)
  5. Examples-Heavy: Good vs. bad patterns, real-world examples

Refactoring History

Date: 2025-12-11 Rationale: Original gcp-deployment.md grew to 1,945 lines, making it difficult to navigate and search. deployment-validation.md (665 lines) had duplicate content.

Changes:

  • Split into 6 focused files
  • Removed duplicates (IAM propagation, Docker troubleshooting)
  • Added cross-references between related skills
  • Updated .claude/config.json with new skill registrations
  • Updated .claude/agents/devops-engineer.md with new skill references

Result: Better organization, no content lost, easier to maintain.


Cross-References

Each skill file references related skills:

  • cloud-run.md → cloud-build.md, terraform.md, validation.md, troubleshooting.md
  • cloud-build.md → cloud-run.md, terraform.md, validation.md, troubleshooting.md
  • terraform.md → cloud-run.md, cloud-build.md, troubleshooting.md
  • oauth-deployment.md → cloud-run.md, terraform.md, troubleshooting.md
  • validation.md → cloud-build.md, cloud-run.md, terraform.md, troubleshooting.md
  • troubleshooting.md → validation.md, cloud-run.md, cloud-build.md, terraform.md, oauth-deployment.md

Remember: These skills are single sources of truth for GCP deployment patterns. Update them when technology changes or new patterns are discovered.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.