google-cloud-solution-hybrid-search-alloydb
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
Install / Use
npx skills add google/skills --skill google-cloud-solution-hybrid-search-alloydbInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Our assessment of google-cloud-solution-hybrid-search-alloydb
google-cloud-solution-hybrid-search-alloydb scores 91/100 on our quality scale, 75th of 259 Operations skills we index (top 29%).
Its SKILL.md is 16 KB long, well organised into 13 sections and no code examples: a thorough specification that gives an agent plenty to work with.
With 20,340 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 2 days ago, so google-cloud-solution-hybrid-search-alloydb is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-09-26. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
google-cloud-solution-hybrid-search-alloydb compared with similar skills
All 4 of these similar skills score higher than google-cloud-solution-hybrid-search-alloydb; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| google-cloud-solution-hybrid-search-alloydb (this skill)by google | 91 | 20.3k | 2d ago | SKILL.md |
| claude-memby thedotmack | 100 | 94.7k | 1d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 3d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 3d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 4d ago | SKILL.md |
Frequently asked questions
- How do I install google-cloud-solution-hybrid-search-alloydb?
- Run
npx skills add google/skills --skill google-cloud-solution-hybrid-search-alloydb. The install tabs above show the steps for each supported agent. - Which AI agents does google-cloud-solution-hybrid-search-alloydb work with?
- It is written for Zed, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is google-cloud-solution-hybrid-search-alloydb safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is google-cloud-solution-hybrid-search-alloydb still maintained?
- The repository was last updated 2 days ago, so google-cloud-solution-hybrid-search-alloydb is actively maintained.
Skill content
View source on GitHubname: google-cloud-solution-hybrid-search-alloydb metadata: version: "1.0.0" category: MultiProductSolutions description: >- 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 required.
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.
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 describe the functional requirements of the workload, including catalog dataset details (e.g., e-commerce apparel, retail products, patent database), search modalities (natural language text, visual search, attribute filters), metadata attributes for faceted filtering (e.g.,
category,sub_category,color,gender,price), and quality checks (reranking, LLM validation). -
[ ] Step 2: You MUST explicitly ask the user to describe ALL of the following six categories of non-functional requirements. You need this information because each category represents a critical architectural pillar, and neglecting any of them can result in a solution that is insecure, unreliable, or inefficient (do NOT omit any of them):
- Security, privacy, and compliance: E.g., private VPC endpoints, Private Service Connect, Direct VPC Egress, and access control.
- Reliability: E.g., high availability, failover, disaster recovery goals (RTO/RPO), regional vs multi-region AlloyDB topology.
- Cost: E.g., budget constraints for compute, database instances, and Gemini Enterprise Agent Platform API calls.
- Operational excellence: E.g., monitoring, logging, dashboards, and automated deployment.
- Performance: E.g., target P95 query latency (e.g., < 100ms), vector search recall target (e.g., > 95%), catalog item scale, and QPS expectations.
- Sustainability: E.g., carbon footprint, low-carbon region selection.
-
[ ] Step 3: Ask the user whether the workload currently runs on other cloud providers or on-premises.
- If the user's answer is "yes", then ask the user to describe the architecture of the current deployment.
- If the user's answer is "no", then proceed to the next step.
-
[ ] Step 4: Ask the user to describe dependencies, if any, on other workloads, products, or tools (e.g., existing inventory databases, ERP systems, application runtime languages like Java or Python).
-
[ ] Step 5: Review the input that the user has provided so far, and check whether there are any ambiguities, conflicts, or contradictions in the functional requirements, non-functional requirements, and dependencies. You MUST compare all requirements against each other to identify any conflicts.
If you identify any ambiguities, conflicts, or contradictions in the requirements that the user has provided, you MUST do the following for each ambiguity, conflict, or contradiction:
- [ ] Identify exactly where each contradiction lies and explain to the user why the requirements are incompatible and cannot be simultaneously satisfied. Do NOT treat fundamental contradictions as design choice questions (e.g., asking how to implement or configure a conflicting requirement).
- [ ] Ask the user to clarify their trade-off preferences to resolve the contradiction.
- [ ] If the user delegates the choice to you (e.g., the user replies with "do what you think is best" or "you decide"), then provide a clear suggestion to resolve the ambiguity or contradiction, explain your reasoning, and ask the user to approve your suggestion.
Critical: Until all the ambiguities and contradictions that you identify are resolved according to the preceding guidance, you must NOT recommend or generate any architecture design or Google Cloud product recommendations.
-
[ ] Step 6: Summarize the functional and non-functional requirements provided by the user into a consolidated requirements summary.
-
[ ] Step 7: Present the generated requirements summary to the user and obtain approval (the user MUST explicitly say "yes" or "I approve") before proceeding to Phase 2.
Important: STOP, DON'T proceed to generate architecture diagram, architecture description or product recommendations until you have confirmed the generated requirements summary and resolved all ambiguities and contradictions in this phase.
Phase 2: Solution architecture
Task 2.1: Identify Google Cloud products and features required for the workload.
-
[ ] Step 1: Recommend products and features that are appropriate for each component of the user's workload, prioritizing Google Cloud products.
Important: The Google Cloud products and features that you recommend MUST be consistent with the guidance in Product Mapping.
-
[ ] Step 4: Present the generated product recommendations to the user and obtain approval (the user MUST explicitly say "yes" or "I approve") before proceeding to Task 2.2.
Important: STOP, DON'T proceed to generate architecture diagram until you have confirmed the generated product recommendations with the user.
Task 2.2: Generate an architecture diagram and description
-
[ ] Step 1: Generate an architecture diagram in the Mermaid format: https://github.com/mermaid-js/mermaid.
The diagram must show the data flows and request flows across the components of the architecture, based on the gathered requirements and product recommendations. The diagram MUST explicitly show both the ingestion pipeline and serving pipeline.
The following is an example of the data flows and request flows that the architecture diagram should show:
- Ingestion pipeline: Catalog Data -> AlloyDB Table
(
apparels) -> B-Tree Indexes on Facets -> Text embedding (text-embedding-005) -> ScaNN Vector Index. - Serving pipeline: User Browser -> Cloud Run Web App -> MCP
Toolbox for Databases -> AlloyDB Single-Query Hybrid Search (ScaNN Vector
Search + SQL WHERE Filters) ->
ai.rankReranker -> Gemini Proai.generateQuality Validation -> Validated Results -> User Browser.
- Ingestion pipeline: Catalog Data -> AlloyDB Table
(
-
[ ] Step 2: Generate a description that explains the purpose of each component, the relationships between the components, and the task flow or data flow.
-
[ ] Step 3: Present the generated architecture diagram and description to the user and obtain approval (the user MUST explicitly say "yes" or "I approve") before proceeding to Task 2.3.
Important: STOP, DON'T proceed to generate design recommendations until you have confirmed the generated architecture description with the user.
Task 2.3: Generate design recommendations.
-
[ ] Step 1: Generate design recommendations and best practices to optimally configure each component in the architecture based on the workload requirements.
Important:
- When you generate design recommendations, consider the following:
- Functional requirements that were gathered in Phase 1.
- Non-functional requirements that were gathered in Phase 1.
- Align the generated design recommendations with the recommendations in Design Recommendations.
- To generate guidance for the non-fun
- When you generate design recommendations, consider the following:
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
94.7kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
