google-cloud-recipe-foundation-builder
Skill này làm gì
Skill này thiết lập điểm xuất phát an toàn cho một tổ chức Google Cloud mới. Skill dành cho các công ty muốn có quy tắc bảo mật, thư mục và log chuẩn trước khi xây dựng.
Khi nào nên dùng
- ✓Khi bạn đang thiết lập một tổ chức Google Cloud mới và muốn có một nền tảng bảo mật.
- ✓Khi bạn muốn có chính sách tổ chức nền, cấu trúc thư mục và log tập trung sẵn sàng.
- ✓Khi bạn cần một landing zone kiểu doanh nghiệp cho thiết lập Google Cloud mới.
Liên kết skill
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-recipe-foundation-builder/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thiết lập một nền tảng an toàn cho tổ chức Google Cloud mới của tôi, với các thư mục cho production và phát triển cùng log tập trung.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill áp dụng một bộ chính sách tổ chức tiêu chuẩn, tạo cấu trúc thư mục và dự án, gắn thanh toán, rồi thiết lập log và giám sát tập trung. Skill hiện đang trong giai đoạn preview.
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.
Google Cloud Recipe: Foundation Builder
[!WARNING] This skill is currently in a preview state. It will deploy a secure foundation, but does not have all advanced features. Users who want more options should visit Google Cloud Setup.
This skill guides the setup of a secure, enterprise-grade Google Cloud landing zone foundation. It establishes baseline security controls, organizes the initial resource hierarchy, and configures centralized audit logging and cross-environment monitoring.
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read Usage Attribution. For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:google-cloud-recipe-foundation-builder)"
and append agent-skills/1.0 (skill:google-cloud-recipe-foundation-builder) to User-Agent headers.
Overview
The recipe provisions the following core components at the organization root:
- Security Guardrails: Enforces 17 baseline Google Cloud Organization Policies to secure the environment (13 Boolean, 4 List constraints).
- Resource Hierarchy: Establishes 4 folders (
Common,Production,Non-Production,Development) and provisions corresponding projects sequentially with globally unique ID prefixes (logging-,prod-,non-prod-,dev-followed by a shared suffix). - Billing & API Enablement: Links all projects to your billing account and activates critical logging/monitoring services.
- Centralized Logging & Monitoring: Deploys a global, centralized log bucket with 30-day retention, configures an organization-wide audit log sink, and sets up a cross-environment metrics scope.
Clarifying Questions
Before executing this recipe, the agent must gather the following details:
- Organization ID: Run
gcloud organizations listto retrieve the available organizations, present them to the user, and ask them to select the target Organization ID. - Billing Account ID: Run
gcloud billing accounts list --filter=open=trueto retrieve only the active (open) billing accounts, present them to the user, and ask them to select the active Billing Account ID. - Project ID Suffix: Ask if the user has a preferred prefix or target
suffix for Project IDs (default uses prefix + a shared random 8-character
string, e.g.,
prod-ab12cd34). - Log Bucket Region: Ask for the target region for resources if they want
to override the default
globallog bucket location.
Prerequisites
Ensure the following prerequisites are met before beginning the deployment:
- GCP Identity: You must have a Google Cloud Organization resource set up.
- Administrative IAM Roles: The identity executing these commands must
hold the required administrative permissions. If any step fails with a
Permission Deniederror, the agent will attempt to self-remediate by granting the corresponding recommended role as detailed in Phase 2: Error Recovery & Lazy Role Remediation Strategy. - Tools: The
gcloudCLI must be installed, authorized with the above identity, and configured for use.
Steps to Complete the Recipe
Phase 1: Pre-flight Confirmation
Identify the target organization and obtain explicit user approval before making changes.
Identify and Discover Organization: Verify the target organization. If only the display name is known, list organizations to find the ID. Then, retrieve the organization metadata to dynamically calculate the Directory Customer ID and Domain Name:
# List to find ID if needed gcloud organizations list # Describe the organization to retrieve metadata gcloud organizations describe [ORGANIZATION_ID]Calculate values:
- Domain Name (
[ORG_NAME]/[YOUR_DOMAIN]): Use thedisplayNamevalue from the output (e.g.,my-business.com). - Customer ID (
[DIRECTORY_CUSTOMER_ID]): Use the
- Domain Name (
Câu hỏi thường gặp
Tính năng này đã hoàn thiện chưa?
Chưa. Skill đang ở giai đoạn preview và chưa bao gồm mọi tùy chọn nâng cao.
Skill thiết lập những gì?
17 chính sách tổ chức nền, bốn thư mục tên là Common, Production, Non-Production và Development, cùng log tập trung.
Tôi tìm thêm tùy chọn ở đâu?
Trang tài liệu Google Cloud Setup cung cấp thêm tùy chọn.
Chi tiết
Mô tả gốc của tác giả
Deploys a baseline landing zone foundation for a Google Cloud Organization, establishing security guardrails using Organization Policies, resource hierarchy folders and projects, billing association, and centralized logging and monitoring. Deploys Google Cloud's recommended security controls and architecture. Use when setting up a new Google Cloud Organization or establishing a secure, enterprise-grade landing zone foundation. Don't use for individual project onboarding (use google-cloud-recipe-onboarding or product-specific skills instead).
repo: google/skills
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10313
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
finding-google-skills
22kGiúp agent của bạn tìm hướng dẫn Google phù hợp cho việc thiết lập, như hosting, cơ sở dữ liệu, lưu trữ, đăng nhập hoặc phục vụ mô hình AI.
gcloud
22kGiúp agent của bạn viết và kiểm tra các lệnh gcloud của Google Cloud, tra cứu cú pháp chính xác trước khi chạy bất cứ thứ gì để không đoán các flag.
google-cloud-recipe-auth
22kHướng dẫn agent của bạn qua quản lý danh tính và quyền truy cập của Google Cloud, gồm cách con người và dịch vụ đăng nhập và những quyền họ nhận được.
google-cloud-recipe-onboarding
22kHướng dẫn một lập trình viên mới qua các bước đầu tiên trên Google Cloud, gồm chọn dự án, liên kết thanh toán và triển khai tài nguyên đầu tiên.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.