Agent Skills › GoogleCloudPlatform/DataflowTemplates › add-integ-tests-spanner-to-sourcedb

add-integ-tests-spanner-to-sourcedb

GitHub

针对 Spanner 到源数据库反向迁移的集成测试编排技能,封装元测试编排器。需用户提供目标库名、类型映射矩阵及环境配置路径,校验缺失则终止。提取参数后调用 meta-test-orchestrator 执行冒烟和类型测试场景。

v2/spanner-to-sourcedb/.agents/skills/add-integ-tests-spanner-to-sourcedb/SKILL.md GoogleCloudPlatform/DataflowTemplates

Trigger Scenarios

用户请求运行 spanner-to-sourcedb 相关集成测试 需要执行反向迁移的数据类型或冒烟测试

Install

npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-integ-tests-spanner-to-sourcedb -g -y
More Options

Non-standard path

npx skills add https://github.com/GoogleCloudPlatform/DataflowTemplates/tree/main/v2/spanner-to-sourcedb/.agents/skills/add-integ-tests-spanner-to-sourcedb -g -y

Use without installing

npx skills use GoogleCloudPlatform/DataflowTemplates@add-integ-tests-spanner-to-sourcedb

指定 Agent (Claude Code)

npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-integ-tests-spanner-to-sourcedb -a claude-code -g -y

安装 repo 全部 skill

npx skills add GoogleCloudPlatform/DataflowTemplates --all -g -y

预览 repo 内 skill

npx skills add GoogleCloudPlatform/DataflowTemplates --list

SKILL.md

Frontmatter
{
    "name": "add-integ-tests-spanner-to-sourcedb",
    "description": "Specific runner skill that delegates to the Template-Agnostic Meta-Test Orchestrator for the spanner-to-sourcedb (Reverse Migration) template."
}

Spanner-to-SourceDB Testing Orchestrator

This is a specific runner skill that acts as a wrapper around the global meta-test-orchestrator skill.

Required Prompt Inputs

  1. Target Source Database Name
  2. Reference Datatype Mapping Matrix File Path
  3. Testing Environment Setup Path (e.g. testing_execution.env)

[!IMPORTANT] Initialization Check: If ANY of the required prompt inputs are missing from the user's prompt, or if the environment config file does not exist, you MUST HALT EXECUTION IMMEDIATELY. Ask the user to provide the missing inputs before proceeding.

Execution Instructions

You must immediately load and execute the v2/spanner-common/.agents/skills/meta-test-orchestrator/SKILL.md skill, passing it the following statically mapped parameters:

  1. Target Source Database Name: Extract from the user prompt.
  2. Reference Datatype Mapping Matrix File Path: Extract from the user prompt.
  3. Testing Environment Setup Path: Extract from the user prompt and assert its presence.
  4. Manifest File Path: v2/spanner-to-sourcedb/src/test/manifest.yaml.
  5. Target Template Path: v2/spanner-to-sourcedb
  6. Smoke Test Scenarios: reverse-it
  7. Datatype Test Scenarios: reverse-datatypes, reverse-datatypes-pg

Yield execution completely to the meta-test-orchestrator. Instruct the Orchestrator to begin using these parameters.

Example User Prompt

Please run the add-integ-tests-spanner-to-sourcedb skill for the MySQL database. 
Use the reference matrix located at v2/spanner-to-sourcedb/src/test/resources/mysql/mysql_datatype_mapping_matrix.csv load the execution properties from testing_execution.env.

Version History

  • a764362 Current 2026-08-20 05:08

Same Skill Collection

.agents/skills/smt_functional_testing/SKILL.md
.agents/skills/smt-e2e-dataflow-debugging/SKILL.md
v2/datastream-to-spanner/.agents/skills/add-integ-tests-datastream-to-spanner/SKILL.md
v2/datastream-to-spanner/.agents/skills/add-source-datastream-to-spanner/SKILL.md
v2/gcs-spanner-dv/.agents/skills/add-integ-tests-gcs-spanner-dv/SKILL.md
v2/sourcedb-to-spanner/.agents/skills/add-integ-tests-sourcedb-to-spanner/SKILL.md
v2/sourcedb-to-spanner/.agents/skills/add-source-sourcedb-to-spanner/SKILL.md
v2/spanner-common/.agents/skills/add-source-datatype-integ-test/SKILL.md
v2/spanner-common/.agents/skills/add-source-functional-integ-test/SKILL.md
v2/spanner-common/.agents/skills/meta-test-orchestrator/SKILL.md
v2/spanner-to-sourcedb/.agents/skills/add-source-spanner-to-sourcedb/SKILL.md

Metadata

Files
0
Version
c5c0b8b
Hash
e8f55e4f
Indexed
2026-08-20 05:08

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-21 07:57
浙ICP备14020137号-1