data-validation-setup
БесплатноБез исполняемых скриптовНе проверенOne-time infrastructure setup for cloud data validation — verify the orchestrator service is ready after the shared infrastructure step.
от sfc-gh-dflippo★ 35 звёзд на GitHubОб этом скилле
Cloud Data Validation Setup
One-time infrastructure setup for validating migrated data between a source database and Snowflake using the Cloud Data Validation feature via the scai CLI.
Supported sources: SQL Server, Redshift, Oracle, Teradata, PostgreSQL, Snowflake Supported target: Snowflake
Prerequisite
Load ../../data-infrastructure/SKILL.md first. It handles shared prerequisites, compute pool registration, and worker config (source host/port/credentials, source database, source schema). Return here after it completes.
For migration-source projects, validation requires target tables to already be deployed to Snowflake. For Snowflake-to-Snowflake validation, the source and target objects must already exist; do not run deployment or data migration first.
Step 1: Verify Orchestrator Service
After the shared infrastructure step has registered the compute pool, confirm the orchestrator service started:
SELECT SYSTEM$GET_SERVICE_STATUS('SNOWCONVERT_AI.DATA_MIGRATION.DATA_MIGRATION_SERVICE');
If it returns [] (suspended/not started), resume it manually:
ALTER SERVICE SNOWCONVERT_AI.DATA_MIGRATION.DATA_MIGRATION_SERVICE RESUME;
Wait 30-60s and re-check until status shows READY.
This completes infrastructure setup. The actual validation is started later by the validate-objects skill via:
progress_setup(mode="data_validation")— choose full vs incremental (+ sync strategy).validate_data(mode="setup", where=..., validation_type=..., sync_strategy=...)— generatesartifacts/data_validation/workflows/<hash>.yamland patches known toggles / sync strategy.data_infrastructure(mode="up")— bring the shared orchestrator + worker up once. Snowflake-source projects bring up only the orchestrator (start_worker=false).- Agent edits (e.g.
watermarkColumn, partition columns) thenvalidate_data(mode="run", workflow_path=...)— pure dispatch (scai data validate create-workflow) against the already-running infrastructure.
Do not run scai data validate create-workflow directly — use validate_data for dispatch and data_infrastructure for the orchestrator/worker lifecycle. Do not write ad-hoc comparison scripts — use the validation workflow YAML and validate_data instead.
When editing validation workflows, load Workflow Config Reference for camelCase field names (sourceWhereClause, targetWhereClause, indexColumnList, …) and accepted snake_case/legacy aliases. See common edit scenarios there (including excluding drift-prone timestamp columns from row compare before validate_data(mode="run")). For task-level debugging, see Task model reference.
Checklist
Shared infrastructure checklist is owned by ../../data-infrastructure/SKILL.md. Validation-specific items:
- [ ] Compute pool passed to data_infrastructure(mode="up", compute_pool=...) — SPCS only
- [ ] Worker config has no remaining <placeholder> values — unless pure Iceberg or Snowflake-to-Snowflake validation
- [ ] Level 1 scai data doctor — no Fail checks (see data-infrastructure skill)
- [ ] Data Validation Service running (READY)
Return control to the parent skill.
Reference
- Advanced operations reference — rate limiting, incremental DV, revalidate (when the customer asks)
- Workflow Config Reference — field-by-field reference for the per-call validation workflow YAML (
validationConfiguration, per-table overrides, mappings, advanced). Load this when editing the file generated byvalidate_data(mode="setup"). - Task Model Reference
- Data Doctor reference
- Teardown (cost-saving suspend)
Установить data-validation-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл data-validation-setup?
One-time infrastructure setup for cloud data validation — verify the orchestrator service is ready after the shared infrastructure step.
Как установить скилл data-validation-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-validation-setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic