Cloud Databases Onboarding
GoogleOfficialPublished by Google
- Skill
- Workflow
- Cloud and DevOps
- Apache-2.0
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a guided, three-phase workflow to help users identify their database needs and provision resources on Google Cloud. It begins with a discovery phase to gather technical requirements, moves to an analysis phase to recommend the best-fit database service, and concludes with an implementation phase that uses a Plan-Validate-Execute pattern to generate infrastructure-as-code artifacts for user review.
What it does
- Guides users through a discovery process to define data models, workloads, and scale requirements.
- Recommends specific Google Cloud database services based on a structured decision matrix.
- Generates Terraform configuration files or gcloud CLI commands for resource provisioning.
- Applies mandatory metadata tags and headers to all generated infrastructure code.
- Validates infrastructure code syntax before presenting it for user review.
- Creates pull requests for validated infrastructure changes to facilitate human review.
When to use it
- When you need help choosing the right database service for a new project on Google Cloud.
- When you have defined your workload requirements and need to generate provisioning scripts.
- When you want to ensure your database infrastructure follows best practices for labeling and configuration.
- When you need to draft infrastructure-as-code for database resources for team review.
Advantages
- Ensures architectural alignment by enforcing a discovery phase before making recommendations.
- Promotes infrastructure-as-code best practices through a Plan-Validate-Execute workflow.
- Reduces configuration errors by validating generated code before it is finalized.
- Maintains consistency across deployments with standardized tagging and header requirements.
- Provides clear attribution for commands executed in the terminal.
Usage examples
- “What database service should I use for my new application?”
- The agent initiates the discovery phase, asking questions about your data model, workload, and scale to narrow down the best Google Cloud database option.
- “Help me pick a database for a high-throughput transactional system.”
- The agent analyzes your requirements against the recommendation matrix and suggests an appropriate Google Cloud service with a detailed explanation.
- “I've decided on Cloud Spanner. Can you help me create it?”
- The agent enters the implementation phase, drafting the necessary Terraform files or gcloud commands for your review, including required labels and headers.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/google/cloud-databases-onboarding/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip cloud-databases-onboarding.zip -d .agents/skills
Documentation by Google
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 --verifyReading / 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 thegcloudskill (../gcloud/SKILL.md). Specifically:Always use
gcloud betacommand group for database provisioning (e.g.,gcloud beta <group> <resource> create).Validate leaf-level syntax using
gcloud help <leaf_command>prior to proposing commands.Append explicit
--project=<PROJECT_ID>and explicit location flags (--region,--zone, or--location).Use
--dry-runor--validate-onlypreview flags where supported.Include custom label/tag flags (e.g.
--labels=resource_generated_by=cloud_db_onboarding_skill) on generatedgcloudprovisioning commands.Do NOT include
--quiet(-q): Provisioning commands are drafted for interactive human user review and execution, so do NOT include non-interactive--quietor-qflags.No Live Write Execution: The skill MUST ONLY draft provisioning commands or code for user review and MUST NOT execute mutating/write infrastructure operations directly.
Validate Infrastructure Code (Validate): Before finalizing, you must validate the drafted infrastructure code to verify syntax and configuration correctness. Why this matters: Validating Terraform code ensures that configuration blocks, IAM bindings, and instance sizing are syntax-error-free and strictly enforceable before code review.
Create Pull Request (Execute): Once validation succeeds with zero errors, automatically create a Pull request containing the validated Terraform/shell/scripts updates for user review. Leave live infrastructure changes (
terraform applyorgcloudcommands) to human review or automated CI/CD pipelines.
Supporting Resources & Documentation
gcloud CLI Skill
Files
- ATTRIBUTION.mdAdded by AutoGineer870 B
- LICENSELicence file added by AutoGineer11.1 KiB
- SKILL.md6.9 KiB
- references/attribution.md1.9 KiB
- references/onboarding_prompts.md12.1 KiB
- references/recommendation_matrix.txt43.5 KiB
- references/selection_prompts.md1.0 KiB
- scripts/database_onboarding_skill.pyScript6.4 KiB
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs Python
Security
What our scanner noticed· Low risk
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- Publisher
- Google (Official)
- Source
- google/skills · skills/cloud/cloud-databases-onboarding · commit 2194d3b
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Google.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download cloud-databases-onboarding.zip