What problem does it solve? Writing correct Spark code for Google Cloud requires knowing Dataproc cluster versus serverless execution models, connector configurations for BigQuery, BigLake Iceberg, and Spanner, and avoiding common PySpark pitfalls. This Skill enforces a structured workflow that inspects schemas first, generates validated notebooks, and executes jobs correctly on GCP. ## Core Features & Use Cases - Guided Spark Code Generation: Produces Python notebooks (.ipynb) following a mandatory workflow: schema discovery, source verification, code generation, schema validation, and compilation before execution. - Data Source Integration: Provides verified read/write patterns for BigQuery, BigLake Iceberg catalogs (GCS and S3 storage), Cloud Spanner, Cloud SQL, GCS files, and Pub/Sub. - Dataproc Resource Management: Covers cluster and serverless batch submission, session management, connector dependencies, and IAM requirements via gcloud or MCP tools. - ML on Spark: Includes verified patterns for XGBoost and native Spark ML, with warnings about LightGBM dependency conflicts on Dataproc Serverless. - Use Case: A data engineer needs an ETL pipeline reading CSV files from GCS, enriching them with a BigQuery reference table, and writing results to a BigLake Iceberg table. The Skill generates a validated notebook with the correct catalog configuration and write mode. ## Quick Start Ask the AI to write a Spark ETL pipeline on Dataproc that reads a CSV from a GCS bucket and writes the results to a BigQuery table.