Adding Dbt Unit Test
Kilo-Org/kilo-marketplace
Creates unit test YAML definitions that mock upstream model inputs and validate expected outputs.
Agent skill
by GoogleCloudPlatform in GoogleCloudPlatform/DataflowTemplates
Guide for implementing a database source connector in the v2/datastream-to-spanner forward migration Dataflow template.
$ npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-source-datastream-to-spanner -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install GoogleCloudPlatform/DataflowTemplates add-source-datastream-to-spanner --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/DataflowTemplates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner .claude/skills/add-source-datastream-to-spanner && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "add-source-datastream-to-spanner" agent skill from https://github.com/GoogleCloudPlatform/DataflowTemplates/tree/main/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner into .claude/skills/add-source-datastream-to-spanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-source-datastream-to-spanner", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/GoogleCloudPlatform/DataflowTemplates/tree/main/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spannerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-source-datastream-to-spanner -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install GoogleCloudPlatform/DataflowTemplates add-source-datastream-to-spanner --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/DataflowTemplates.git skills-src && mkdir -p .agents/skills && cp -r skills-src/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner .agents/skills/add-source-datastream-to-spanner && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-source-datastream-to-spanner" agent skill from https://github.com/GoogleCloudPlatform/DataflowTemplates/tree/main/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner into .agents/skills/add-source-datastream-to-spanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-source-datastream-to-spanner", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-source-datastream-to-spanner -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install GoogleCloudPlatform/DataflowTemplates add-source-datastream-to-spanner --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/DataflowTemplates.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner .cursor/skills/add-source-datastream-to-spanner && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-source-datastream-to-spanner" agent skill from https://github.com/GoogleCloudPlatform/DataflowTemplates/tree/main/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner into .cursor/skills/add-source-datastream-to-spanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-source-datastream-to-spanner", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/GoogleCloudPlatform/DataflowTemplates.git --path v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-source-datastream-to-spanner -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install GoogleCloudPlatform/DataflowTemplates add-source-datastream-to-spanner --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/DataflowTemplates.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner .gemini/skills/add-source-datastream-to-spanner && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-source-datastream-to-spanner" agent skill from https://github.com/GoogleCloudPlatform/DataflowTemplates/tree/main/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner into .gemini/skills/add-source-datastream-to-spanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-source-datastream-to-spanner", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install GoogleCloudPlatform/DataflowTemplates add-source-datastream-to-spannerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-source-datastream-to-spanner -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/DataflowTemplates.git skills-src && mkdir -p .github/skills && cp -r skills-src/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner .github/skills/add-source-datastream-to-spanner && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-source-datastream-to-spanner" agent skill from https://github.com/GoogleCloudPlatform/DataflowTemplates/tree/main/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner into .github/skills/add-source-datastream-to-spanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-source-datastream-to-spanner", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-source-datastream-to-spanner -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install GoogleCloudPlatform/DataflowTemplates add-source-datastream-to-spanner --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/DataflowTemplates.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner .opencode/skills/add-source-datastream-to-spanner && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-source-datastream-to-spanner" agent skill from https://github.com/GoogleCloudPlatform/DataflowTemplates/tree/main/v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner into .opencode/skills/add-source-datastream-to-spanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-source-datastream-to-spanner", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-source-datastream-to-spannerGuide for implementing a database source connector in the v2/datastream-to-spanner forward migration Dataflow template.
Add Source Datastream To Spanner is an agent skill from GoogleCloudPlatform/DataflowTemplates. Guide for implementing a database source connector in the v2/datastream-to-spanner forward migration Dataflow template. Details scope boundaries, prerequisites, connector implementations, registry registrations, unit testing, and smoke testing guidelines.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Unit testing. It works with Google Cloud and Google BigQuery. The repository describes itself as: Cloud Dataflow Google-provided templates for solving in-Cloud data tasks. The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c95daba. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
mvnFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
docs.cloud.google.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add Source Datastream To Spanner loads about 1.7k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 778 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
not explicitly specified by the user or `.env.testing`, **you MUST ALWAYS default to `--worker-machine-type=n2-standard-Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from GoogleCloudPlatform/DataflowTemplates at commit c95daba, republished under its Apache-2.0 licence (© GoogleCloudPlatform). 778 words, ~1,733 tokens.
.claude/skills/add-source-datastream-to-spanner/SKILL.md (or your agent's skills folder).This skill provides a step-by-step procedure for adding support for a new database source connector to the v2/datastream-to-spanner template. It details prerequisites, scope boundaries, type mapping requirements, connector implementation, registry registration, unit testing, and smoke testing procedures.
[!CRITICAL] MANDATORY PREREQUISITE GATE: Before running code searches, inspecting files, or executing unit tests, you MUST verify if the user provided the inputs below. If any required input is missing, STOP IMMEDIATELY and ask the user for clarification before proceeding further.
[!CRITICAL]
If the requested source database is NOT supported by Datastream, STOP IMMEDIATELY and inform the user that Datastream does not support CDC streaming for this database source. Do NOT proceed with inspection, implementation, or testing.
All implementation for a new source connector MUST be strictly confined to:
v2/datastream-to-spanner/src/main/java/com/google/cloud/teleport/v2/templates/source/<source_type>/IDsToSpSourceConnector (<Source>DsToSpSourceConnector.java)<source_type> (implemented similar to other existing source connectors in the codebase).DatastreamToSpannerSourceConnectorRegistry.javaregister(new <Source>DsToSpSourceConnector()).v2/spanner-commonspanner-common (updated similar to existing sources).Consult the Datatype Mapping Matrix provided in the prerequisites to verify correct datatype conversion to Spanner GoogleSQL and PostgreSQL dialects. Ensure proper alignment for character, numeric, temporal, binary, boolean, JSON and any other datatypes as specified in the mapping file.
<Source>DsToSpSourceConnectorImplement IDsToSpSourceConnector in com.google.cloud.teleport.v2.templates.source.<source_type>:
Implement remaining source-specific change event context and sequence classes in package com.google.cloud.teleport.v2.templates.source.<source_type> similar to other existing source connectors. Skip the types that are not supported by Datastream. These are mentioned in the type mapping skill.
DatastreamToSpannerSourceConnectorRegistry.java:register(new <Source>DsToSpSourceConnector());v2/spanner-common similar to existing sources.Execute Maven unit tests for the template:
mvn test -pl v2/datastream-to-spanner \
-Dtest=<Source>DsToSpSourceConnectorTest,DatastreamToSpannerSourceConnectorRegistryTestAll unit tests must pass with BUILD SUCCESS.
[!CRITICAL] MANDATORY EXECUTION REQUIREMENT: Immediately after unit tests pass, you MUST AUTOMATICALLY PROCEED to execute live end-to-end smoke testing using the test environment details provided in the prerequisites. Do NOT stop, pause, or declare completion after unit testing without running the live smoke tests.
[!IMPORTANT] WORKER MACHINE TYPE DIRECTIVE & FALLBACK RULE: When submitting the Dataflow job for live smoke testing, you MUST explicitly specify a worker machine type of the correct size with at least 4 vCPUs. If
--worker-machine-type(orWORKER_MACHINE_TYPE) is not explicitly specified by the user or.env.testing, you MUST ALWAYS default to--worker-machine-type=n2-standard-4. Omitting this parameter or submittingnull/blank will cause Dataflow job launch validation to fail with a machine specification policy violation.
INSERT statements covering supported datatypes in the source database.INSERT, UPDATE, and DELETE operations are accurately reflected in Spanner.© GoogleCloudPlatform, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner of GoogleCloudPlatform/DataflowTemplates.
Open the folder on GitHubat commit c95daba
Add Source Datastream To Spanner next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add Source Datastream To Spanner this skillGoogleCloudPlatform/DataflowTemplates | 1.3k | — | ~1.7k | Automated safety check: Notes | Apache-2.0 | |
| Adding Dbt Unit TestKilo-Org/kilo-marketplace | 189 | — | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Payload Snapshotopenshift-eng/ai-helpers | 120 | — | ~6.4k | Automated safety check: Pass | Apache-2.0 | |
| Io ConnectorsKilo-Org/kilo-marketplace | 189 | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Jobs And Testsopenshift-eng/ai-helpers | 120 | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Retail Product Search Agentgoogle/adk-recipes | 10k | — | ~3k | Automated safety check: Pass | Apache-2.0 |
Kilo-Org/kilo-marketplace
Creates unit test YAML definitions that mock upstream model inputs and validate expected outputs.
openshift-eng/ai-helpers
Snapshot OpenShift payload data (release controller, PR diffs, comments, CI jobs, JUnit results, regression tracking) to a local directory for offline analysis
Kilo-Org/kilo-marketplace
Guides development and usage of I/O connectors in Apache Beam.
openshift-eng/ai-helpers
A skill your agent uses when querying OpenShift CI prow job runs and junit test results in BigQuery (cianalysisus dataset) with deduplication, variant joins, and infrastructure failure filtering
google/adk-recipes
Builds a retail product search agent on Google Cloud, from catalog ingestion into BigQuery and Vector Search to ADK scaffolding, evaluation and Cloud Run deployment.
GoogleCloudPlatform/cxas-scrapi
Author, validate, and manage Contact Center AI (CCAI) Insights Configurable Dashboards.
GoogleCloudPlatform/DataflowTemplates
Debugs logical errors and data discrepancies in Dataflow templates by launching jobs via Terraform and comparing source (e.g.
GoogleCloudPlatform/DataflowTemplates
Functionally tests local Dataflow pipeline changes against the main branch using ephemeral GCP resources and gated approvals.
GoogleCloudPlatform/DataflowTemplates
Specific runner skill that delegates to the Template-Agnostic Meta-Test Orchestrator for the datastream-to-spanner (CDC) template.
GoogleCloudPlatform/DataflowTemplates
Specific runner skill that creates integration tests for the gcs-spanner-dv (Data Validation) template.
GoogleCloudPlatform/DataflowTemplates
Specific runner skill that delegates to the Template-Agnostic Meta-Test Orchestrator for the sourcedb-to-spanner (Bulk) template.
GoogleCloudPlatform/DataflowTemplates
Specific runner skill that delegates to the Template-Agnostic Meta-Test Orchestrator for the spanner-to-sourcedb (Reverse Migration) template.
Works with
Categories
Guide for implementing a database source connector in the v2/datastream-to-spanner forward migration Dataflow template. Add Source Datastream To Spanner is an agent skill from GoogleCloudPlatform/DataflowTemplates. Guide for implementing a database source connector in the v2/datastream-to-spanner forward migration Dataflow template.
Add Source Datastream To Spanner fits situations like: tasks that involve Unit testing.
Run `npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-source-datastream-to-spanner -a claude-code`. Or copy the skill folder (v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner in GoogleCloudPlatform/DataflowTemplates) into .claude/skills/add-source-datastream-to-spanner in your project. Claude Code loads it when a task matches its description.
Run `npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-source-datastream-to-spanner -a codex`. Or copy the skill folder (v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner in GoogleCloudPlatform/DataflowTemplates) into .agents/skills/add-source-datastream-to-spanner in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-source-datastream-to-spanner -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-source-datastream-to-spanner, .gemini/skills/add-source-datastream-to-spanner, .github/skills/add-source-datastream-to-spanner and .opencode/skills/add-source-datastream-to-spanner in your project.
Going by SKILL.md and its folder, Add Source Datastream To Spanner needs the command-line tools its instructions call (mvn).
SKILL.md names 1 domain. As links in the text: docs.cloud.google.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Add Source Datastream To Spanner is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add Source Datastream To Spanner: Adding Dbt Unit Test (Kilo-Org/kilo-marketplace, 189 stars), Payload Snapshot (openshift-eng/ai-helpers, 120 stars), Io Connectors (Kilo-Org/kilo-marketplace, 189 stars) and Jobs And Tests (openshift-eng/ai-helpers, 120 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
GoogleCloudPlatform (a GitHub organization) maintains it in GoogleCloudPlatform/DataflowTemplates, which has 1,315 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.
Source: GoogleCloudPlatform/DataflowTemplates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.