google-cloud-recipe-onboarding
它能做什么
它为新账户提供一条简单路径,直至第一次成功部署,并在做出改动之前先检查当前状态。适合刚接触 Google Cloud 的独立开发者,不适合大型公司的设置。
适用场景
- ✓当你刚接触 Google Cloud,想创建第一个项目时。
- ✓当你需要先关联计费账户,才能使用某项服务时。
- ✓当你想部署一个小型的第一个资源,并确认其可以运行时。
技能链接
https://github.com/google/skills/blob/main/plugins/cloud/google-cloud-developer/skills/google-cloud-recipe-onboarding/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我刚接触 Google Cloud。请一步步带我创建项目、添加计费,并部署我的第一个应用。”
每周 5 个新技能,1 分钟读完。
工作原理
它会检查你的设置和登录状态,让你选择项目,关联计费,并部署一个资源,每次只问你一个问题。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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:
- Check-Before-Mutate Audits: Always perform silent pre-execution state audits prior to proposing or executing any project or billing changes.
- Single-Question Policy: Ask the user for exactly one operational parameter or confirmation at a time during interactive execution.
- Non-Interactive Output: Append non-interactive overrides (
--quiet,--format="json") to all mutation commands to guarantee deterministic, machine-parseable outputs and prevent terminal hangs.- 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 rungcloud auth loginto 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.
Check if the
gcloudCLI binary is installed and accessible:which gcloudCheck if there is an active authenticated identity session:
gcloud auth list --format="json"If the pre-execution audit for
which gcloudreturns a valid path, proceed directly to Section 2: Authenticate and Route Session.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.
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 listis empty or active credentials are missing):- Guide them to create a Google Cloud accou
常见问题
这适用于公司的设置吗?
不适用。企业组织的设置需要另一套引导流程。
它会不经询问就更改计费吗?
它会先检查当前状态,并要求你确认每一项项目或计费的更改。
我可以使用已有的项目吗?
可以。选择项目本身就是其中一步,因此你可以选择现有项目。
详情
作者的原始描述
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
热度
- GitHub 星标
- 22k
- 排名
- #10180
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
finding-google-skills
22k帮你的智能体为某项设置任务找到合适的 Google 指南,例如托管、数据库、存储、登录或 AI 模型服务。
gcloud
22k帮你的智能体编写并检查 Google Cloud gcloud 命令,在运行任何内容之前查阅准确的语法,避免猜测参数。
google-cloud-recipe-auth
22k引导你的智能体了解 Google Cloud 的身份与访问管理,包括人员和服务如何登录,以及它们各自获得哪些权限。
retrieving-developer-knowledge
22k帮你的智能体查阅 Google 官方开发者文档,涵盖 Cloud、Android、Chrome、Firebase、Flutter 等,而不是依赖记忆作答。