etl-stabilization
БесплатноЗапускает вложенные скриптыНе проверенPhase-based orchestrator for fixing SnowConvert ETL conversion gaps in ETL-to-Snowflake migrations (SSIS, Informatica, and other platforms). Analyzes units…
от sfc-gh-dflippo★ 35 звёзд на GitHubОб этом скилле
ETL Orchestrator
Fix SnowConvert ETL conversion gaps through phased execution with upfront unit analysis, agent-determined test strategies, and cross-phase learning.
Prerequisites
- Converted ETL unit folder (orchestration
.sql+ optional dbt subfolders) - Original source definition file (e.g.,
.dtsxfor SSIS,.xmlfor Informatica) - Active Snowflake connection with a warehouse
- DATABASE + SCHEMA with write privileges (
CREATE TABLE,CREATE FUNCTION,CREATE PROCEDURE)
When the converted-output folder is not isolated
The default contract above assumes one folder per unit. If instead you're handed a flat, whole-repository conversion output where a dbt project is referenced by more than one sibling unit's orchestration file (e.g. Informatica SHORTCUT mappings reused across workflows), do not edit the shared project in place:
- Stage a real copy of the orchestration file and every dbt project it references under
{PACKAGE_FOLDER}/Output/ETL/{unit}/. Treat the original location read-only until sync-back. - If a staged dbt project's
packages.ymlhas a localpath:dependency, do not edit the path to account for the extra staging depth — that breaks canonical when synced back. Instead, symlink the shared-assets directory into the unit folder at the depthpackages.ymlalready expects. - Before syncing any fix back, run the leak gate on every touched file, then diff against the original — test-environment values (schema/database names, credentials) must never reach the canonical copy:
Do not copy until this exits 0.uv run --project {SKILL_DIR} python {SKILL_DIR}/scripts/check_sync_leaks.py {SESSION_JSON} <file1> [<file2> ...]
Persistent Files
All files stored in {UNIT}/stabilization/:
| File | Purpose |
|---|---|
planning/scan.json |
Unit scan output (elements, EWIs, dbt projects) |
planning/orchestration-context.md |
Orchestration structural understanding (statements, element relationships, containers) |
planning/dbt-context.md |
dbt project analysis (model inventory, health, source mapping, bootstrap blockers). Only present when unit has dbt projects. |
planning/source-excerpts.md |
Source-definition excerpts for traceability (conditional — only if source file is large) |
planning/ROADMAP.md |
Phase plan (agent-authored from template; updated in-place during execution). Never delete content. |
tracking/STATE.md |
Resumption bookmark (GENERATED — use track_status.py commands, do not edit directly) |
tracking/progress.json |
Element-level tracking (machine-readable) |
tracking/fix-log.md |
Append-only record of every fix applied. Absent until Phase 1 completes. |
phases/phase-{N}/ |
Per-phase artifacts: baselines, batch reports, learnings, infrastructure SQL |
report.html |
Self-contained HTML report aggregating all artifacts. Generated during Final Validation by generate_report.py. |
Progressive disclosure: Reference files are loaded on-demand — only read a reference file when its content is needed for the current step.
Agent Wait Protocol
NEVER use bash sleep, bash_output, or cortex agent output to wait for agents.
You are the orchestrator. Do not spawn a subagent whose job is "run etl-stabilization" or "execute Phase N". Named teammates (context mappers, test-gen, fixer, apply-fixes) are the only valid spawns.
Claim in-flight work only from this turn's spawn tool results. If this turn did not return live agent ids, nothing is running. Do not tell the user a subagent is executing.
How to wait, by spawn mode:
run_in_background=false(planning mappers, and any blocking spawn): results return in this turn. Process them here. Do not end the turn to wait.run_in_background=true: spawn all agents in one message (parallel tool calls). Confirm each spawn returned an agent id. Then end the turn — no extra tool calls, no "still running" narration. A new turn arrives when each agent finishes. Process that result, then verify output files exist.
Do not attempt to call agent_output — it may not be available and failed attempts waste a turn.
Stall: If STATE.md / phase artifacts have not changed and you have no live agent ids, you are stalled. Resume from STATE.md (Execution Workflow) or tell the user it stalled — do not keep claiming work is in progress.
Entry Point
On every invocation:
Detect the conversion flavor. Before anything else, determine whether this unit is a Snowflake Scripting conversion or a dbt conversion:
- Scripting — the code unit's
extensions.conversionModeissnowflakeScripting, or the unit folder holds standalone mapping stored procedures (CREATE OR REPLACE PROCEDURE) with no dbt projects (nodbt_project.yml). - dbt — otherwise (dbt sub-projects present).
Store the flavor in session. dbt flavor runs the standard path below unchanged. Scripting flavor repla
- Scripting — the code unit's
Установить etl-stabilization в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл etl-stabilization?
Phase-based orchestrator for fixing SnowConvert ETL conversion gaps in ETL-to-Snowflake migrations (SSIS, Informatica, and other platforms). Analyzes units holistically, creates a ROADMAP with test strategies, and executes fixes through phased TDD with cross-phase learning. Use when user says "fix ETL unit", "fix SSIS conversion", "fix Informatica conversion", "resume ETL fixing", "run next phase", or when processing a converted ETL unit folder containing orchestration SQL, optional dbt sub-projects, and the original source definition file (e.g., DTSX for SSIS, XML for Informatica). Do NOT use for non-ETL migrations or greenfield dbt projects.
Как установить скилл etl-stabilization?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл etl-stabilization запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic