Command Palette

Search for a command to run...

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

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от 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., .dtsx for SSIS, .xml for 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:

  1. 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.
  2. If a staged dbt project's packages.yml has a local path: 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 depth packages.yml already expects.
  3. 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:
    uv run --project {SKILL_DIR} python {SKILL_DIR}/scripts/check_sync_leaks.py {SESSION_JSON} <file1> [<file2> ...]
    
    Do not copy until this exits 0.

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:

  1. 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.conversionMode is snowflakeScripting, or the unit folder holds standalone mapping stored procedures (CREATE OR REPLACE PROCEDURE) with no dbt projects (no dbt_project.yml).
    • dbt — otherwise (dbt sub-projects present).

    Store the flavor in session. dbt flavor runs the standard path below unchanged. Scripting flavor repla

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

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

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

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

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

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

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

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

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

dbt-fixer/SKILL.mddbt-test-gen/SKILL.mdorchestration-fixer/SKILL.mdorchestration-test-gen/SKILL.mdorchestration-test-gen/assertion-patterns.mdorchestration-test-gen/infrastructure-dedup.mdorchestration-test-gen/mcp-test-execution.mdorchestration-test-gen/stored-procedure-wrapping.mdorchestration-test-gen/test-categorization.mdplatforms/README.mdplatforms/informatica/element-types.mdplatforms/informatica/ewi/SSC-EWI-INF0001.mdplatforms/informatica/ewi/SSC-EWI-INF0003.mdplatforms/informatica/ewi/SSC-EWI-INF0038.mdplatforms/informatica/ewi/SSC-EWI-INF0039.mdplatforms/informatica/ewi/SSC-EWI-INF0040.mdplatforms/informatica/ewi/SSC-EWI-INF0050.mdplatforms/informatica/ewi/SSC-FDM-INF0002.mdplatforms/informatica/ewi/SSC-FDM-INF0015.mdplatforms/informatica/ewi/SSC-FDM-INF0016.mdplatforms/informatica/mapping-guide.mdplatforms/informatica/platform-profile.mdplatforms/informatica/workflow-guide.mdplatforms/ssis/control-flow-guide.mdplatforms/ssis/dataflow-guide.mdplatforms/ssis/element-types.mdplatforms/ssis/ewi/SSC-EWI-SSIS0001.mdplatforms/ssis/ewi/SSC-EWI-SSIS0002.mdplatforms/ssis/ewi/SSC-EWI-SSIS0003.mdplatforms/ssis/ewi/SSC-EWI-SSIS0004.mdplatforms/ssis/ewi/SSC-EWI-SSIS0014.mdplatforms/ssis/ewi/SSC-FDM-SSIS0001.mdplatforms/ssis/ewi/SSC-FDM-SSIS0002.mdplatforms/ssis/ewi/SSC-FDM-SSIS0003.mdplatforms/ssis/ewi/SSC-FDM-SSIS0004.mdplatforms/ssis/ewi/SSC-FDM-SSIS0005.mdplatforms/ssis/ewi/SSC-FDM-SSIS0006.mdplatforms/ssis/platform-profile.mdplatforms/ssis/strip_dead_code.pyproc-fixer/SKILL.md

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

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