本文へ移動
cccskills
無料GitHub で公開

google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Discovers requirements and designs an end-to-end governed agentic analytics solution using Knowledge Catalog and Managed Service for Apache Spark (Lightning Engine). Use when designing data science and analytics workflows across structured and unstructured distributed data (including in S3, Azure Blob, AlloyDB, and Iceberg), establishing metadata governance with Knowledge Catalog aspect types, or grounding agentic IDEs (VS Code, Antigravity) by using the Google Cloud Data Agent Kit. Don't use for provisioning borderless data lakehouse infrastructure (use google-cloud-solution-agentic-ai-borderless-data-lakehouse instead).

インストール方法を見る

含まれるファイル(5)

  • SKILL.md17.1 KB
  • assets/output-template.md5.2 KB
  • references/design-recommendations.md2.3 KB
  • references/knowledge-catalog-documentation.md2.2 KB
  • references/product-selection-guidance.md3.3 KB

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

  1. 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)?
  2. 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?
  3. 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.
  4. 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.
  5. 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.

  6. 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.
  7. Request the user to approve the generated technical decomposition.

  8. If the user requests changes, then generate an updated technical decomposition.

  9. Repeat steps 5 through 8 until the user approves the generated technical decomposition.

  10. 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:

Task 2.1: Identify Google Cloud products and features required for the workload.

  1. 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.md
    • https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-architecture/references/decision-making-guides.md
  2. Present the generated product recommendations and ask the user to approve the recommendations.
  3. If the user requests changes, then make the required changes.
  4. Repeat steps 2 and 3 until the user approves the product recommendations.
  5. After the user approves the product recommendations, proceed to Task 2.2.

Task 2.2: Generate an architecture diagram.

  1. Generate an architecture diagram in Mermaid format: https://github.com/mermaid-js/mermaid.
  2. Present the generated diagram to the user and ask the user to approve the architecture diagram.
  3. If the user requests changes, then make the required changes.
  4. Repeat steps 2 and 3 until the user approves the architecture diagram.
  5. After the user approves the architecture diagram, proceed to Task 2.3.

Task 2.3: Generate an architecture description.

  1. Generate a description that explains the purpose of each component, the relationships between the components, and the task flow or data flow.
  2. Present the generated architecture description to the user and ask the user to approve the description.
  3. If the user requests any changes, then make the required changes.
  4. Repeat steps 2 and 3 until the user approves the architecture description.
  5. After the user approves the architecture description, proceed to Task 2.4.

Task 2.4: Generate design recommendations.

  1. 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-security
      • google-cloud-waf-reliability
      • google-cloud-waf-cost-optimization
      • google-cloud-waf-operational-excellence
      • google-cloud-waf-performance-optimization
      • google-cloud-waf-sustainability
  2. Present the generated recommendations to the user and ask whether the user needs any changes.

  3. If the user needs changes, then make the required changes.

  4. Repeat steps 2 and 3 until the user confirms that the generated design recommendations meet their requirements.

  5. Proceed to Task 2.5.

Task 2.5: Generate deployment guidance.

  1. Generate deployment guidance, including code and instructions to enable the user to deploy the solution.

    Important:

  2. Present the generated deployment guidance to the user and ask whether the user needs any changes.

  3. If the user requests changes, then make the required changes.

  4. Repeat steps 2 and 3 until the user confirms that the generated deployment guidance meets their requirements.

  5. Proceed to Phase 3.

Phase 3: Solution validation

  1. 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.
  2. Present the validation plan to the user and request feedback or approval.
  3. If the user requests changes, update the plan as required.
  4. Repeat steps 2 and 3 until the user approves the validation plan.
  5. Generate scripts or commands using tools like curl or gcloud to perform the steps in the approved validation plan.
  6. Request permission from the user to perform the validation checks.
  7. If the user gives permission, run the validation checks and troubleshoot any deployment issues.
  8. When all the validation checks pass, proceed to Phase 4.

Phase 4: Solution packaging and presentation

  1. 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 in assets/output-template.md.
  2. Present the consolidated solution-architecture-guide.md to the user.
  3. Request the user's permission to write the code files in the user's workspace.
  4. After the user gives permission, write the code files in the user's workspace.

Supporting resources

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Configures best-practice alerting policies for AI agents using OpenTelemetry (OTel) metrics, generating output as Terraform (.tf) configuration files. Use when analyzing, writing, or deploying alerting policies to monitor agent latency, error rates, token usage, and quality metrics. Don't use for standard infrastructure monitoring unrelated to AI agents, or when the agent is not instrumented with OpenTelemetry (for Reliability, Cost, Safety, Security alerts). NOTE: Reliability, Cost, Safety, and Security alerts use generic OTel metrics and work across runtimes (such as Cloud Run, Vertex AI). Quality alerts rely on Vertex AI Online Monitors and are strictly bound to Vertex AI deployments.

日本語の概要は準備中です。原文の説明を表示しています。

vaila-multimodaltoolbox/vaila192026年10月8日 更新

Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up resources by undeploying models and deleting endpoints. Use when asked to actively deploy a model, list the Model Garden CATALOG of available models, check if a specific model is deployable (`gcloud ai model-garden models list-deployment-config`), query deployment cost, troubleshoot deployment errors (like quota limits), or undeploy/clean up endpoints. Also use when copying and deploying a 1P Tuned Model. Don't use for pure listing/discovery questions of the form "is X deployed?", "list my endpoints", or "which regions have models running?" — for those use `agent-platform-endpoint-management`. Don't use for public Vertex AI deployments (use the `vertex-deploy` skill) or for running model evaluations (use the `agent-platform-eval-flywheel` skill).

日本語の概要は準備中です。原文の説明を表示しています。

vaila-multimodaltoolbox/vaila192026年10月8日 更新

Manages Agent Platform serving endpoints. Use when you need to create, list, describe, update, or delete serving endpoints for model deployment on Agent Platform. Also use when troubleshooting endpoint permission, quota, or resource busy errors. Don't use for deploying models to endpoints or for running model evaluations.

日本語の概要は準備中です。原文の説明を表示しています。

vaila-multimodaltoolbox/vaila192026年10月8日 更新

Measures and improves the quality of AI models and agents on Google Cloud using the Eval Quality Flywheel methodology. Use when evaluating an agent or model, building an eval dataset, picking or writing evaluation metrics, analyzing failures, comparing results before and after a fix, or when guidance is needed on Agent Platform eval methodology — including dataset schema, LLM-as-judge scoring, and common failure causes. For fine-tuning, use agent-platform-tuning. For general production deployment, use agent-platform-deploy.

日本語の概要は準備中です。原文の説明を表示しています。

vaila-multimodaltoolbox/vaila192026年10月8日 更新

Connects to and performs inference with Google Cloud Agent Platform GenAI models, including First-Party Gemini models and Third-Party OpenMaaS models (Llama, DeepSeek, Qwen, etc.). Use when asked to perform inference, ask a model a question, run a test prompt, execute chat completions, or generate code for calling Gemini or OpenMaaS models, authenticate with GenAI SDK, OpenAI SDK, or legacy Agent Platform SDK, configure base URLs and global/regional endpoints, or troubleshoot 429 Resource Exhausted (DSQ), 400 User Validation, or 404 Not Found errors. Don't use for deploying models to endpoints or for running model evaluations.

日本語の概要は準備中です。原文の説明を表示しています。

vaila-multimodaltoolbox/vaila192026年10月8日 更新

Guides agents and users through migrating from Gemini API in Google AI Studio to Gemini Enterprise Agent Platform (formerly Vertex AI). Use this skill when moving applications to Google Cloud, to leverage Cloud credits, or to unify inferencing with other Cloud infrastructure (IAM, billing, telemetry).

日本語の概要は準備中です。原文の説明を表示しています。

vaila-multimodaltoolbox/vaila192026年10月8日 更新

vaila-multimodaltoolbox のスキルをすべて見る

このスキルの問題を報告する