Command Palette

Search for a command to run...

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

migrate-etl

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

Stabilize an ETL code unit (SSIS, Informatica, or other platforms) by handing the converted artifacts off to etl-stabilization and recording the result on the…

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

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

Migrate ETL

Wraps actions/etl-stabilization/SKILL.md so it runs as a state-machine task on a single ETL code unit.

The platform of an ETL code unit is recorded on its registry entry as source.platform (ssis, informatica, …). etl-stabilization already covers every supported platform via per-platform profiles in actions/etl-stabilization/platforms/. This skill does not replicate that work — it only:

  1. Resolves the converted-artifacts folder and source-definition paths from the registry entry.
  2. Invokes etl-stabilization against them.
  3. Updates codeStatus.stabilization on the registry entry when etl-stabilization finishes (or the unit is excluded).

Scope

Stabilization for this version means: run etl-stabilization until its Final Validation phase reports clean. That covers everything etl-stabilization does — scan, ROADMAP, phased TDD across orchestration elements and dbt sub-projects, EWI fixes, etc.

After stabilization: the unit advances to deploy. Deploying the stabilized ETL to Snowflake is handled by scai code deploy through the deploy tool (see Step 4), not by this skill and not by hand-running snow. Deploy is no longer terminal for ETL — once deployed, the unit advances to etlSeed and etlValidate to compare the live source package against the Snowflake output.

This skill is the orchestrated (registry-backed) entry point for ETL stabilization. It claims the unit and records the result on the registry, then delegates the actual fixing to etl-stabilization.

Step 0: Claim Ownership

The ETL unit must be claimed before stabilization begins, so it is registered in MIGRATION_REGISTRY.claims, shows the current user as owner, and appears in my_objects_summary alongside SQL objects. Resolve <etl_id> first: the executor passes object_id; if entered by name ("fix ETL package …"), locate the unit via migration_status(mode="my_objects_summary") (already-claimed) or migration_status(mode="next_objects") (not yet claimed).

Resumption check first. If {UNIT}/stabilization/tracking/STATE.md already exists, stabilization is already in progress and the unit was claimed on a prior run — skip claiming and go to Step 1.

Otherwise claim it:

transition_status(status="begin", where="id = '<etl_id>'")

begin is idempotent (it refreshes the claim if the unit was already claimed via the picker), so it is safe to call whenever no STATE.md exists. Surface any error and stop without retry.

Step 1: Resolve Inputs From the Registry

Read the unit (the executor passes object_id, or call migration_status(mode="my_objects_details", group=<id>)):

Field Used as
files.source.path source definition file (e.g. .dtsx for SSIS, .xml for Informatica) — {SOURCE_FILE_PATH} for etl-stabilization
source.platform {PLATFORM_ID} for etl-stabilization (skip its Step 1b auto-detect prompt)
parts[] → derived converted folder {PACKAGE_FOLDER} for etl-stabilization

Deriving the converted folder. Where the converted output lives depends on the conversion flavor:

dbt / SSIS ETL — recorded per part in parts[].target:

  • Data-flow parts (e.g. partType: "Microsoft.Pipeline" for SSIS) → target.format: "dbt", target.path points to a dbt project folder (one per data flow).
  • Other part types (e.g. Microsoft.ExecuteSQLTask for SSIS) → target.format: "snowflakeSQL", target.path points to a single orchestration .sql file shared by every non-dbt part of this code unit.

Resolve {PACKAGE_FOLDER} as the parent directory of any part whose target.format == "snowflakeSQL". The dbt sub-project folders should sit alongside that orchestration file under the same parent — verify before handing off. If parts[] is empty or no part has a target yet, the converted output has not been produced — the convert task should have run first. Surface that to the user and stop; do not try to stabilize an unconverted ETL unit.

Snowflake Scripting ETL (project etl_target = snowflake_scripting) — each converted mapping is its own kind=etl unit with an empty parts[]; the converted stored procedure is on the code-unit root at files.converted.path (target.format: "snowflakeSQL"), and there are no dbt sub-project folders. Resolve {PACKAGE_FOLDER} as the parent directory of files.converted.path. An empty parts[] here is expected — not a sign of missing conversion; only treat the unit as unconverted if files.converted.path is also absent.

Step 2: Hand Off to etl-stabilization

Load ../actions/etl-stabilization/SKILL.md and run its workflow with the inputs from Step 1. You are skipping its Step 1 (Gather Inputs) prompt because the registry already provides every value it would have asked for.

Follow etl-stabilization end-to-end:

  • no STATE.md yet → its Planning Workflow (s
Полный SKILL.md на GitHub

Установить migrate-etl в Claude Code и Claude Desktop

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

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

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

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

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

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

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

etl-seed/SKILL.mdetl-validate/SKILL.md

FAQ

Что делает скилл migrate-etl?

Stabilize an ETL code unit (SSIS, Informatica, or other platforms) by handing the converted artifacts off to etl-stabilization and recording the result on the registry entry.

Как установить скилл migrate-etl?

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

Скилл migrate-etl запускает скрипты?

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

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

Сравнить migrate-etl с