Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

data-infrastructure-setup

БесплатноБез исполняемых скриптовНе проверен

Shared infrastructure setup for data migration and data validation — prerequisites, compute pool, worker config, and source database/schema capture.

sfc-gh-dflippoот sfc-gh-dflippo★ 35 звёзд на GitHub

Об этом скилле

Data Infrastructure Setup

Overview — Tell the User

Before starting any configuration, tell the user verbatim:

Snowflake's Data Migration and Validation Framework is a fault-tolerant, scalable system for Snowflake Migrations. It uses a two-component architecture: an Orchestrator that runs inside your Snowflake account (on Snowpark Container Services) and breaks migration work into parallel tasks, and one or more Workers that run in an environment of your choice, connect and read data from your source system, and upload it to your Snowflake account.

You make two independent placement choices in Step 0: where the orchestrator runs — local (on your machine, no compute pool — simplest) or SPCS (on a Snowpark Container Services compute pool — scalable) — and where each worker runs (usually your machine, since it reads your source; optionally other VMs, SPCS, or Kubernetes). The two don't have to match; nothing about compute pools matters until you put the orchestrator on SPCS.

You are in full control of what gets migrated and how. You decide which tables to include, how they are partitioned for extraction, whether to use incremental synchronization or full loads, and how many workers run in parallel. You can filter rows, remap column names and types, and stop or resume the process at any point without losing progress. Nothing runs until you review and approve the configuration.

The same infrastructure is used for validation. You choose what level of validation to run: schema validation, metrics validation, and row-level validation.

Metadata storage mode (trial accounts): On Snowflake accounts without Hybrid Table support, the orchestrator falls back to standard/TRANSIENT metadata tables automatically. That path preserves correctness but reduces task-queue throughput under contention and effectively limits how many workers you should run in parallel — start with fewer workers and scale up carefully. This is not the same as L3 “hybrid” row validation. See Metadata storage mode reference.

Always use the official tooling for data movement and validation. Route table migration through migrate_data and validation through validate_data. Do not suggest ad-hoc extract/copy/compare scripts — the DMVF orchestrator and workers handle partitioning, loading, and multi-level validation.

Supported sources: SQL Server, Redshift, Oracle, Teradata, PostgreSQL, Snowflake (validation only) Supported target: Snowflake

Architecture

┌──────────────────┐     ┌──────────────────────────────────────┐
│  Customer Env     │     │         Snowflake Account             │
│  ┌─────────────┐ │     │  ┌────────────────────────────────┐  │
│  │  Worker(s)   │─┼─────┤  │  Orchestrator (SPCS)            │  │
│  └──────┬──────┘ │     │  │  → migration + validation tasks │  │
│         │ reads   │     │  └────────────────────────────────┘  │
│  ┌─────────────┐ │     │  ┌────────────────────────────────┐  │
│  │Source System │ │     │  │  Target Tables                  │  │
│  └─────────────┘ │     │  └────────────────────────────────┘  │
└──────────────────┘     └──────────────────────────────────────┘
  • Orchestrator runs on SPCS (requires a compute pool) or locally. Handles migration workflows (break into tasks, COPY INTO) and validation workflows (schema/metrics/row comparison).
  • Worker runs locally. Reads from the source and uploads to a Snowflake stage (migration) or streams rows for comparison (validation). Not needed for most Iceberg migration strategies.
  • Snowflake-to-Snowflake validation runs in warehouse. It uses the orchestrator but no Data Exchange Worker. Do not generate worker config, ask for worker placement, or start a worker for a Snowflake source project.
  • The orchestrator + worker are shared, brought up ONCE, and reused across every migrate_data / validate_data dispatch (migrate → validate → revalidate all run against the same infrastructure). Bring it up with data_infrastructure(mode="up") and tear it down with data_infrastructure(mode="down") (local) or ./teardown/SKILL.md (SPCS). Dispatch does not start or resume infrastructure — if it is not up, migrate_data / validate_data return a remediation pointing back to data_infrastructure(mode="up").
  • Whenever infrastructure starts, tell the user that idle infrastructure can accrue Snowflake credits until teardown — the data_infrastructure(mode="up") response includes a cost_reminder field to relay.

The data_infrastructure tool

Use the data_infrastructure tool (modes up / down / status) to manage the shared orchestrator + worker lifecycle — pass compute_pool to run the orchestrator on SPCS, omit it for local; start_worker=false skips the local worker (Iceberg / externally-managed workers). Call up once be

Полный SKILL.md на GitHub

Установить data-infrastructure-setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

compute-pool-setup/SKILL.mdreferences/advanced-operations-reference.mdreferences/affinity-reference.mdreferences/data-doctor-reference.mdreferences/metadata-storage-mode-reference.mdreferences/worker-config-reference.mdteardown/SKILL.mdworker-distributed-setup/SKILL.mdworker-k8s-external/SKILL.mdworker-local-setup/SKILL.mdworker-spcs/SKILL.md

FAQ

Что делает скилл data-infrastructure-setup?

Shared infrastructure setup for data migration and data validation — prerequisites, compute pool, worker config, and source database/schema capture.

Как установить скилл data-infrastructure-setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл data-infrastructure-setup запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить data-infrastructure-setup с