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★ 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:
- Resolves the converted-artifacts folder and source-definition paths from the registry entry.
- Invokes
etl-stabilizationagainst them. - Updates
codeStatus.stabilizationon 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.pathpoints to a dbt project folder (one per data flow). - Other part types (e.g.
Microsoft.ExecuteSQLTaskfor SSIS) →target.format: "snowflakeSQL",target.pathpoints to a single orchestration.sqlfile 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.mdyet → its Planning Workflow (s
Установить migrate-etl в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic