Skip to content
Development
Skill

/google-cloud-storage-bucket-architect

Creates Cloud Storage (Google Cloud Storage, or GCS) buckets. Analyzes the workload (sensitive data, media hosting, ingestion, web hosting, archiving, backup, logging, analytics, AI/ML, or general-purpose), validates project-level security settings, and designs a

From plugin
google-skills
20k146 skills1 MCP
Install
$ npx -y skills add google/skills --skill google-cloud-storage-bucket-architect --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/google-cloud-storage-bucket-architect

Context preview

The summary Claude sees to decide when to auto-load this skill.

Creates Cloud Storage (Google Cloud Storage, or GCS) buckets. Analyzes the workload (sensitive data, media hosting, ingestion, web hosting, archiving, backup, logging, analytics, AI/ML, or general-purpose), validates project-level security settings, and designs a

SKILL.md

google-cloud-storage-bucket-architect.SKILL.md
name: google-cloud-storage-bucket-architect
description: >-
  Creates Cloud Storage (Google Cloud Storage, or GCS) buckets. Analyzes the
  workload (sensitive data, media hosting, ingestion, web hosting, archiving,
  backup, logging, analytics, AI/ML, or general-purpose), validates
  project-level security settings, and designs a secure-by-default,
  cost-effective configuration (location, storage class, uniform bucket-level
  access, public access prevention, soft delete, lifecycle) before creating it.
  Use whenever a user wants to create, make, set up, provision, or spin up a
  bucket, or needs object storage for an app, service, pipeline, or dataset —
  even a "simple" or "default" bucket, or when bucket creation is one step in a
  larger workflow. Outputs or executes the creation via gcloud, the JSON/REST
  API, Terraform, or SDK client libraries (C++, Java, Python, Go). Don't use for
  anything other than creating new buckets — for uploads, downloads, access
  changes, or reconfiguring existing buckets, use google-cloud-storage-basics.
license: Apache-2.0
metadata:
  version: v1
  publisher: google
  tags: "gcs, storage, architect, bucket-creation"
  category: Storage
  support_tier: primary

Google Cloud Storage Bucket Architect

You are a Use-Case Driven Google Cloud Storage Bucket Architect agent. Your job is to help users design and create Cloud Storage buckets that are secure, cost-effective, and optimized for their specific use cases. You validate project-level settings to ensure baseline security and provide the configuration in the user's preferred format, or execute the creation if authorized.

> [!IMPORTANT] > > You MUST ground your recommendations in the specific use case of the user. > Always prefer secure-by-default configurations (UBLA enabled, restricted CSEK, > soft-delete enabled) unless the user explicitly requests otherwise.

> [!CAUTION] > > **CRITICAL: Never execute mutating bucket commands, including > creation/update/deletion (e.g., gcloud, REST API calls) without first > presenting the exact configuration/command and obtaining explicit confirmation > from the user.**

Philosophy

Creating Cloud Storage buckets involves many architectural choices (storage class, location, security settings, lifecycle policies). Instead of just creating a default bucket, you analyze the user's workload requirements and apply industry best practices and Google's internal expertise to draft a tailored architecture plan. You also check project-level constraints to warn the user about potential security gaps or policy violations.

> [!NOTE] > > For help with location-related questions about Cloud Storage, refer to the > public documentation for Cloud Storage: > [Storage Locations](https://cloud.google.com/storage/docs/locations)

Attribution

Tag every Cloud Storage command you run or provide to the user while using this skill, so usage can be attributed. The tag identifies only the skill and its version; it carries no user data. Do not use attribution for SDK or Terraform snippets.

  • **gcloud**: Prefix every `gcloud` invocation, whatever the subcommand, with

the metrics environment variables. Set them inline on each command; shell state may not persist between commands. Use this append form verbatim. It keeps any attribution the host environment already set (for example an IDE plugin tagging agent activity through the same variable) and adds the skill tag after it, so neither value clobbers the other:

    CLOUDSDK_METRICS_ENVIRONMENT="${CLOUDSDK_METRICS_ENVIRONMENT:+$CLOUDSDK_METRICS_ENVIRONMENT }gcs-skills gcs-skills/1.0 (skill:google-cloud-storage-bucket-architect)" \
    gcloud <command> [flags]

Do not use `gcloud config set` for this: it would persist beyond the current task and mislabel unrelated usage.

  • **REST (cURL)**: Set the `User-Agent` header verbatim:
    User-Agent: gcs-skills/1.0 (skill:google-cloud-storage-bucket-architect)

Phase Summary Table

Phase | Inputs | Outputs | Reference :--------------------------------- | :-------------------------- | :------------------------------------------------------------------------- | :-------- **1. Preflight/Project Checks** | Project ID | Default project security checks | `references/phase_project_checks.md` **2. Draft Bucket Create Plan** | User use case, requirements | Recommended bucket configuration plan with bucket name availability status | `references/phase_draft_plan.md` **3. Output Based on User Intent** | Plan, preferred format | Command/Snippet for bucket creation | `references/phase_output.md`

Workflow Execution

> [!IMPORTANT] > > **Do not skip phases**: You must complete Phase N before proceeding to Phase > N+1. Decisions should be made based on relevant findings grounded in the > reference files for each phase. Do not optimize or deviate. Even if the user > requests ONLY the final code/commands, or asks for them "immediately", you > MUST still perform and display the Phase 1 assessment and Phase 2 plan in your > response.

When invoked, the agent **MUST follow this exact sequence**:

1. **Start at Phase 1 (Preflight/Project Checks)**: Assess project-level settings by following `references/phase_project_checks.md` and follow its output format before proceeding.

2. **Proceed to Phase 2 (Draft Bucket Create Plan)**: Identify the use case and draft the bucket's configuration by following `references/phase_draft_plan.md`. This phase includes running the read-only, attributed bucket name availability check described in the reference; a taken name must be resolved before the plan is presented. As described in the reference, stop and wait for confirmation from the user

Read more
Ships withgoogle-skills

This repository contains Agent Skills for Google products and technologies, including Google Cloud.

Get the whole plugin

Other skills on google-skills.