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

google-cloud-recipe-onboarding

Skill này làm gì

Skill này cho một đường đi đơn giản từ tài khoản mới đến lần triển khai đầu tiên đang hoạt động, kiểm tra trạng thái hiện tại trước khi thay đổi. Dành cho lập trình viên đơn lẻ mới với Google Cloud, không dành cho thiết lập doanh nghiệp lớn.

Khi nào nên dùng

  • ✓Khi bạn mới với Google Cloud và muốn tạo dự án đầu tiên.
  • ✓Khi bạn cần liên kết một tài khoản thanh toán trước khi dùng một dịch vụ.
  • ✓Khi bạn muốn triển khai một tài nguyên nhỏ đầu tiên và xác nhận nó hoạt động.

Liên kết skill

https://github.com/google/skills/blob/main/plugins/cloud/google-cloud-developer/skills/google-cloud-recipe-onboarding/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/plugins/cloud/google-cloud-developer/skills/google-cloud-recipe-onboarding/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 mới dùng Google Cloud. Hướng dẫn tôi tạo dự án, thêm thanh toán và triển khai ứng dụng đầu tiên của tôi.”

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

Cách hoạt động

Skill kiểm tra thiết lập và đăng nhập của bạn, cho bạn chọn một dự án, liên kết thanh toán và triển khai một tài nguyên, và hỏi bạn một câu mỗi lần.

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.

Onboarding to Google Cloud

This skill provides a streamlined, non-interactive "happy path" for a singleton developer to get started with Google Cloud. It covers everything from environment verification and authentication to project selection, billing account linkage, and downstream safety chaining.

Attribution

For all gcloud CLI, REST API, and MCP attribution requirements when executing commands with this skill, follow the instructions in Usage Attribution.

[!IMPORTANT] For autonomous agents executing this skill:

  1. Check-Before-Mutate Audits: Always perform silent pre-execution state audits prior to proposing or executing any project or billing changes.
  2. Single-Question Policy: Ask the user for exactly one operational parameter or confirmation at a time during interactive execution.
  3. Non-Interactive Output: Append non-interactive overrides (--quiet, --format="json") to all mutation commands to guarantee deterministic, machine-parseable outputs and prevent terminal hangs.
  4. First Turn Interaction Rules (Trigger Turn): When the developer first triggers this skill with a general onboarding request (e.g. says "I want to get started with Google Cloud"):
    • Preamble Guidance: Proactively include a short orienting preamble guiding the developer to create a Google Cloud account (pointing to the console at https://console.cloud.google.com/) and run gcloud auth login to authorize their workstation, even if they appear to be already logged in.
    • First Turn Single-Question: Perform pre-flight audits silently, but do not present a complete parameters summary table or ask for final consent in the first turn. Instead, ask the developer exactly one initial operational question (e.g., "Would you like to reuse an existing active project, or create a brand new one?"). Note: If the developer's initial prompt explicitly states "I approve the onboarding configuration", "Let's proceed with onboarding", or requests a dry-run plan (e.g., "Show me the exact plan or dry-run commands"), bypass the general preamble and initial question, and proceed directly to the requested step.

Overview

For an individual developer, onboarding to Google Cloud involves verifying local terminal tools, establishing an authenticated session, selecting or instantiating a workspace (Project), and linking it to an active billing account. Google Cloud offers a Free Tier and a Free Trial with $300 in credits for first-time users. Learn more here.


Prerequisites

  • A personal Google Account (e.g., @gmail.com) or Google Workspace / Cloud Identity account.
  • A valid payment method (credit card or bank account) required for identity verification and to activate the $300 Free Trial credit introduced in the Overview.

Steps

Section 1: Verify Host Tooling Setup

Before soliciting input or proposing mutations, silently audit the host system's active tooling and environment status.

  1. Check if the gcloud CLI binary is installed and accessible:

    which gcloud
    
  2. Check if there is an active authenticated identity session:

    gcloud auth list --format="json"
    
  3. If the pre-execution audit for which gcloud returns a valid path, proceed directly to Section 2: Authenticate and Route Session.

  4. If the binary is missing, halt execution and direct the agent to install gcloud using the gcloud skill. Provide the official Google Cloud CLI Installation Guide to the developer for steps to set up authentication.


Section 2: Authenticate and Route Session

Authorize the gcloud CLI to access Google Cloud using the developer's Google Account, and verify that the account is appropriate for standalone developer onboarding.

  1. Execute Credentials Authentication:

    gcloud auth login
    

    [!IMPORTANT] New User / Unauthenticated Guidance: If the pre-execution state audits or command failures confirm that the developer is unauthenticated (e.g., gcloud auth list is empty or active credentials are missing):

    1. Guide them to create a Google Cloud accou
Câu hỏi thường gặp

Đây có dành cho thiết lập doanh nghiệp không?

Không. Thiết lập tổ chức doanh nghiệp cần một luồng hướng dẫn khác.

Nó có thay đổi thanh toán mà không hỏi không?

Nó kiểm tra trạng thái hiện tại trước và yêu cầu bạn xác nhận mỗi thay đổi dự án hoặc thanh toán.

Tôi có thể dùng một dự án đã có không?

Có. Chọn dự án là một trong các bước, nên bạn có thể chọn một dự án có sẵn.

Chi tiết

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

Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource. Use when a new developer wants to initialize their first Google Cloud project, configure billing, and verify deployment. Don't use for enterprise organization setup (use Google Cloud Setup guided flow for that instead). Don't use for complex multi-project architectures.

repo: google/skills

Độ phổ biến

Sao GitHub
22k
Vị trí xếp hạng
#10180
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ự