What problem does it solve? Building and operating Apache Beam pipelines on Google Cloud Dataflow involves many error-prone decisions: choosing between Google-provided templates and custom code, packaging Flex Templates correctly, validating required parameters, and diagnosing streaming job bottlenecks, backlog, and autoscaling anomalies. This Skill provides structured, step-by-step operational guidance for the entire Dataflow lifecycle. ## Core Features & Use Cases - Pipeline Authoring & Template Selection: Checks the public dataflow-templates bucket for existing Google-provided Classic or Flex templates before writing custom Java, Python, or Go pipelines, and enforces consistent Apache Beam SDK versions. - Flex Template Packaging & Execution: Packages pipelines as Flex Templates using Cloud Build and single Docker image configurations, validates strictly required template parameters, pre-creates BigQuery sinks, and runs jobs with mandatory pre-launch confirmation. - Diagnostics & Troubleshooting: Performs root cause analysis of streaming and batch jobs using Cloud Monitoring metrics, Cloud Logging queries, and the Dataflow REST API, covering watermark health, bottlenecks, hot keys, and autoscaling behavior. - Use Case: A streaming Pub/Sub-to-BigQuery pipeline shows growing data watermark delay. Use this Skill to map transform names to stages, query is_bottleneck and backlog metrics, analyze autoscaling rationale, and receive a structured diagnosis with remediation steps. ## Quick Start Use the gcp-dataflow skill to diagnose why my streaming Dataflow job with ID 2024-05-01_job in project my-project is falling behind.