google-cloud-onboarding
它能做什么
这个技能从头到尾带领初学者了解 Google Cloud,包括账户、计费、项目、命令行工具,以及首次部署的资源。
适用场景
- ✓你是 Google Cloud 新手,想要分步骤入门的时候。
- ✓你需要帮助设置计费或在 Google Cloud 上创建第一个项目的时候。
- ✓你想安装 Google Cloud 命令行工具并部署一个小型应用的时候。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/google-cloud-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 "happy path" for a singleton developer to get started with Google Cloud. It covers everything from initial account setup to deploying your first cloud resource.
Overview
For an individual developer, onboarding to Google Cloud involves establishing a personal identity, setting up a billing method, and creating a workspace (Project) where resources can be managed. Google Cloud offers a Free Tier and Free Trial for multiple products. Learn more here.
Clarifying Questions
Before proceeding, the agent should clarify the user's current status:
- Do you already have a Google Account (Gmail or Google Workspace)?
- Are you looking to set up a personal account for learning/experimentation, or are you part of an organization with existing infrastructure?
- Are you an IT admin within a larger enterprise, setting up Google Cloud for your organization?
- What is the first type of resource or application you are interested in building (e.g., a website, a data pipeline, a virtual machine)?
- Do you prefer to use the command line (CLI), an IDE (e.g. VSCode, Antigravity), or do you prefer using the web-based Google Cloud console?
Prerequisites
- A Google Account (e.g., @gmail.com).
- A valid payment method (credit card or bank account) for billing verification (even for the free trial).
Steps
1. Sign Up and Activate Free Credit
- Go to the Google Cloud Console.
- Sign in with your Google Account. This will "Activate" your $300 free credit.
2. Create Your First Google Cloud Project
Google Cloud resources are organized into Projects.
- In the Google Cloud console, click the project picker dropdown at the top of the page.
- Click New Project.
- Enter a Project Name (e.g.,
my-first-gcp-project). - Note the generated Project ID; you will use this for CLI and API interactions.
- Click Create.
3. Set Up Billing
Ensure your project is linked to your Free Trial Cloud Billing account.
- Go to the Billing section in the console.
- Confirm that your new project is listed under "Projects linked to this billing account."
4. Install and Initialize the Google Cloud CLI
The Google Cloud CLI
(gcloud CLI) is the primary tool for interacting with Google Cloud from your
local machine.
- Download and install the Google Cloud CLI.
- Open your terminal and run:
gcloud init - Follow the prompts to log in and select your project.
5. Enable Necessary APIs
Most services require their specific
API to be enabled before
use. For example, to use Cloud
Run, run:
gcloud services enable run.googleapis.com
Note that some Google Cloud APIs, including Cloud Logging, are enabled by default.
6. Deploy Your First Resource
Choose a simple entry point based on your needs:
- Cloud Run (Recommended for Apps): Deploy a containerized "Hello World" app.
- Compute Engine: Create a
small Linux VM (e.g.,
e2-microwhich is part of the Always Free tier in certain regions). - Cloud Storage: Create a bucket to store files.
Example (Cloud Run):
gcloud run deploy hello-world \
--image=gcr.io/cloudrun/hello \ --platform=managed \ --region=us-central1 \
--allow-unauthenticated --quiet
This command will output a public URL, that you can reach in a web browser. Congrats - you just deployed your
常见问题
我需要先有 Google 账户吗?
需要。这个技能会询问你是否已有 Google 账户,如果没有,会帮你设置一个。
它涵盖免费套餐吗?
涵盖。它提到了免费套餐和免费试用两种选项。
我可以使用命令行或网页控制台吗?
可以。这个技能会询问你的偏好,并调整步骤以匹配。
详情
作者的原始描述
Guides developers through their first steps on Google Cloud, covering account creation, billing setup, project management, CLI installation, and deploying a first resource.
热度
- GitHub 星标
- 33k
- 排名
- #8767
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。