本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)22k · #10329

google-cloud-storage-bucket-architect

できること

このスキルは、バックアップ、メディア、ログなど、何を保存するかに合わせて Cloud Storage のバケットを計画します。初期設定のままではなく、適切で安全な構成を求める人向けです。

使う場面

  • ✓バックアップ、メディア、分析など特定の用途のために、新しい Cloud Storage バケットを作成したいとき。
  • ✓バケットの場所、ストレージクラス、アクセス設定を選ぶ手助けが必要なとき。
  • ✓作成する前に、バケットの設定をプロジェクトのセキュリティ設定と照らし合わせて確認したいとき。

スキルのリンク

https://github.com/google/skills/blob/main/skills/cloud/google-cloud-storage-bucket-architect/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/google/skills/blob/main/skills/cloud/google-cloud-storage-bucket-architect/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“毎月のデータベースバックアップを 1 年間保管するバケットが必要です。設計して、実行前にコマンドを見せてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

ワークロードについて質問し、プロジェクトのセキュリティ設定を確認して、場所、ストレージクラス、ライフサイクルルールを含むバケットの設定案を作ります。正確なコマンドを示し、何かを実行する前にあなたの確認を待ちます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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

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:

    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
よくある質問

確認せずにバケットを作成しますか?

いいえ。正確な設定またはコマンドを示し、まずあなたの明確な確認を求めます。

初期設定でどのセキュリティ設定を使いますか?

特に指定がなければ、均一なバケットレベルのアクセス、制限された暗号化キー、ソフト削除を優先します。

アーカイブやログ用のバケットにも対応しますか?

はい。アーカイブ、バックアップ、ログ、AI や ML のデータを含む多くのワークロードに対応します。

詳細

作者による元の説明

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 data

repo: google/skills

人気

GitHubのスター
22k
ランキング
#10329
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル