google-cloud-solution-hybrid-search-alloydb
What it does
This skill designs search systems that mix meaning-based search with exact keyword and filter search, using AlloyDB. It is for teams building product or content search who want accurate, fast results.
When to use it
- ✓When you want search that combines vector search with SQL filters on AlloyDB.
- ✓When you need faceted search or semantic reranking added to a database-backed search.
- ✓When you want a serverless app design for hybrid search across a database and an app.
Skill link
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-hybrid-search-alloydb/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Design a product search on AlloyDB where shoppers can search by meaning, filter by price, and get reranked results.”
5 new skills a week. 1 minute to read.
How it works
It moves through four phases: requirements, architecture, validation and packaging. It keeps requirements and design separate, so suggestions come only after the needs are clear.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Which database does it target?
AlloyDB for PostgreSQL hybrid search.
Does it include AI validation?
Yes. It covers in-database AI validation and recall evaluation.
Does it cover serverless hosting?
Yes. It covers serverless hosting of the search app.
Details
Original description by the author
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
Popularity
- GitHub stars
- 22k
- Ranking position
- #10324
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
finding-google-skills
22kHelps your agent find the right Google guides for a setup task, such as hosting, databases, storage, sign-in or AI model serving.
gcloud
22kHelps your agent write and check Google Cloud gcloud commands, looking up exact syntax before it runs anything so it does not guess flags.
google-cloud-recipe-auth
22kGuides your agent through Google Cloud identity and access, including how people and services sign in and which permissions they get.
google-cloud-recipe-onboarding
22kWalks a new developer through first steps on Google Cloud, including choosing a project, linking billing, and deploying a first resource.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.