К основному содержанию
скилл Claude Code Gemini CLI CX Codex официальный · Google

google-cloud-storage-bucket-architect — скилл для Claude Code

Скилл проектирует и создаёт бакеты Cloud Storage в Google Cloud с учётом задачи и настроек безопасности проекта. Подойдёт, когда нужно добавить объектное хранилище в приложение, сервис или пайплайн.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add google/skills --skill google-cloud-storage-bucket-architect -a claude-code
Открыть на GitHub

Что делает google-cloud-storage-bucket-architect

Перед созданием скилл выясняет назначение бакета: например, для резервных копий, медиафайлов, аналитики или AI/ML. Он проверяет настройки безопасности проекта и подбирает расположение, класс хранения, доступ на уровне бакета, предотвращение публичного доступа, мягкое удаление и правила жизненного цикла.

Результат можно получить в виде команды gcloud, запроса к JSON/REST API, конфигурации Terraform или примера для SDK на C++, Java, Python или Go. Перед изменением ресурсов скилл требует показать точную конфигурацию или команду и получить явное подтверждение; сам он команды создания не выполняет.

Скилл предназначен только для создания новых бакетов. Для загрузки и скачивания файлов, изменения доступа или настройки уже существующего бакета он не подходит. Устанавливайте его, если хотите сначала спланировать новый бакет, а затем получить конфигурацию для выбранного способа создания.

Какие задачи решает

  • спроектировать бакет для резервных копий
  • подобрать класс хранения и расположение для набора данных
  • проверить настройки безопасности проекта перед созданием бакета
  • подготовить команду gcloud для нового бакета
  • сгенерировать Terraform-конфигурацию для Cloud Storage

Примеры запросов агенту

  • Создай бакет Cloud Storage для резервных копий и покажи план настроек.
  • Подготовь Terraform для бакета под медиафайлы с предотвращением публичного доступа.
  • Проверь настройки проекта и предложи конфигурацию нового бакета для аналитики.

Как установить google-cloud-storage-bucket-architect

1Через Skills CLI (Vercel)

npx skills add google/skills --skill google-cloud-storage-bucket-architect -a claude-code

2Вручную: положить файлы

~/.claude/skills/google-cloud-storage-bucket-architect/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/google-cloud-storage-bucket-architect/

Из того же набора172

Весь набор →
bigquery-basics официальный google Управляет ресурсами BigQuery и запускает SQL-запросы. Подходит для создания датасетов, таблиц, представлений и базовой загрузки данных. Claude Code Gemini CLI CX Codex 17 678установок cloud-run-basics официальный google Скилл помогает управлять Cloud Run: разворачивать HTTP-сервисы, запускать задачи по событию или расписанию и вести фоновые worker pools. Claude Code Gemini CLI CX Codex 17 532установок gemini-api официальный google Подключает Gemini API из Agent Platform Google Cloud к агенту. Даёт доступ к моделям Gemini, мультимодальному вводу, вызову функций и кешированию контекста. Claude Code Gemini CLI CX Codex 17 116установок google-cloud-recipe-auth официальный Google LLC Скилл объясняет аутентификацию и права доступа в Google Cloud. Пригодится для настройки IAM, ADC и сервисных аккаунтов в разработке и продакшене. Claude Code Gemini CLI CX Codex 15 450установок google-cloud-recipe-onboarding официальный Google LLC Проводит разработчика через старт в Google Cloud: проверяет CLI, вход, проект и биллинг. Подходит для первого личного проекта. Claude Code Gemini CLI CX Codex 15 390установок cloud-sql-basics официальный google Скилл помогает создавать и объяснять Cloud SQL для MySQL, PostgreSQL и SQL Server. Пригодится при настройке базы в Google Cloud. Claude Code Gemini CLI CX Codex 14 679установок google-cloud-waf-security официальный google Скилл оценивает безопасность рабочих нагрузок в Google Cloud и предлагает меры для IAM, сетевой защиты, данных и операционной безопасности. Claude Code Gemini CLI CX Codex 14 620установок google-cloud-waf-cost-optimization официальный google Проверяет расходы Google Cloud по pillar Cost Optimization из Well-Architected Framework. Нужен для поиска простаивающих ресурсов, выбора скидок и правки размеров сервисов. Claude Code Gemini CLI CX Codex 14 266установок

Похожие

istio-traffic-management Seth Hobson Скилл помогает настроить маршрутизацию, балансировку и отказоустойчивость в Istio. Пригодится для canary-релизов и проверки поведения сервисов. Claude Code CX Codex Cursor 10 300установок linkerd-patterns Seth Hobson Помогает настроить Linkerd в Kubernetes: от mTLS и политик трафика до canary-развёртываний и связи между кластерами. Пригодится, когда вы внедряете service mesh или разбираетесь с его конфигурацией. Claude Code CX Codex Cursor 10 200установок terraform-skill Anton Babenko Диагностирует риски и управляет кодом Terraform и OpenTofu в ассистенте. Помогает при рефакторинге модулей, миграциях стейта и настройке безопасного пайплайна. Claude Code CX Codex Cursor +1 7 400установок wizard Matt Pocock Скилл создаёт интерактивный bash-скрипт для ручных шагов: настройки сервисов, секретов CI и разовых миграций. Claude Code 553 369установок hyperframes-cli heygen-com Управляет проектами HyperFrames через терминал: собирает таймлайн, проверяет контраст кадров, запускает предпросмотр и рендерит видео локально или в облаке. Claude Code CX Codex Cursor +1 1 200 000установок setup-pre-commit Matt Pocock Скилл настраивает pre-commit для JavaScript-репозитория: Husky запускает форматирование, проверку типов и тесты перед коммитом. Claude Code 489 289установок using-git-worktrees Jesse Vincent Готовит изолированное рабочее дерево перед доработкой или выполнением плана. Проверяет текущий репозиторий, выбирает нативные средства платформы либо Git. Claude Code CX Codex 217 153установок finishing-a-development-branch Jesse Vincent Скилл проверяет тесты и помогает выбрать, как завершить работу в ветке: слить её, открыть Pull Request или оставить как есть. Claude Code CX Codex 214 439установок

Вопросы о google-cloud-storage-bucket-architect

Как установить google-cloud-storage-bucket-architect в Claude Code?

Выполните npx skills add google/skills --skill google-cloud-storage-bucket-architect -a claude-code.

Что делает google-cloud-storage-bucket-architect?

Скилл проверяет настройки безопасности проекта и проектирует конфигурацию нового бакета Cloud Storage под конкретную задачу. Он может подготовить вариант для gcloud, JSON/REST API, Terraform или SDK.

Можно ли использовать его для настройки существующего бакета?

Нет. Скилл рассчитан на создание новых бакетов; для изменения доступа или конфигурации существующего бакета он не предназначен.

Исходный текст

SKILL.md · Apache-2.0
---
name: google-cloud-storage-bucket-architect
description: >-
  Creates Cloud Storage on Google Cloud (also known colloquially as 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: "1.0.2"
  publisher: google
  tags: "gcs, storage, architect, bucket-creation"
  category: Storage
  support_tier: primary
---

# Cloud Storage Bucket Architect

You are a Use-Case Driven Cloud Storage Bucket Architect agent on Google Cloud.
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 commands, including bucket
> 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 you execute or output
    (including project checks, bucket name checks, creation/update commands, and
    any auxiliary `gcloud` commands in recommendations) with the metrics
    environment variables. The only exception is `gcloud auth
    print-access-token` when used inside a REST `curl` command, because REST
    already records attribution through the `User-Agent` header. Set the prefix
    inline on each `gcloud` 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:

    ```bash
    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 that the plan
    looks good before proceeding, unless the user has already explicitly
    requested the final commands or code snippet in their initial prompt.

3.  **Proceed to Phase 3 (Output Based on User Intent)**: Generate the final
    output by following `references/phase_output.md` but DO NOT execute any
    commands.

    As described in the reference, the preferred output format should be clear
    (gcloud, API (REST), Terraform, or SDK).

    -   For `gcloud` and `REST`, offer to execute the creation and only proceed
        after explicit confirmation.
    -   For `Terraform` and `SDK`, display the snippet for the user to
        integrate.

## Error Handling

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.
Creation fails with 409 or "already exists" error | The bucket name became taken after the check, or the check was not verified | Propose a different name, re-run the availability check, and regenerate the output.

## References

### Phases

*   [Preflight / Project Checks](references/phase_project_checks.md):
    Project-level security verification and default configuration checks.
*   [Draft Bucket Create Plan](references/phase_draft_plan.md): Workload
    assessment, secure defaults, and architecture plan generation.
*   [Output Based on User Intent](references/phase_output.md): Final
    command/code generation and execution confirmation workflows.

### Bucket Use Cases

*   [Sensitive Data & Compliance](references/sensitive_data.md): Architecture
    for regulated data (PII, HIPAA, finance) with CMEK, restricted CSEK, and IP
    filtering.
*   [Media Hosting & CDN](references/media_hosting.md): Public asset hosting and
    CDN origin configuration.
*   [Direct UGC Ingestion](references/ugc_ingestion.md): Signed URLs, direct
    client uploads, CORS, and malware protection.
*   [Static Website Hosting](references/static_website.md): Website hosting,
    custom domain mapping, and index/error page handling.
*   [Long-Term Archive & Compliance](references/archiving_compliance.md):
    Regulatory retention, WORM (Object Retention), Bucket Lock, and Autoclass.
*   [Backup & Disaster Recovery](references/backup_dr.md): Immutable backups,
    dual-region turbo replication, and soft delete protection.
*   [Log Storage](references/log_storage.md): High-volume log ingestion,
    retention management, and SIEM integration.
*   [AI & Machine Learning](references/storage_for_ai.md): High-throughput
    training/inference, Cloud Storage FUSE, Rapid Cache, and zonal buckets
    (Rapid Bucket / Rapid storage class).

### Provisioning & Output Formats

*   [gcloud CLI Reference](references/gcloud.md): `gcloud storage` commands for
    creating and configuring buckets.
*   [REST API Reference](references/rest.md): JSON API payloads and cURL
    commands for bucket creation.
*   [Terraform Reference](references/terraform.md): `google_storage_bucket`
    Terraform resource definitions and best practices.
*   [SDK Client Libraries Overview](references/sdk.md): SDK client
    initialization, feature support matrix, and unexposed feature handling.

### SDK Language-Specific Guides

*   [C++ SDK Guide](references/sdk_cpp.md): Code examples and patterns for the
    Cloud Storage C++ client library.
*   [Go SDK Guide](references/sdk_go.md): Code examples and patterns for the
    Cloud Storage Go client library.
*   [Java SDK Guide](references/sdk_java.md): Code examples and patterns for the
    Cloud Storage Java client library.
*   [Python SDK Guide](references/sdk_python.md): Code examples and patterns for
    the Cloud Storage Python client library.

© google · Apache-2.0 · google/skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой