Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

smt-e2e-dataflow-debugging

Skill by GoogleCloudPlatform

Debugs logical errors and data discrepancies in Dataflow templates by launching jobs with Terraform and comparing source and destination data. Built for teams whose pipelines run to completion but produce wrong data.

  • Score 78
  • 1.3k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install smt-e2e-dataflow-debugging

Built from the published package, never by AI.

git clone --depth 1 https://github.com/GoogleCloudPlatform/DataflowTemplates /tmp/DataflowTemplates && mkdir -p ~/.claude/skills && cp -r /tmp/DataflowTemplates/.agents/skills/smt-e2e-dataflow-debugging ~/.claude/skills/smt-e2e-dataflow-debugging

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install smt-e2e-dataflow-debugging in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill debugs logical errors and data discrepancies in Dataflow templates. It launches a job with Terraform from a .tfvars file, waits for a terminal state, and reads job and worker logs with gcloud. It then compares source data in Cloud SQL with destination data in Spanner, checking row counts, schema mapping and values. It can also help locate and fix the Java transformation code and re-stage the template.

The skill is limited to four templates: gcs-spanner-dv, sourcedb-to-spanner, datastream-to-spanner and spanner-to-sourcedb. It is meant for jobs that launch and run to completion but produce incorrect data. It does not cover startup or runtime crashes, or building new templates. The publisher is GoogleCloudPlatform.

Written from the project's SKILL.md and checked against it.

What it can do

  • Deploy and monitor jobRuns terraform init and apply with a .tfvars file and waits for the job to finish.
  • Collect Dataflow logsReads job message and worker logs with gcloud logging read to find warnings and exceptions.
  • Query source and destination dataRuns count and sample queries on Cloud SQL and Spanner to compare the data.
  • Analyze discrepanciesChecks row counts, schema mapping, NULLs, encoding, timestamps and precision.
  • Fix and re-stage templateLocates transformation logic in the Java files and rebuilds the Flex Template with mvn.
  • Clean and re-runDeletes destination records before redeploying the job to verify the fix.

What you need

  • Terraform CLI installed and configured
  • gcloud CLI installed and authenticated
  • Maven and a compatible JDK
  • Git
  • Access to source and destination databases, with IAM permissions for Dataflow, Cloud SQL, Spanner, GCS and Cloud Logging

Try asking

  • Debug row count mismatches in my sourcedb-to-spanner job using my-job.tfvars
  • Compare Cloud SQL and Spanner data for my datastream-to-spanner run
  • Pull worker logs for my Dataflow job and find the exception

Good to know

  • Only for gcs-spanner-dv, sourcedb-to-spanner, datastream-to-spanner and spanner-to-sourcedb.
  • Not for startup or runtime crashes, or for staging and building new templates.
  • The pipeline must launch and reach a terminal state.
  • The agent stops and asks for help if any terminal command fails.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/smt-e2e-dataflow-debugging/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to smt-e2e-dataflow-debugging

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

smt-e2e-dataflow-debugging: common questions

Which Dataflow templates does it support?

The source limits it to gcs-spanner-dv, sourcedb-to-spanner, datastream-to-spanner and spanner-to-sourcedb.

Can it debug a Dataflow job that crashes on startup?

No. The source says it is not for debugging startup or runtime crashes, and only applies when the job runs to a terminal state.

Does it delete data in the destination database?

Yes. In the re-testing phase it runs a DELETE on the destination Spanner table to prepare a clean run.

How do I install smt-e2e-dataflow-debugging?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is smt-e2e-dataflow-debugging free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is smt-e2e-dataflow-debugging safe to use?

It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to smt-e2e-dataflow-debugging?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

smt-e2e-dataflow-debugging Install

Add to stack

Loading.