google-cloud-solution-hybrid-search-alloydb
できること
このスキルは、意味による検索と、正確なキーワードやフィルターによる検索を組み合わせた検索システムを、AlloyDB を使って設計します。速く正確な結果を出す商品検索やコンテンツ検索を作るチーム向けです。
使う場面
- ✓AlloyDB で、ベクトル検索と SQL フィルターを組み合わせた検索を作りたいとき。
- ✓データベースを使った検索に、ファセット検索や意味に基づく再ランキングを追加したいとき。
- ✓データベースとアプリにまたがるハイブリッド検索のサーバーレス構成を設計したいとき。
スキルのリンク
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-hybrid-search-alloydb/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“買い物客が意味で検索でき、価格で絞り込み、再ランキングされた結果を得られる商品検索を AlloyDB 上で設計してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
要件、アーキテクチャ、検証、パッケージ化の 4 つのフェーズで進みます。要件と設計は分けて扱い、ニーズが明確になってから提案します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Dynamic Hybrid Search using AlloyDB
This skill provides a workflow to design and implement secure, low-latency, and high-accuracy hybrid search solutions combining structured dataset filtering, vector search indexing, faceted metadata filtering, semantic reranking, recall evaluation, in-database AI validation, database abstraction layers, and serverless application hosting.
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Overview of the workflow
The workflow consists of the following phases:
- Requirements discovery. Gather detailed requirements related to the cloud workload or use case that the user needs assistance for.
- Solution architecture. Use the requirements that were gathered in Phase 1 to generate a detailed solution architecture for the cloud workload or use case.
- Solution validation. Create a plan to validate the generated solution, generate validation instructions and scripts, and run the validation.
- Solution packaging and presentation. Consolidate the generated content and present the solution.
Important notes about the workflow:
- Strict phase separation: During Phase 1 (Requirements discovery), when you ask the user clarifying questions, DON'T recommend, propose, or outline any architectural designs, cloud services, or component mappings. This prevents premature architecture commitments or hallucinations before the full scope is understood.
- Halting for approval: For any step where you are instructed to "obtain approval before proceeding", you MUST stop executing, present the completed tasks to the user, and wait for their explicit approval. You MUST NOT proceed to execute any subsequent tasks or generate any further guidance in that response.
- Ground all generated content: For all tasks across all phases, you MUST
first look in the following resources:
Design Recommendations for the required guidance. If the guidance does not provide the required information, you MUST ground the generated content by using the following resources:
Google Developer Knowledge MCP server: https://developers.google.com/knowledge/mcp.md.txt
- Server: https://developerknowledge.googleapis.com/mcp
- Tools:
developerknowledge:search_documentsdeveloperknowledge:get_documentsdeveloperknowledge:answer_query
- Tools:
- Server: https://developerknowledge.googleapis.com/mcp
Relevant skills from https://github.com/google/skills
Official Google Cloud documentation in Related Guidance
Product Renaming & Terminology
When generating solution designs, architecture diagrams, and documentation, check the latest Google Cloud documentation for the most up-to-date product names. The table below provides examples of name mappings to be aware of. Note that underlying APIs, Terraform resources, and IAM roles may retain their legacy identifiers.
<table> <thead> <tr> <th>Legacy Name</th> <th>Updated Name</th> <th>Notes</th> </tr> </thead> <tbody> <tr> <td>Vertex AI</td> <td>Gemini Enterprise Agent Platform</td> <td>Gemini Enterprise Agent Platform can be shortened to Agent Platform after first instance</td> </tr> <tr> <td>Vertex AI Embedding</td> <td>Text embedding on Gemini Enterprise Agent Platform</td> <td>This refers to the text embedding models available on Gemini Enterprise Agent Platform</td> </tr> <tr> <td>Vertex AI Matching Engine</td> <td>Vector Search</td> <td></td> </tr> </tbody> </table>Phase 1: Requirements discovery
In this phase, you must gather detailed requirements related to the hybrid search workload that the user wants to design and deploy in Google Cloud.
Acknowledge provided requirements: If the user's prompt already contains some requirements (functional or non-functional, such as catalog size, search modalities, faceted attributes, or latency targets), you MUST explicitly acknowledge and restate all of these requirements in your response. Do NOT ask the user to describe or re-describe any requirements that they have already provided in the prompt.
Complete the following steps strictly in the specified order:
- Step 1: Ask the user to d
よくある質問
対象のデータベースはどれですか?
AlloyDB for PostgreSQL のハイブリッド検索です。
AI の検証も含まれますか?
はい。データベース内での AI の検証と、再現率の評価を含みます。
サーバーレスのホスティングにも対応しますか?
はい。検索アプリのサーバーレスホスティングに対応します。
詳細
作者による元の説明
Discovers requirements and generates architectural, design, and deployment guidance for dynamic hybrid search systems by combining semantic search and keyword search. Optimized for AlloyDB hybrid search use cases in Google Cloud. Use when users need vector search combined with structured SQL filtering, faceted attributes, semantic reranking, in-database AI validation, or serverless hosting across transactional relational databases, analytical data warehouses, or managed database engines. DON'T use this skill for simple keyword-only search, or when a standalone non-relational vector database is
repo: google/skills
人気
- GitHubのスター
- 22k
- ランキング
- #10324
- ライセンス
- 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の最初の手順を進められるよう案内します。
似ているスキル
discrawl
394k保存済みのローカルなDiscordメッセージのアーカイブを検索して要約し、その新しさを確認し、ダイレクトメッセージを読めるようエージェントを支援します。
clickhouse-io
280kエージェントがClickHouseデータベースのクエリとスキーマを最適化できるようにします。高性能な分析処理向けのベストプラクティスを適用します。分析クエリが遅すぎるときに使います。
scientific-db-pubmed-database
280kエージェントが生物医学分野の科学論文を検索するのに役立ちます。特定の医療情報が必要な研究に便利です。