What problem does it solve? Writing correct Spark code for Google Cloud requires knowing Dataproc submission commands, connector configurations for BigQuery, BigLake Iceberg, and Spanner, and avoiding common pitfalls like schema mismatches and missing imports. This Skill guides the AI through a verified workflow that inspects schemas, generates validated PySpark notebooks, and executes them on Dataproc Clusters or Serverless. ## Core Features & Use Cases - Guided Spark Code Generation: Produces Python notebooks (.ipynb) following a strict workflow: schema discovery, source verification, code generation, schema validation, and compilation checks before execution. - Data Source Integration: Provides verified read/write patterns for BigQuery, BigLake Iceberg catalogs (GCS and S3 storage), Cloud Spanner, GCS files, Cloud SQL, and Pub/Sub. - Dataproc Resource Management: Covers listing and submitting clusters, jobs, serverless batches, and interactive sessions via gcloud or MCP tools, including connector dependencies and runtime properties. - ML Task Support: Includes verified patterns for XGBoost and native Spark ML training, with warnings about LightGBM conflicts on Serverless. - Use Case: Ask the AI to build an ETL pipeline that reads a CSV from GCS, enriches it with a BigQuery reference table, and writes the result to a BigLake Iceberg table, then submit it as a Dataproc Serverless batch. ## Quick Start Use the gcp-spark skill to write a PySpark notebook that reads a CSV from my GCS bucket and writes it to a BigQuery table.