meta-test-orchestrator
Skill1.3k starsChanged 6 months agoApache-2.0View on GitHub
Template-agnostic Orchestrator Skill for generating and executing exhaustive testing suites for any migration template. It will generate the functional and datatype related test for the source.
- Reads credentials
Trending
Quiet since October.about the whole repository
Who's talking about GoogleCloudPlatform/DataflowTemplates
- apache/beam“Enforce binary-only constraints during early requirements cache attempts”GitHub · May 26, 2026 · 1 reactions
- apache/beam“Revert gcsio 3 upgrades”GitHub · May 21, 2026 · 1 reactions
- rsamborski/google-skills“Link Checker Report”GitHub · Oct 2, 2026
- gsbingo17/mongodb-to-new“Faster canonical BSON type discovery for _id”GitHub · Sep 22, 2026
- neo4j/docs-dataflow-connector“docs: update launcher VM phase description”GitHub · Sep 22, 2026
The biggest 5 of 34 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 34
Talked about on GitHub (34 times).
On GitHub · 34
- May 26, 2026Enforce binary-only constraints during early requirements cache attempts — apache/beam1 reaction · 6 comments
- May 21, 2026Revert gcsio 3 upgrades — apache/beam1 reaction · 1 comment
- Oct 2, 2026Link Checker Report — rsamborski/google-skills0 reactions
- Sep 22, 2026Faster canonical BSON type discovery for _id — gsbingo17/mongodb-to-new0 reactions
- Sep 22, 2026docs: update launcher VM phase description — neo4j/docs-dataflow-connector0 reactions · 2 comments
29 more on GitHub
- Jul 7, 2026[Task]: Update mheap version to include Node 24 support — apache/beam0 reactions · 1 comment
- May 8, 2026Enhancing counters for MongoDbToMongoDb template — michaeltle-goog/DataflowTemplates0 reactions
- Apr 24, 2026docs: mention import-spec upgrade — neo4j/docs-dataflow-connector0 reactions · 1 comment
- Jan 30, 2026Spanner is hanging when DCP is enabled — apache/beam0 reactions · 4 comments
- Jan 16, 2026[Bug]: Remove Spanner exclusion once bug is fixed — apache/beam0 reactions · 4 comments
- Jan 16, 2026Fix spanner io hang by closing connections — apache/beam0 reactions · 3 comments
- Jan 15, 2026Pin spanner version, not just spanner bom — apache/beam0 reactions · 2 comments
- Jan 14, 2026Update neo4j resource manager — apache/beam0 reactions · 4 comments
- Jan 14, 2026Revert spanner version — apache/beam0 reactions · 4 comments
- Dec 29, 2025Documentation update on RetryDLQ flow — GoogleCloudPlatform/spanner-migration-tool0 reactions · 1 comment
- Oct 20, 2025Fix BigQueryIO File load validate runtime value provider — apache/beam0 reactions · 2 comments
- Aug 28, 2025update the changes.md for upgrading MongoDB Java driver — apache/beam0 reactions · 1 comment
- Apr 16, 2025[Task]: Add Validates Runner Yaml Suite (or add to existing suites) — apache/beam0 reactions
- Apr 6, 2025Fix flaky test for greedy allocator — SurenSK/alluxio_WLTest0 reactions
- Mar 28, 2025Support Time Partitioned Test Tables in BigqueryResourceManager — apache/beam0 reactions · 3 comments
- Mar 28, 2025[Feature Request]: Support Time Partitioned Test Tables in BigqueryResourceManager — apache/beam0 reactions · 1 comment
- Feb 20, 2025Update SpannerSchema to support postgres tokenlist — apache/beam0 reactions · 2 comments
- Nov 15, 2024[Bug]: Certain nullable type resolved to not null coder after #32705 — apache/beam0 reactions · 8 comments
- Nov 3, 2024Fixing Google DataflowTemplates test — TestingResearchIllinois/idoft0 reactions
- Nov 3, 2024Marking PR opened for DataflowTemplates — TestingResearchIllinois/idoft0 reactions
- Sep 10, 2024Fixed flaky test DataStoreConvertersTest.testCheckSameKey() — mihirgune/DataflowTemplates0 reactions
- Mar 13, 2024[Bug] Annotation processor generated duplicated classes from dependency that also used autovalue — google/auto0 reactions · 3 comments
- Feb 8, 2024[Bug]: DualInputNestedValueProvider is not able to get Value properly if input is RuntimeValueProvider. — apache/beam0 reactions · 4 comments
- Feb 3, 2024[Task]: Reverse it component migration — apache/beam0 reactions · 1 comment
- Oct 27, 2023The project DataflowTemplates can't be parsed when opened by VSCode from WSL — redhat-developer/vscode-java0 reactions
- Aug 20, 2023Increase Elasticsearch wait time from 1 to 2 minutes, make it configurable — testcontainers/testcontainers-java0 reactions · 4 comments
- Jun 5, 2023[Bug]: Possible data loss in BigtableIO r/w if timestamp not set (default to epoch) — apache/beam0 reactions · 8 comments
- Jul 6, 2022Introduce support for RECORD type in TextIOToBigQuery template — chmurakrajowa/OChKDataflowTemplates0 reactions
- Jun 10, 2022Add OutputProject option to PubSubCDC etc. — 1st-penguin/DataflowTemplates0 reactions
In this repository11 other files it gives its agents.
- smt-e2e-dataflow-debuggingSkill
- smt-functional-testingSkill
- add-integ-tests-datastream-to-spannerSkill
- add-source-datastream-to-spannerSkill
- add-integ-tests-gcs-spanner-dvSkill
- add-integ-tests-sourcedb-to-spannerSkill
- add-source-sourcedb-to-spannerSkill
- add-source-datatype-integ-testSkill
- add-source-functional-integ-testSkill
- add-integ-tests-spanner-to-sourcedbSkill
- add-source-spanner-to-sourcedbSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
When a user begins a session with this Meta-Skill, ensure you have the following inputs before starting:
- Distinctive: line 58
Error Escalation: If a subagent exhausts its self-healing retries and fails, report back to the user with a summary of the roadblock before …
- Distinctive: line 88
Goal: Run a complete verification regression suite across all generated tests to guarantee zero regressions.
- Distinctive: line 93
If the regression suite fails on any specific test, you must re-invoke a subagent dedicated to that specific failing test scenario, passing …
- Distinctive: line 101
Use this prompt when invoking subagents for Smoke Tests and Functional Scenarios.
- Distinctive: line 123
Use this prompt when invoking subagents for Datatypes Validation.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Template-Agnostic Orchestrator Meta-Skill
This skill instructs an AI Agent to act as the "Project Manager" for onboarding a new database source into ANY given Dataflow testing template. It automates the generation and execution of the template's entire testing suite by spawning specialized subagents.
1. Goal
Orchestrate a fully automated, pipeline to build, test, and verify every single scenario defined in the template's src/test/manifest.yaml.
You MUST execute all spawned subagents sequentially. Do NOT run subagents concurrently, to prevent Maven staging conflicts.
2. Global Constraint: Orchestrator Heartbeats
[!CRITICAL] Resilience & Subagent Monitoring Rule: Because the full execution pipeline can take hours, backend server maintenance restarts might occasionally drop background polling scripts, leaving your subagents stranded in a "waiting" state while tests actually finish in the cloud.
- As the Orchestrator, you MUST maintain a proactive heartbeat.
- You MUST set a recurring
scheduletool timer (e.g.CronExpression: "*/2 * * * *",IsDaemon: false) dedicated to babysitting.- Whenever the heartbeat timer fires, explicitly use
manage_subagents listto check statuses. If you notice a subagent stuck inwaiting_for_messagefor an extended period, you must manually runssh ... tailagainst the remote logs to check the pipeline's true status, and then explicitly usesend_messageto blast the subagent awake with the logs so it resumes working.
3. Initialization Requirements
When a user begins a session with this Meta-Skill, ensure you have the following inputs before starting:
- Target Source Database Name:
- Reference Mapping Matrix File Path:
- Testing Environment Setup Path: Confirm that
testing_execution.envis populated in the workspace root. - Target Template Path:
- Smoke Test Scenarios: (comma-separated list of scenario IDs)
- Datatype Test Scenarios: (comma-separated list of scenario IDs)
- Manifest File Path:
[!IMPORTANT] Mapping Matrix Schema Validation: You must dynamically validate the user's provided
.csvmapping file against the canonical schema before proceeding with any orchestration or code generation.
- Use the
read_url_contenttool to fetch the raw canonical reference from:https://raw.githubusercontent.com/GoogleCloudPlatform/spanner-migration-tool/master/.agents/skills/source_research_helper/sampleOutput/mysql_datatype_mapping_matrix.csv- Parse the headers (first line) of both the fetched sample matrix and the local file at
Reference Datatype Mapping Matrix File Path.- Verify that every column header present in the fetched sample is also present in the local provided matrix (a subset match; the local matrix may contain extra custom columns, which is fine).
If ANY of the prompt inputs are missing, or if the testing_execution.env file does not exist in the root directory, or if the provided matrix is missing canonical headers, you MUST HALT EXECUTION IMMEDIATELY. Do not attempt to guess, hallucinate paths, or proceed. Output a direct question asking the user to provide the missing inputs, create the missing environment file, or fix the explicitly missing columns.
4. Orchestration Rules
- Sequential Threading: You may only have one active subagent running at any time.
- Template Onboarding Report: You MUST maintain a live markdown artifact called
template_onboarding_report.md.- Progress Tracker: Maintain a high-level counter (e.g.,
5 / 20 scenarios completed). - Consolidated Bug Log: Aggregate all source-code bugs discovered by subagents and the fixes applied to the
<Target_Template_Path>source code. - Challenges: Summarize any roadblocks or unsupported features (e.g., missing Spanner APIs).
- Progress Tracker: Maintain a high-level counter (e.g.,
- Error Escalation: If a subagent exhausts its self-healing retries and fails, report back to the user with a summary of the roadblock before halting the pipeline.
- Artifact Relocation & Syncing: Subagents frequently save their final migration reports (e.g.,
test_automation_migration_report.mdandlive_logs) into their isolated 'brain' execution sandboxes. As the parent Orchestrator, upon validating a subagent's success, you MUST natively copy their generated reports out of their system-isolated directories and move them directly into the correct workspace root directory using the following exact structure:- For Datatype tests:
src/test/resources/<target_db_name_lowercase>/reports/datatype_testing/<Scenario_ID>_<Timestamp>/ - For Functional tests:
src/test/resources/<target_db_name_lowercase>/reports/functional_testing/<Scenario_ID>_<Timestamp>/
- For Datatype tests:
- Continuous Meta-Report Syncing: You MUST copy the overarching meta-skill report (
template_onboarding_report.md) and orchestration execution logs to a persistent directory in the workspace atsrc/test/resources/<target_db_name_lowercase>/reports/meta-reports/right from the beginning, and you must constantly update/overwrite this workspace file as tests run and statuses change iteratively!
5. The Execution Pipeline
You must guide the workflow through these steps sequentially, waiting for one subagent to complete successfully before advancing or spinning up the next.
Infrastructure Smoke Tests
Goal: Prove the infrastructure and testing_execution.env works before adding complex data types.
Action: Spawn a subagent using Prompt Template A targeting only the scenarios provided in the Smoke Test Scenarios input list (e.g., bulk-simple).
Complete Datatypes Validation
Goal: Validate all datatypes for the template (including alternate dialects like PostgreSQL Spanner deployments) using the provided reference mapping file. Action: Spawn subagents sequentially using Prompt Template B for the explicit scenarios provided in the Datatype Test Scenarios input list.
Once those are complete, aggressively scan the provided Manifest File Path for any additional scenarios tagged with type: datatypes (that you haven't executed yet) and spawn subagents for them one at a time. Wait for each subagent to complete before spawning the next.
Functional Scenarios Scale-Out
Goal: Translate the remaining complex features (e.g., sharding, foreign keys, limits). Action: Scan the provided Manifest File Path for all remaining functional scenarios (not covered in the previous steps).
- Spawn subagents for each scenario one at a time using Prompt Template A.
- Crucial Rule: As soon as one subagent completes successfully, instantly capture its logs and reports, update your tracker, and proactively move linearly to spawn the next subagent scenario. Do absolutely NOT halt the pipeline or wait for user input/confirmation between scenarios!
Final Validation
Goal: Run a complete verification regression suite across all generated tests to guarantee zero regressions. Action:
- To construct the final regression test command, read
v2/spanner-common/.agents/skills/add-source-functional-integ-test/SKILL.mdto learn how to natively assemble themvn verifyparameter list from the environment configs. - Once assembled, swap the target class name parameter for the overarching wildcard corresponding to the dialect (e.g.,
-Dtest=Oracle*IT). - Maintain the
-DdirectRunnerTestflag to run the regression safely and rapidly. Execute this on the remote test VM. - If the regression suite fails on any specific test, you must re-invoke a subagent dedicated to that specific failing test scenario, passing it the failure logs and instructing it to self-heal the source code and verify its individual test again.
- Capture the final outcome of the regression run in your meta-report and securely copy the final executed regression logs to the workspace.
6. Subagent Prompt Templates
Prompt Template A (Functional Worker)
Use this prompt when invoking subagents for Smoke Tests and Functional Scenarios.
Skill to load: v2/spanner-common/.agents/skills/add-source-functional-integ-test/SKILL.md
Please load and execute the `v2/spanner-common/.agents/skills/add-source-functional-integ-test/SKILL.md` skill to generate a functional integration test.
Inputs:
1. Scenario ID: [INSERT_SCENARIO_ID]
2. Manifest File Path: [INSERT_MANIFEST_FILE_PATH]
3. Target Source Database Name: [INSERT_DB_NAME]
4. Reference Datatype Mapping Matrix File Path: [INSERT_MAPPING_FILE_PATH]
5. Testing Environment Setup Path: [INSERT_ENV_PATH]
CRITICAL CONSTRAINTS:
- Treat the provided Reference Mapping File as your absolute source of truth to derive baseline mapping schemas. You MUST strictly use this matrix to generate testing mappings. Do NOT perform independent type research.
- Load execution strategy from `testing_execution.env`.
- Follow the Production Code Priority Rule: if tests fail, investigate the target template source code before assuming the test is wrong.
- Use the `-DdirectRunnerTest` flag for iterative testing. Once the DirectRunner loop passes, you MUST perform a final execution directly against Cloud Dataflow (omitting the flag) and ensure that run completely succeeds before generating your final report.
- Upon completing your artifact report, ensure `RequestFeedback: false` is set so your status naturally changes back to idle. Do NOT pause waiting for conversational human feedback.
Prompt Template B (Datatype Worker)
Use this prompt when invoking subagents for Datatypes Validation.
Skill to load: v2/spanner-common/.agents/skills/add-source-datatype-integ-test/SKILL.md
Please load and execute the `v2/spanner-common/.agents/skills/add-source-datatype-integ-test/SKILL.md` skill to generate a datatype integration test.
Inputs:
1. Scenario ID: [INSERT_SCENARIO_ID]
2. Manifest File Path: [INSERT_MANIFEST_FILE_PATH]
3. Target Source Database Name: [INSERT_DB_NAME]
4. Reference Datatype Mapping Matrix File Path: [INSERT_MAPPING_FILE_PATH]
5. Testing Environment Setup Path: [INSERT_ENV_PATH]
CRITICAL CONSTRAINTS:
- Treat the provided Reference Mapping File as your absolute source of truth to derive baseline mapping schemas. You MUST strictly use this matrix to generate testing mappings. Do NOT perform independent type research.
- Load execution strategy from `testing_execution.env`.
- Use the `-DdirectRunnerTest` flag for iterative testing.Once the DirectRunner loop passes, you MUST perform a final execution directly against Cloud Dataflow (omitting the flag) and ensure that run completely succeeds before generating your final report.
- Upon completing your artifact report, ensure `RequestFeedback: false` is set so your status naturally changes back to idle. Do NOT pause waiting for conversational human feedback.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

