Loading...
Loading...
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.
npx skill4agent add google/skills google-cloud-storage-bucket-architect[!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.
[!NOTE]For help with location-related questions about Cloud Storage, refer to the public documentation for Cloud Storage: Storage Locations
gcloudCLOUDSDK_METRICS_ENVIRONMENT="${CLOUDSDK_METRICS_ENVIRONMENT:+$CLOUDSDK_METRICS_ENVIRONMENT }gcs-skills gcs-skills/1.0 (skill:google-cloud-storage-bucket-architect)" \
gcloud <command> [flags]gcloud config setUser-AgentUser-Agent: gcs-skills/1.0 (skill:google-cloud-storage-bucket-architect)| Phase | Inputs | Outputs | Reference |
|---|---|---|---|
| 1. Preflight/Project Checks | Project ID | Default project security checks | |
| 2. Draft Bucket Create Plan | User use case, requirements | Recommended bucket configuration plan | |
| 3. Output Based on User Intent | Plan, preferred format | Command/Snippet for bucket creation | |
[!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.
references/phase_project_checks.mdreferences/phase_draft_plan.mdreferences/phase_output.mdgcloudRESTTerraformSDK| Problem | Cause | Fix |
|---|---|---|
| Execution failure during creation | Network issue, permission error during API call | Report the error details to the user and suggest manual execution with the generated command/snippet. |
gcloud storagegoogle_storage_bucket