Перейти к содержанию
Skillpedia
API и серверы (бэкенд)22k · #10235

cloud-databases-onboarding

Что он делает

Скилл помогает выбрать базу данных Google Cloud и подготовить стартовую настройку. Он нужен тем, кто не уверен, какой сервис баз данных подходит их проекту.

Когда использовать

  • ✓Когда вы спрашиваете, какой сервис баз данных Google Cloud использовать для проекта.
  • ✓Когда вы хотите выбрать базу, описав свои данные, масштаб и потребности.
  • ✓Когда вы готовы создать новую базу данных в Google Cloud и вам нужен стартовый код настройки.

Ссылка на скилл

https://github.com/google/skills/blob/main/skills/cloud/cloud-databases-onboarding/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/google/skills/blob/main/skills/cloud/cloud-databases-onboarding/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Я создаю приложение с учётными записями пользователей и заказами. Какую базу данных 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.

  1. Load Discovery Instructions (JiT): Read the complete contents of references/onboarding_prompts.md using view_file.
  2. Execute Discovery: Follow the detailed Phase 1 instructions in onboarding_prompts.md to 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.

  1. 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 consulting references/recommendation_matrix.txt directly if the tool is unavailable), and formulating a single recommendation.
  2. 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.

  1. Analyze the Workspace: Scan the user's workspace/open files/related directories with database resources scripts.

  2. 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.

  3. 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 @date with the current date/timestamp).
    • Add a custom default tag like resource_generated_by = "cloud db onboarding skill" under the default_tags block or as a resource label/tag.
    • gcloud CLI Generation: When drafting gcloud CLI commands or shell scripts, you MUST follow the instructions in the gcloud skil
Частые вопросы

Он создаёт базу за меня?

Он готовит код настройки для вашей проверки, поэтому решаете, что запускать, вы.

Он управляет существующими базами?

Нет. Он нужен для выбора и запуска новых баз, а не для общего обслуживания.

О чём он спрашивает в первую очередь?

Сначала о ваших требованиях, а подробности уточняет по ходу разговора.

Подробности

Оригинальное описание автора

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
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы