Google Cloud Solution Agentic Analytics Spark Knowledge Catalog
GoogleOfficialPublished by Google
- Skill
- Workflow
- Cloud and DevOps
- Apache-2.0
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a comprehensive, multi-phase workflow to design and implement governed analytics solutions that span structured and unstructured data across multi-cloud environments. It guides users through requirements discovery, architectural design, validation, and documentation. The process focuses on integrating Knowledge Catalog for metadata governance and Managed Service for Apache Spark for data processing, while supporting agentic development environments like VS Code and Antigravity.
What it does
- Conducts requirements discovery for multi-cloud and hybrid data workloads.
- Generates technical decompositions and architecture diagrams for agentic analytics.
- Provides guidance on configuring Knowledge Catalog for metadata governance.
- Offers deployment strategies for Managed Service for Apache Spark with Lightning Engine.
- Creates validation plans and scripts to verify architectural designs.
- Consolidates project artifacts into a final solution architecture guide.
When to use it
- When designing analytics workflows that access distributed data across Google Cloud, AWS, and Azure.
- When establishing metadata governance using Knowledge Catalog aspect types.
- When grounding agentic IDEs using the Google Cloud Data Agent Kit.
- When you need a structured, step-by-step process to move from requirements to a validated cloud architecture.
Advantages
- Ensures architectural consistency through a standardized, multi-phase design process.
- Promotes secure, governed data access across heterogeneous cloud environments.
- Facilitates the integration of agentic development tools with cloud data services.
- Provides clear, phase-based milestones for stakeholder approval and validation.
Usage examples
- “I need to design an analytics solution for my distributed data across AWS S3 and Google Cloud.”
- The agent initiates Phase 1 of the workflow, asking for functional and non-functional requirements to begin the discovery process.
- “Our requirements discovery is finished. Can you help me design the architecture?”
- The agent confirms the status and proceeds to Phase 2, starting with the technical decomposition of the workload components.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/google/google-cloud-solution-agentic-analytics-spark-knowledge-catalog/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip google-cloud-solution-agentic-analytics-spark-knowledge-catalog.zip -d .agents/skills
Documentation by Google
Agentic analytics across cloud providers and data types
This skill provides a workflow to design and implement a governed, secure pipeline for agentic analytics solution across structured and unstructured data that's distributed across Google Cloud, on-premises systems, and other cloud providers.
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:
Phase 1: Requirements discovery. Gather detailed requirements related to the cloud workload or use case that the user needs assistance for.
Phase 2: Solution architecture. Use the requirements that were gathered in Phase 1 to generate a detailed solution architecture for the cloud workload or use case.
Phase 3: Solution validation. Create a plan to validate the generated solution, generate validation instructions and scripts, and run the validation.
Phase 4: Solution packing 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, technical decompositions, cloud services, or component mappings.
When you can skip certain phases: If the user's prompt indicates that a 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).
Phase 1: Requirements discovery and analysis
Request the user to describe the functional requirements (business processes, activities, and use cases) of their workload. Ask the user the following questions, one question at a time:
What are your primary inventory data sources? Are they unstructured (e.g., PDF flavor recipes, invoices) or structured (e.g., historical sales in Iceberg)?
Where are these sources hosted? Are they split across AWS S3, Azure Blob, Google Cloud Storage, or databases like AlloyDB?
How do you manage and federate metadata across your data sources within Google Cloud and in external locations (such as other cloud providers)?
What are your analytical and computational requirements to join, clean, and run forecast models over large-scale distributed data?
What types of natural language prompts do your data scientists or operational agents expect to execute in their agentic IDE (VS Code or Antigravity IDE)?
Request the user to describe the non-functional requirements of their workload.
The following are examples of questions you can ask to gather non-functional requirements:
Security, privacy, and compliance: What data privacy rules, regulatory compliance (e.g., GDPR, HIPAA), or data governance requirements must the system adhere to?
Reliability: What are your uptime, high-availability, fault-tolerance, and disaster recovery objectives (RTO/RPO)?
Performance: What target query latencies and SLA expectations does your workload require?
Operations: What operational monitoring metrics do your data scientists and engineers need?
Cost & Sustainability: Do you have specific budget constraints and data egress/transfer cost requirements?
Ask the user whether the workload currently runs on other cloud providers or on-premises.
If the user answers "yes", then ask the user to describe the architecture of the current deployment.
If the user answer "no", then proceed to the next step.
Request the user to describe dependencies, if any, on other workloads, products, or tools. The following are examples of questions that you can ask to get information about the dependencies:
Do you have any upstream or downstream dependencies on external systems (e.g., identity providers, data curation platforms, CI/CD pipelines, or active data catalogs)?
Are there any requirements for your general data-engineering software delivery lifecycle (e.g., version control, testing, data quality assurance)? Provide the path to a directory or examples of these artifacts.
Review the input that the user has provided so far, and check whether there are any ambiguities or contradictions.
If you identify any ambiguities or contradictions in the requirements that the user has provided (e.g., zero-copy vs copying data to a repository), then do the following for each ambiguity or contradiction that you identify:
Describe the ambiguity or contradiction (e.g., explain why copying data contradicts the zero-copy requirement and also incurs data-transfer costs).
Ask the user how they wish to resolve the ambiguity or 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 (e.g., suggest prioritizing zero-copy remote queries), explain your reasoning (e.g., to eliminate multi-cloud fees and data duplication), 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.
Important: DON'T start this step if there are unresolved contradictions 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.
The decomposition MUST address role-based security and credentials within the relevant layers.
The decomposition MUST be organized under the following four layers, which represent a standard architectural pattern for agentic analytics solutions, flowing from user interaction through data context and governance to core data processing:
User-interaction layer (IDE): e.g., agentic development environment.
Grounding and trusted data: e.g., foundation model, MCP servers, and data warehouse in the cloud.
Metadata curation: e.g., metadata scanning.
Data processing and analytics: e.g., analytics workflows, Spark data processing, and external data stores.
Request the user to approve the generated technical decomposition.
If the user requests changes, then generate an updated technical decomposition.
Repeat steps 5 through 8 until the user approves the generated technical decomposition.
After the user approves the technical decomposition, proceed to Phase 2. Important: Don't proceed to the next phase until the user approves the generated technical decomposition of the workload.
Phase 2: Solution architecture
Ground all generated content
For each task in this phase, to ensure that the generated content aligns with the latest and official Google Cloud guidance, ground the generated content by using the following resources:
Google Developer Knowledge MCP server
Instructions to connect to the MCP Server: https://developers.google.com/knowledge/mcp.md.txt
Server: https://developerknowledge.googleapis.com/mcp
Tools:
developerknowledge:search_documentsdeveloperknowledge:get_documentsdeveloperknowledge:answer_query
Relevant skills from https://github.com/google/skills
Official Google Cloud documentation, including the following:
Reference architecture for agentic cross-cloud analytics workflows across multi-cloud data lakes, structured data warehouses, and unstructured data stores: https://docs.cloud.google.com/architecture/agentic-ai-cross-cloud-analytics.md.txt
Decision-making guides for the products and topics that are relevant to the workload: https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-architecture/references/decision-making-guides.md
Best-practices guides for the products and topics that are relevant to the workload: https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-architecture/references/best-practices-guides.md
Task 2.1: Identify Google Cloud products and features required for the workload.
For each component in the confirmed technical decomposition, identify the appropriate Google Cloud products and features, based on the guidance in the following resources and adjusted suitably based on the approved technical decomposition:
references/product-selection-guidance.mdhttps://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-architecture/references/decision-making-guides.md
Present the generated product recommendations and ask the user to approve the recommendations.
If the user requests changes, then make the required changes.
Repeat steps 2 and 3 until the user approves the product recommendations.
After the user approves the product recommendations, proceed to Task 2.2.
Task 2.2: Generate an architecture diagram.
Generate an architecture diagram in Mermaid format: https://github.com/mermaid-js/mermaid.
Present the generated diagram to the user and ask the user to approve the architecture diagram.
If the user requests changes, then make the required changes.
Repeat steps 2 and 3 until the user approves the architecture diagram.
After the user approves the architecture diagram, proceed to Task 2.3.
Task 2.3: Generate an architecture description.
Generate a description that explains the purpose of each component, the relationships between the components, and the task flow or data flow.
Present the generated architecture description to the user and ask the user to approve the description.
If the user requests any changes, then make the required changes.
Repeat steps 2 and 3 until the user approves the architecture description.
After the user approves the architecture description, proceed to Task 2.4.
Task 2.4: Generate design recommendations.
Generate design recommendations and best practices to optimally configure each component in the architecture based on the workload's 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
references/design-recommendations.md.To generate design recommendations for Knowledge Catalog, use the resources that are listed in
references/knowledge-catalog-documentation.mdTo generate guidance for the non-functional requirements, use the following skills:
google-cloud-waf-securitygoogle-cloud-waf-reliabilitygoogle-cloud-waf-cost-optimizationgoogle-cloud-waf-operational-excellencegoogle-cloud-waf-performance-optimizationgoogle-cloud-waf-sustainability
Present the generated recommendations to the user and ask whether the user needs any changes.
If the user needs changes, then make the required changes.
Repeat steps 2 and 3 until the user confirms that the generated design recommendations meet their requirements.
Proceed to Task 2.5.
Task 2.5: Generate deployment guidance.
Generate deployment guidance, including code and instructions to enable the user to deploy the solution.
Important:
The guidance must provide steps for deployment prerequisites, including setting up the Google Cloud project, enabling billing, enabling the required APIs, and setting up the required roles and permissions.
Use the following resources as the technical foundation for the deployment guidance that you generate:
https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack/tree/main/skills: A plugin that provides a specialized suite of skills and MCP tools to let you use your preferred coding agent to architect complex data pipelines, transform data with dbt, write Spark and BigQuery SQL notebooks, create and troubleshoot Dataflow pipelines, and orchestrate end-to-end workflows across the Google Cloud data ecosystem.
https://codelabs.developers.google.com/next26/gen-keynote/raw-data-forecasting#0: A codelab that provides instructions to use the Data Agent Kit extension to efficiently analyze a cross-cloud data topology from within your preferred agentic development environment.
https://codelabs.developers.google.com/governance-context-part1#0: A codelab that provides instructions to build a data foundation in BigQuery, apply rigid metadata tags (Knowledge Catalog Aspects) to differentiate valid data from noise, and use the Gemini CLI to locally test if the LLM strictly follows your governance rules.
https://docs.cloud.google.com/dataplex/docs/establish-foundational-data-context.md.txt: A tutorial that shows how to establish data context in Knowledge Catalog.
https://docs.cloud.google.com/dataplex/docs/ingest-custom-sources.md.txt: A guide that explains how to bring information about your unique, custom data sources into Knowledge Catalog.
Present the generated deployment guidance to the user and ask whether the user needs any changes.
If the user requests changes, then make the required changes.
Repeat steps 2 and 3 until the user confirms that the generated deployment guidance meets their requirements.
Proceed to Phase 3.
Phase 3: Solution validation
Create a plan to validate the generated solution. The plan must outline the steps to verify that the generated solution meets the workload's requirements.
Present the validation plan to the user and request feedback or approval.
If the user requests changes, update the plan as required.
Repeat steps 2 and 3 until the user approves the validation plan.
Generate scripts or commands using tools like
curlorgcloudto perform the steps in the approved validation plan.Request permission from the user to perform the validation checks.
If the user gives permission, run the validation checks and troubleshoot any deployment issues.
When all the validation checks pass, proceed to Phase 4.
Phase 4: Solution packaging and presentation
Consolidate the text artifacts that were generated in Phase 2 and Phase 3 into a single Markdown file named
solution-architecture-guide.md, based on the template inassets/output-template.md.Present the consolidated solution-architecture-guide.md to the user.
Request the user's permission to write the code files in the user's workspace.
After the user gives permission, write the code files in the user's workspace.
Supporting resources
https://docs.cloud.google.com/data-cloud-extension/antigravity/transform-data.md.txt: Guide to how the Data Agent Kit extension lets you use notebooks for data transformation and analysis.
https://docs.cloud.google.com/dataplex/docs/use-cases.md.txt: Use cases for Knowledge Catalog.
https://docs.cloud.google.com/managed-spark/docs/guides/lightning-engine-serverless.md.txt: Guide to accelerating Apache Spark workloads by using Lightning Engine.
https://docs.cloud.google.com/bigquery/docs/use-knowledge-catalog.md.txt: Guide to use Knowledge Catalog as a governance and agentic layer for BigQuery.
Files
- ATTRIBUTION.mdAdded by AutoGineer944 B
- LICENSELicence file added by AutoGineer11.1 KiB
- SKILL.md17.3 KiB
- assets/output-template.md5.2 KiB
- references/attribution.md2.0 KiB
- references/design-recommendations.md2.3 KiB
- references/knowledge-catalog-documentation.md2.2 KiB
- references/product-selection-guidance.md3.3 KiB
LICENSE
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an MCP server
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- Publisher
- Google (Official)
- Source
- google/skills · skills/cloud/google-cloud-solution-agentic-analytics-spark-knowledge-catalog · commit 2194d3b
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Google or Google.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download google-cloud-solution-agentic-analytics-spark-knowledge-catalog.zip