cloud-databases-onboarding
できること
どのGoogle Cloudのデータベースを使うべきか選び、開始用のセットアップの準備を手伝います。プロジェクトに合うデータベースがわからない人向けです。
使う場面
- ✓プロジェクトにどのGoogle Cloudのデータベースを使うべきか尋ねたいとき。
- ✓データ、規模、必要性を説明して、データベースを選びたいとき。
- ✓Google Cloudで新しいデータベースを作る準備ができ、開始用のセットアップのコードがほしいとき。
スキルのリンク
https://github.com/google/skills/blob/main/skills/cloud/cloud-databases-onboarding/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ユーザーアカウントと注文のあるアプリを作っています。どのGoogle Cloudのデータベースを使うべきですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、データと必要性について尋ね、判断ガイドを使ってデータベースのサービスを勧めます。そのうえで、実行の前にあなたが確認できるセットアップのコードを下書きします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Google Cloud Database Onboarding Skill
This skill provides domain instructions, decision matrices, and Infrastructure-as-Code workflows to guide users through discovering their exact database requirements, selecting an optimal Google Cloud database service, and drafting starter resource provisioning code for user review.
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:cloud-databases-onboarding)"
and append agent-skills/1.0 (skill:cloud-databases-onboarding) to User-Agent headers.
Validation & Progressive Disclosure
A validation script is provided to verify the skill's reference files and formatting:
python3 scripts/database_onboarding_skill.py --verify
- Reading / Progressive Disclosure: When interacting with a user during a conversation, load reference files progressively. Follow the Just-in-Time (JiT) loading instructions outlined in the phases below.
Workflow & Just-in-Time (JiT) Instructions
This workflow operates in three distinct sequential phases. Evaluate the active conversation history to determine the current phase and follow the corresponding instructions:
Phase 1: Requirement Discovery & Information Gathering
When a user asks "What database should I use?" or requires guidance on Google
Cloud database selection, you must initiate the Discovery phase.
- Load Discovery Instructions (JiT): Read the complete contents of
references/onboarding_prompts.mdusingview_file. - Execute Discovery: Follow the detailed Phase 1 instructions in
onboarding_prompts.mdto gather core requirements (data model, workload, scale, and migration context) using user-friendly phrasing and enforcing constraints (such as the 90% confidence rule) before proposing any recommendation.
Phase 2: Recommendation Analysis & Matrix Consultation
Once you have gathered sufficient explicit discovery context, you must determine the optimal Google Cloud database recommendation.
- Consult Matrix & Formulate Recommendation (JiT): Follow the Phase 2
instructions in
references/onboarding_prompts.md. This involves distilling requirements, calling the database selection tool (or consultingreferences/recommendation_matrix.txtdirectly if the tool is unavailable), and formulating a single recommendation. - Deliver Recommendation: Deliver the recommendation to the user, mapping
destination codes to plain English, explaining the reasoning, and offering
to help with provisioning as detailed in
onboarding_prompts.md.
Phase 3: Implementation & Provisioning (Plan-Validate-Execute Pattern)
When the user accepts the recommendation and requests to provision or modify
cloud resources, follow the Phase 3 instructions in
references/onboarding_prompts.md using a strict Plan-Validate-Execute pattern.
Limit your actions to creating and validating draft artifacts for user review.
Analyze the Workspace: Scan the user's workspace/open files/related directories with database resources scripts.
Obtain User Confirmation: If the target infrastructure files are not clear, ask the user explicitly to confirm the file paths or target directory before modifying anything.
Draft Infrastructure Plan (Plan): Create or edit the necessary Terraform configuration files or any other relevant scripts necessary to provision the resources. When creating or editing Terraform files or any other database resource provisioning script, you MUST:
- Add a stamped header comment at the top of every generated Terraform
file/ shell script or any other resource provisioning script. (e.g.,
# Generated with cloud onboarding skills selector @date, replacing@datewith the current date/timestamp). - Add a custom default tag like
resource_generated_by = "cloud db onboarding skill"under thedefault_tagsblock or as a resource label/tag. - gcloud CLI Generation: When drafting
gcloudCLI commands or shell scripts, you MUST follow the instructions in thegcloudskil
- Add a stamped header comment at the top of every generated Terraform
file/ shell script or any other resource provisioning script. (e.g.,
よくある質問
データベースを作成しますか?
確認用のセットアップのコードを下書きするので、何を実行するかはあなたが決めます。
既存のデータベースを管理しますか?
いいえ。新しいデータベースを選んで始めるためのもので、一般の保守は扱いません。
最初に何を尋ねますか?
まず要件を尋ね、会話が進むにつれてより詳しい情報を集めます。
詳細
作者による元の説明
Guides users through discovering their database requirements, recommends a Google Cloud database based on a recommendation matrix, and assists in database creation. Use when a user asks 'What database service should I use?', 'Help me pick a database', or when a user wants to create a new database on Google Cloud. Don't use for general Google Cloud maintenance, managing existing databases, or database migrations.
repo: google/skills
人気
- GitHubのスター
- 22k
- ランキング
- #10235
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
finding-google-skills
22kセットアップ作業に合うGoogleの公式ガイドを探すようエージェントを支援します。ホスティング、データベース、ストレージ、サインイン、AIモデルの提供などが対象です。
gcloud
22kエージェントが、Google CloudのgcloudコマンドについてWeb検索に頼らず、正確な構文を確かめてから書いたり確認したりできるよう支援します。
google-cloud-recipe-auth
22kエージェントが、Google Cloudのアイデンティティとアクセス(人やサービスがどうサインインし、どの権限を得るか)について、手順を案内できるよう支援します。
google-cloud-recipe-onboarding
22k新しい開発者が、プロジェクトの選択、請求の設定、最初のリソースのデプロイなど、Google Cloudの最初の手順を進められるよう案内します。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。