google/google-cloud-solution-rag-enterprise-search-gke-sqldb
>- Discovers requirements, and generates architectural, design, and deployment guidance for a retrieval-augmented generation (RAG)-capable enterprise search system in Google Cloud. Use when users need a vector-enabled SQL database as the store and index for the embedding vectors, an open model and open-source inferencing framework, and Kubernetes containers to host all the application components. DON'T use this skill for fully-managed RAG, or SaaS search services, or when a non-SQL vector database is required.
npx skills add https://github.com/google/skills --skill google-cloud-solution-rag-enterprise-search-gke-sqldb
This skill provides a workflow to design and implement a secure, low-latency,
and high-accuracy RAG-enabled conversational search solution for private
enterprise content by using an AlloyDB database, Cloud Storage, and a Google
Kubernetes Engine (GKE) cluster to host all the application components,
including an open model and an open-source inference framework.
The workflow consists of the following phases:
the cloud workload or use case that the user needs assistance for.
in Phase 1 to generate a detailed solution architecture for the cloud
workload or use case.
solution, generate validation instructions and scripts, and run the
validation.
content and present the solution.
Important notes about the workflow:
you ask the user clarifying questions, DON'T recommend, propose, or outline
any architectural designs, technical decompositions, cloud services, or
component mappings.
specific phase or task in this workflow is already completed or approved
(e.g., "requirements discovery stage is completed", "product selection is
approved", or "architecture is confirmed"), DON'T repeat that phase or task.
Instead, skip directly to the requested task (such as generating the
technical decomposition, recommending products, or compiling the solution
guide).
In this phase, you must gather detailed requirements related to the RAG workload
that the user wants to design and deploy in Google Cloud.
Complete the following steps strictly in the specified order:
including data types (structured, unstructured), ingestion frequency, and
conversational features (e.g., multi-turn chat, citation requirements).
endpoints, data residency, and requirements for compliance.
zone or regional outages, disaster recovery goals for RTO and RPO.
generating embedding vectors, and latency requirements for model
responses and data retrieval queries (including vector and hybrid
search).
on-premises.
architecture of the current deployment.
or tools (e.g., identity providers, external sources, CRM/ERP database
integrations).
are any ambiguities or contradictions.
If you identify any ambiguities or contradictions in the requirements that
the user has provided, then
do the following for each ambiguity or contradiction that you identify:
"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, technical decomposition, or Google Cloud
product recommendations.
or ambiguities from Step 5.
Generate a technical decomposition of the components of the workload. The
technical decomposition must break down the solution into logical
components, as follows:
data, clean it, and chunk it.
chunks to embedding vectors.
database for storing embedding vectors.
views, and aggregations for data retrieval. Analyzing whether any
indexing, partitioning, or other performance techniques can be applied
on the original data schema.
and routing to a retrieval workflow, which might include conversion of
the request to an embedding for semantic search, extracting and applying
filters for filtered search or supplying all to the hybrid search.
context.
model.
performing procedural checks according to defined criteria.
Critical: You MUST stop execution immediately, call no more tools (such
as file editors, searches, or code tools), and wait for the user to respond
with their feedback or approval in the chat. Do NOT compile the
architecture, recommend products, construct maps, or write any files/drafts
for Phase 2 until the user's explicit approval is received.
decomposition.
decomposition.
10. Only after the user has explicitly approved the technical decomposition,
proceed to Phase 2.
Important: You are strictly prohibited from recommending product
choices, generating the architecture diagram, or drafting design
recommendations until the technical decomposition is approved.
For each task in this phase, to ensure that the generated content aligns with
the latest and official Google Cloud guidance, you must ground the generated
content by using the following resources:
https://developers.google.com/knowledge/mcp.md.txt
developerknowledge:search_documentsdeveloperknowledge:get_documentsdeveloperknowledge:answer_queryhttps://docs.cloud.google.com/architecture/rag-capable-gen-ai-app-using-gke.md.txt
references/product-selection-recommendations.mdreferences/design-recommendations.mdreferences/related-documentation.mdFor each item in the generated guidance, you must include citations to the
relevant official Google Cloud documentation pages.
of the user's workload.
Important: The Google Cloud products and features that you recommend
MUST be consistent with the guidance in
references/product-selection-recommendations.md.
the recommendations.
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 technical composition that you generated.
The following is an example of the data flows and request flows that the
architecture diagram should show:
-> Cloud Storage FUSE -> GKE Ray Worker (Chunking) --> Embedding
generation using GemmaEmbedding -> AlloyDB.
Orchestration) -> Database Query (semantic or hybrid search on the
vector store) -> Retrieve matching data -> Augment prompt -> Gemma vLLM
endpoint API -> Output (Responsible AI filtering) -> User client.
architecture diagram.
relationships between the components, and the task flow or data flow.
to approve the description.
each component in the architecture based on the workload's requirements.
Important: The design recommendations and best practices that you
generate MUST be consistent with the guidance in the resources that are
listed in the following files:
references/related-documentation.mdreferences/design-recommendations.mdneeds any changes.
recommendations meet their requirements.
coordinator and worker nodes) and the LangChain frontend deployment.
Important: The deployment guidance that you generate MUST be consistent
with the guidance in the resources that are listed in the following
resources:
references/related-documentation.mdreferences/design-recommendations.mdhttps://github.com/google/skills/tree/main/skills/cloud
user needs any changes.
guidance meets their requirements.
steps that are necessary to verify that the generated solution meets the
workload's requirements. The following are examples of validation steps:
terraform plan to previewthe infrastructure resources that will be provisioned.
routing, and service endpoints.
populated in the AlloyDB database. This can involve querying the
database to check index status and content.
ingestion to vector storage, ensuring documents are chunked, embedded,
and stored correctly.
queries against the AlloyDB vector store to ensure performance meets
requirements.
relevance of retrieved documents or chunks.
enforcement.
curl or gcloud to performthe steps in the approved validation plan.
deployment issues.
single Markdown file named solution-architecture-guide.md, based on the
template in assets/output-template.md.
workspace.
workspace.
references/product-selection-recommendations.mdreferences/design-recommendations.mdreferences/related-documentation.mdTake google/google-cloud-solution-rag-enterprise-search-gke-sqldb from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.