google-cloud-global-frontend-configuration
Skill này làm gì
Skill này giúp thiết lập cửa trước cho một ứng dụng web trên Google Cloud, gồm cân bằng tải, bộ nhớ đệm và quy tắc bảo mật web. Skill dành cho các đội muốn có một điểm vào toàn cầu nhanh và được bảo vệ.
Khi nào nên dùng
- ✓Khi bạn muốn thiết lập một Application Load Balancer bên ngoài toàn cầu cho ứng dụng của mình.
- ✓Khi bạn cần thêm bộ nhớ đệm Cloud CDN hoặc bảo vệ web Cloud Armor vào một load balancer.
- ✓Khi bạn muốn ánh xạ yêu cầu khối lượng công việc thành thiết kế load balancer qua các câu hỏi có hướng dẫn.
Liên kết skill
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-global-frontend-configuration/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 load balancer toàn cầu có bộ nhớ đệm CDN và bảo vệ Cloud Armor trước ứng dụng web của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đi qua sáu bước khám phá để ánh xạ nhu cầu của bạn thành một thiết kế đơn giản theo thực hành tốt nhất. Sau đó skill triển khai thiết lập bằng gcloud, hoặc tạo mã Terraform nếu không có gcloud.
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 global external Application Load Balancer Configuration Skill
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-global-frontend-configuration)"
and append
agent-skills/1.0 (skill:google-cloud-global-frontend-configuration)
to User-Agent headers.
Purpose & Agent Guidance
This skill enables the agent to guide users through a structured, 6-step discovery process to design and deploy Google Cloud global external Application Load Balancers (incorporating Cloud CDN, Cloud Armor, and Service Extensions).
Assumptions & Target Environments:
- This skill assumes it is called from environments (such as Gemini CLI, Antigravity, etc.) where the Google Cloud CLI (
gcloud) can be executed. - If
gcloudis not available or accessible, the skill cannot perform automated resource discovery or managed deployment actuation. In such environments, the skill will limit its support to guiding the design and generating Terraform HCL configurations.
When executing this skill, the agent must:
- Map user workload requirements to simplified, opinionated best-practice configurations using actual Google Cloud product names.
- Progressively disclose details, hiding advanced complexity unless the user explicitly asks for customization.
- Leverage the reference documents in the
references/directory to perform resource discovery, code generation, actuation, and drift detection.
The 6-Step Configuration Flow
Step 1: Basics
- Project Discovery: Consult
references/resource-discovery.mdto auto-detect the Google Cloud project ID. Present the discovered project ID to the user. - Ask the user for the foundational details of their load balancer:
- Name & Description: What should we call this load balancer?
- Protocol Selection: Do they need HTTP, HTTPS, or both?
- Certificate Management: Do they want to use Google-managed certificates or bring their own existing certificates?
Step 2: Origin Configuration
Help the user define their backend workloads through a strictly sequential, step-by-step loop. Do NOT ask everything at once. All steps are mandatory.
- Sub-step A - Origin Setup: Ask if they have a single origin or need multi-origin support. Wait for response.
- Sub-step B - Origin Types: Ask them to select the backend types from: Cloud Storage Buckets, Compute Engine Managed Instance Groups (MIGs), Google Kubernetes Engine (GKE) Clusters, Cloud Run Services, or External/Internet origins (IP/FQDN). Wait for response.
- Sub-step C - Origin Definition Loop: Execute the following loop sequentially for EACH origin type selected in Sub-step B. Wait for the user to answer for one origin before asking about the next:
- Resource Discovery: For Google Cloud-native origins (Cloud Storage, MIGs, GKE, Cloud Run), consult
references/resource-discovery.mdto fetch resources. Present the list starting with 1. Create New, 2. NA. For External/Internet origins, just ask for the FQDN/IP. - Workload Type (CRITICAL): Immediately after they define the resource, ask exactly what type of workload is being served:
- Static Images / Objects (Static content, images, videos, styling assets)
- Cacheable API (Read-only, public APIs where cached data is acceptable)
- Uncacheable API / Transactions (Transactional endpoints, login, checkout, account changes)
- Dynamic Web (SSR) (Dynamic pages, server-side rendered apps, custom dynamic sessions)
- Resource Discovery: For Google Cloud-native origins (Cloud Storage, MIGs, GKE, Cloud Run), consult
- Sub-step D - Routing Rules: Once ALL origins have been fully defined one by one, ask how traffic should be routed between them (Path-based, header-based, or query-param-based). Wait for response.
- Sub-step E - Logging: After routing is established, ask if they want to enable Cloud CDN logging, and if so, at what sampling rate (0-100%). Wait for response.
Step 3: Traffic Management & Extensibility
- Provide a brief summary of the origins and routing rules defined in Step 2.
- Ask if they need to enable Advanced Traffic Management settings (such as granular weighted load balancing, traffic mirroring, or **Cloud Load Balancing Service Extensio
Câu hỏi thường gặp
Điều gì xảy ra nếu không có gcloud?
Skill giới hạn ở hướng dẫn thiết kế và mã Terraform, không triển khai tự động.
Skill có thêm Cloud Armor không?
Có. Skill có thể đưa bảo vệ WAF của Cloud Armor vào thiết kế.
Có bao nhiêu bước khám phá?
Sáu bước.
Chi tiết
Mô tả gốc của tác giả
Guides agents through a 6-step discovery process to design and deploy Google Cloud global external Application Load Balancers with Cloud CDN, Cloud Armor, and Service Extensions, mapping workload requirements to best-practice configurations. Use when: - Designing, configuring, or deploying a Google Cloud global external Application Load Balancer, Cloud CDN, Cloud Armor WAF, or Service Extensions. - Discovering existing Google Cloud resources (Cloud Storage, MIGs, GKE, Cloud Run) to use as backends. - Generating production-grade Terraform HCL or gcloud CLI scripts for global external Applicatio
repo: google/skills
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10311
- 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ự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.