Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)22k · #10329

google-cloud-storage-bucket-architect

Skill này làm gì

Skill này lên kế hoạch một bucket Cloud Storage dựa trên những gì bạn định lưu, như bản sao lưu, media hoặc log. Skill dành cho những người muốn một thiết lập hợp lý và an toàn thay vì cài đặt mặc định.

Khi nào nên dùng

  • ✓Khi bạn muốn tạo một bucket Cloud Storage mới cho một mục đích cụ thể, như sao lưu, media hoặc phân tích.
  • ✓Khi bạn cần trợ giúp chọn vị trí, lớp lưu trữ hoặc cài đặt truy cập cho một bucket.
  • ✓Khi bạn muốn cấu hình bucket được kiểm tra theo thiết lập bảo mật của dự án trước khi tạo.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/google/skills/blob/main/skills/cloud/google-cloud-storage-bucket-architect/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi cần một bucket để sao lưu cơ sở dữ liệu hằng tháng và giữ một năm. Thiết kế nó và cho tôi xem lệnh trước.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill hỏi về khối lượng công việc của bạn, kiểm tra thiết lập bảo mật của dự án, và soạn một cấu hình bucket với vị trí, lớp lưu trữ và quy tắc vòng đời. Skill hiển thị lệnh chính xác và chờ bạn xác nhận trước khi chạy bất cứ thứ gì.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Skill có tạo bucket mà không hỏi không?

Không. Skill hiển thị cấu hình hoặc lệnh chính xác và cần bạn xác nhận rõ ràng trước.

Skill mặc định dùng thiết lập bảo mật nào?

Skill ưu tiên quyền truy cập đồng nhất ở mức bucket, khóa mã hóa được giới hạn và soft delete, trừ khi bạn yêu cầu khác.

Skill có bao gồm bucket lưu trữ lâu dài hoặc log không?

Có. Skill bao gồm nhiều loại khối lượng công việc, gồm lưu trữ, sao lưu, log và dữ liệu AI hoặc ML.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
22k
Vị trí xếp hạng
#10329
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự