agentleFS
DauQuangThanhDauQuangThanh/hanoi-rainbow/skills/google-cloud/SKILL.md

google-cloud

Skill17 starsChanged 10 months agoMITView on GitHub

Provides comprehensive Google Cloud Platform (GCP) guidance including Compute Engine, Cloud Storage, Cloud SQL, BigQuery, GKE (Google Kubernetes Engine), Cloud Functions, Cloud Run, VPC networking, load balancing, IAM, Cloud Build, infrastructure as code (Terraform, Deployment Manager), security configuration, cost optimization, and multi-region deployment. Produces infrastructure code, deployment scripts, configuration guides, and architecture designs. Use when deploying to Google Cloud, designing GCP infrastructure, migrating to GCP, configuring GCE instances, setting up Cloud Storage, managing Cloud SQL databases, working with BigQuery, deploying to GKE, or when users mention "Google Cloud", "GCP", "Compute Engine", "Cloud Storage", "BigQuery", "GKE", "Cloud Run", "Cloud Functions", "VPC", "Cloud SQL", or "Google Cloud Platform".

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow least privilege: - Use IAM roles with minimal required permissions

    line 25
  2. Distinctive:

    Use managed services: - Prefer GKE Autopilot, Cloud SQL, Cloud Run over self-managed

    line 27
  3. Distinctive:

    Implement IaC: - Use Terraform or Deployment Manager for reproducible infrastructure

    line 28
  4. Distinctive:

    Design for HA: - Use regional resources and multi-zone deployments

    line 30
  5. Distinctive:

    Optimize costs: - Use committed use discounts, autoscaling, and appropriate resource sizing

    line 32
  6. Distinctive:

    Firestore: Document database, real-time sync, mobile/web apps

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Google Cloud Platform (GCP)

Core Capabilities

Provides expert guidance for Google Cloud Platform across all major services:

  1. Compute Services - Compute Engine (VMs), Cloud Run, Cloud Functions, App Engine
  2. Container & Kubernetes - Google Kubernetes Engine (GKE), Artifact Registry, Cloud Build
  3. Storage Services - Cloud Storage (buckets), Persistent Disk, Filestore
  4. Database Services - Cloud SQL, Cloud Spanner, Firestore, Bigtable, Memorystore
  5. Data & Analytics - BigQuery, Dataflow, Dataproc, Pub/Sub, Composer
  6. Networking - VPC, Cloud Load Balancing, Cloud CDN, Cloud Armor, Cloud Interconnect
  7. Security & IAM - Identity and Access Management, Secret Manager, Cloud KMS, Security Command Center
  8. Infrastructure as Code - Terraform Google provider, Deployment Manager, Config Connector

Key Principles

General Best Practices

  • Follow least privilege - Use IAM roles with minimal required permissions
  • Enable monitoring - Configure Cloud Monitoring and Logging for all services
  • Use managed services - Prefer GKE Autopilot, Cloud SQL, Cloud Run over self-managed
  • Implement IaC - Use Terraform or Deployment Manager for reproducible infrastructure
  • Tag resources - Apply labels for cost allocation and organization
  • Design for HA - Use regional resources and multi-zone deployments
  • Secure by default - Enable encryption, use private IPs, configure VPC Service Controls
  • Optimize costs - Use committed use discounts, autoscaling, and appropriate resource sizing

Architecture Patterns

  • Multi-tier applications: VPC + Cloud Load Balancer + GKE/Cloud Run + Cloud SQL
  • Data pipelines: Pub/Sub → Dataflow → BigQuery with Cloud Storage staging
  • Serverless APIs: Cloud Run + Cloud SQL + Secret Manager + Cloud Armor
  • Hybrid connectivity: VPN or Cloud Interconnect + Shared VPC + Private Google Access

When to Use What

  • Compute Engine: Full VM control, Windows workloads, lift-and-shift migrations
  • GKE: Containerized applications, microservices, Kubernetes workloads
  • Cloud Run: Stateless HTTP services, event-driven processing, auto-scaling needs
  • Cloud Functions: Event handlers, webhooks, simple integrations
  • Cloud SQL: Relational databases with minimal management
  • Cloud Spanner: Global distributed SQL, strong consistency across regions
  • BigQuery: Data warehouse, analytics, large-scale SQL queries
  • Firestore: Document database, real-time sync, mobile/web apps

Detailed References

Load reference files based on specific needs:

  • Compute Services: See compute-services.md for:
    • Compute Engine machine types and selection guide
    • Managed instance groups and autoscaling
    • Custom images and startup scripts
    • Preemptible VMs and spot instances
  • Container Orchestration: See container-orchestration.md for:
    • GKE cluster setup and configuration
    • Autopilot vs Standard mode comparison
    • Node pool management and scaling
    • Workload identity and service accounts
    • GKE Ingress and Gateway API
  • Storage Solutions: See storage-solutions.md for:
    • Cloud Storage bucket configuration
    • Storage class selection and lifecycle policies
    • Persistent disk types and performance
    • Filestore for shared file systems
  • Database Services: See database-services.md for:
    • Cloud SQL instance configuration
    • Cloud Spanner for global databases
    • Firestore data modeling
    • Bigtable for large-scale NoSQL
    • Memorystore for Redis/Memcached
  • Data & Analytics: See data-analytics.md for:
    • BigQuery table design and optimization
    • Dataflow streaming and batch pipelines
    • Pub/Sub messaging patterns
    • Cloud Composer (Airflow) workflows
    • Data governance and security
  • Networking Architecture: See networking-architecture.md for:
    • VPC design patterns and subnet planning
    • Cloud Load Balancing configuration
    • Cloud CDN and Cloud Armor setup
    • VPN and Cloud Interconnect
    • Shared VPC and peering
  • Serverless Computing: See serverless-computing.md for:
    • Cloud Functions deployment and triggers
    • Cloud Run service configuration
    • App Engine standard and flexible
    • Event-driven architectures
    • Cold start optimization
  • Security & IAM: See security-iam.md for:
    • IAM roles and service accounts
    • Organization policies and constraints
    • VPC Service Controls
    • Secret Manager integration
    • Cloud KMS encryption
    • Security Command Center alerts
  • Infrastructure as Code: See infrastructure-as-code.md for:
    • Terraform Google provider patterns
    • Deployment Manager templates
    • Config Connector for GKE
    • CI/CD with Cloud Build
    • State management best practices
  • Migration to GCP: See migration-to-gcp.md for:
    • Migration planning and assessment
    • Migrate for Compute Engine (Velostrata)
    • Database migration service
    • Storage transfer service
    • Cutover strategies and validation
  • Monitoring & Logging: See monitoring-logging.md for:
    • Cloud Monitoring setup and metrics
    • Cloud Logging configuration
    • Log-based alerts and metrics
    • Cloud Trace for distributed tracing
    • Cloud Profiler for performance
    • Dashboards and SLO monitoring
  • CI/CD Pipeline: See cicd-pipeline.md for:
    • Cloud Build configuration
    • Artifact Registry for containers
    • Deployment to GKE, Cloud Run, App Engine
    • Binary Authorization for security
    • Integration with GitHub, GitLab
  • Cost Management: See cost-management.md for:
    • Billing reports and cost allocation
    • Budget alerts and quotas
    • Committed use discounts planning
    • Resource optimization strategies
    • Cost anomaly detection
  • Multi-Region Architecture: See multi-region-architecture.md for:
    • Global load balancing patterns
    • Multi-region database replication
    • Cross-region data transfer
    • Disaster recovery strategies
    • Regional failover setup
  • Hybrid & Multi-Cloud: See hybrid-multi-cloud.md for:
    • Anthos for hybrid Kubernetes
    • Cloud Interconnect and VPN
    • Multi-cloud networking patterns
    • Workload migration strategies
    • Identity federation
  • GCP CLI & Tools: See gcp-cli-tools.md for:
    • gcloud CLI installation and configuration
    • Common gcloud commands
    • Cloud Shell usage
    • gsutil for Cloud Storage
    • bq for BigQuery operations
    • kubectl for GKE management

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.