Установка
SKILL.md
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.
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
- Tools:<!-- -->
- 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.md - To 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
- When you generate design recommendations, consider the following:<!-- -->
-
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: Плагин, который предоставляет специализированный набор навыков и инструментов MCP, позволяющий использовать предпочитаемого вами агента для программирования, чтобы проектировать сложные конвейеры данных, преобразовывать данные с помощью dbt, писать блокноты Spark и BigQuery SQL, создавать конвейеры Dataflow и устранять в них неполадки, а также организовывать сквозные рабочие процессы в экосистеме данных Google Cloud.
- https://codelabs.developers.google.com/next26/gen-keynote/raw-data-forecasting#0: Практическое руководство, содержащее инструкции по использованию расширения Data Agent Kit для эффективного анализа кросс-облачной топологии данных в предпочитаемой вами агентной среде разработки.
- https://codelabs.developers.google.com/governance-context-part1#0: Практическое руководство, содержащее инструкции по созданию основы данных в BigQuery, применению жёстких тегов метаданных (Knowledge Catalog Aspects) для отделения достоверных данных от шума и использованию Gemini CLI для локальной проверки того, строго ли LLM соблюдает ваши правила управления.
- https://docs.cloud.google.com/dataplex/docs/establish-foundational-data-context.md.txt: Учебное пособие, показывающее, как установить контекст данных в Knowledge Catalog.
- https://docs.cloud.google.com/dataplex/docs/ingest-custom-sources.md.txt: Руководство, объясняющее, как перенести информацию о ваших уникальных пользовательских источниках данных в Knowledge Catalog.
-
Представьте пользователю сгенерированные рекомендации по развёртыванию и спросите, нужны ли пользователю какие-либо изменения.
-
Если пользователь запрашивает изменения, внесите необходимые изменения.
-
Повторяйте шаги 2 и 3, пока пользователь не подтвердит, что сгенерированные рекомендации по развёртыванию соответствуют его требованиям.
-
Переходите к этапу 3.
Этап 3: Проверка решения
- Создайте план проверки сгенерированного решения. План должен описывать шаги для проверки того, что сгенерированное решение соответствует требованиям рабочей нагрузки.
- Представьте план проверки пользователю и запросите обратную связь или одобрение.
- Если пользователь запрашивает изменения, обновите план по мере необходимости.
- Повторяйте шаги 2 и 3, пока пользователь не одобрит план проверки.
- Сгенерируйте скрипты или команды с помощью таких инструментов, как
curlorgcloudдля выполнения шагов утверждённого плана проверки. - Запросите у пользователя разрешение на выполнение проверок.
- Если пользователь даёт разрешение, выполните проверки и устраните любые проблемы развёртывания.
- Когда все проверки пройдены, переходите к этапу 4.
Этап 4: Упаковка и представление решения
- Объедините текстовые артефакты, сгенерированные на этапе 2 и этапе 3, в единый файл Markdown с именем
solution-architecture-guide.md, на основе шаблона вassets/output-template.md. - Представьте пользователю объединённый solution-architecture-guide.md.
- Запросите у пользователя разрешение на запись файлов кода в его рабочей области.
- После того как пользователь даст разрешение, запишите файлы кода в рабочей области пользователя.
Вспомогательные ресурсы
- https://docs.cloud.google.com/data-cloud-extension/antigravity/transform-data.md.txt: Руководство о том, как расширение Data Agent Kit позволяет использовать блокноты для преобразования и анализа данных.
- https://docs.cloud.google.com/dataplex/docs/use-cases.md.txt: Сценарии использования Knowledge Catalog.
- https://docs.cloud.google.com/managed-spark/docs/guides/lightning-engine.md.txt: Руководство по ускорению рабочих нагрузок Apache Spark с помощью Lightning Engine.
- https://docs.cloud.google.com/bigquery/docs/use-knowledge-catalog.md.txt: Руководство по использованию Knowledge Catalog в качестве уровня управления и агентного уровня для BigQuery.
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: google-cloud-solution-agentic-analytics-spark-knowledge-catalog](https://darkplay.ru/ai/skills/google-skills-google-cloud-solution-agentic-analytics-spark-knowledge-catalog)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
Build Error Resolveraffaan-m · Специалист по устранению ошибок сборки и TypeScript. Используйте ПРОАКТИВНО при сбое…
Cpp Build Resolveraffaan-m · Специалист по ошибкам сборки C++, CMake и линковки.
Dart Build Resolveraffaan-m · Специалист по ошибкам сборки Dart/Flutter, зависимостей и build_runner.
Django Build Resolveraffaan-m · Специалист по ошибкам Django: pip/Poetry, миграции, импорты, collectstatic.
Flutter Revieweraffaan-m · Ревьюер кода Flutter и Dart: виджеты, управление состоянием, идиомы и архитектура.
Go Build Resolveraffaan-m · Специалист по ошибкам сборки Go: исправляет build, go vet и предупреждения линтера.
Java Build Resolveraffaan-m · Специалист по ошибкам сборки Java/Maven/Gradle: определяет Spring Boot или Quarkus и…
Kotlin Build Resolveraffaan-m · Специалист по ошибкам сборки Kotlin/Gradle: компилятор, зависимости и Gradle.
Pytorch Build Resolveraffaan-m · Специалист по ошибкам PyTorch: формы тензоров, CUDA, градиенты и DataLoader.
Rust Build Resolveraffaan-m · Специалист по ошибкам сборки Rust: cargo, borrow checker и Cargo.toml.Лучшие ИИ-инструменты для автоматизации и ассистентов
Подборка ИИ-ассистентов для автоматизации рутины и ускорения рабочих процессов. Сервисы, которые берут на себя переписку, анализ данных, ведение базы знаний и подготовку продаж, эк
Give Me Public
AITunnelAitunnel
STIVAStiva
Wikibot (Викибот)Wikibot
mymeet.aiMymeet
InsighterInsighter
TGHuntTghunt
LegiscanLegiscan
RouterAIRouterai
Wikibot 1.0 (Викибот)WikibotЛучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachat