Command Palette

Search for a command to run...

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

migration

БесплатноЗапускает вложенные скриптыНе проверен

End-to-end database migration and data validation to Snowflake. Orchestrates migrations from source connection through conversion, and project-based…

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

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

Database Migration to Snowflake

Tell the user:

Welcome to Snowflake AIM for Data Warehouses.

On the first message of a session, the plugin injects whether a migration project exists in this directory. If the user's message already states what they want, act on it (Step 1); otherwise begin with Step 0. Either way, do not call migration_status — configure returns the status.

IMPORTANT NOTE

The built-in MCP server has a state machine that will guide you through user flows and ask you to "tell the user x" or "ask the user y". This is expected and you should follow its lead, as it is the official MCP server of Snowflake migrations.

Step 0: Ask first (no tools)

If the user's first message already states what they want (a specific task, or "continue"/"resume"), skip to Step 1. Otherwise greet and ask:

"What would you like to do? You can:

  1. Continue — I'll pick up your migration where we left off
  2. Something specific — tell me what you need"

When the injected context says this directory has no project yet, option 1 is Start a new migration instead.

  • Continue (or "start", "continue", "next", "resume", "keep going") → Step 1.
  • Specific request → Skill Match (no forced configure).

Step 1: Configure — one call, returns status

Call configure with project_dir = "<current directory>". Because this call is what sets project_dir for the session, the response contains both the restored session config and a ## Migration status block — the same JSON migration_status(mode="summary") returns (project_exists, directory_empty, by_type, stage_totals, routing, highest_stage_reached). Route from that block; do not make a separate migration_status call. Later configure calls that re-pass the same project_dir do not repeat the block; use migration_status(mode="summary") when you need a fresh read.

Step 1.A: If project_exists is false, there is no migration project in this directory.

Follow the guidance in the tool response. configure and migration_status surface any migration projects opened before on this machine (a known_projects list plus a guidance line): when they do, offer those to the user to resume — on their pick, call configure(project_dir="<path>") and go back to Step 1, and the now-initialized project resumes via Step 1.B. When there are no known projects, this is a new project — load ./setup/SKILL.md.

Step 1.B: If project_exists is true, construct a brief narrative summary for the user from the JSON before showing the checklist. Use the routing booleans and by_type counts to describe the current state in plain language. Examples of the tone and level of detail:

  • Early setup: "Your project is initialized and connected to SQL Server. 147 objects are registered but haven't been converted yet. We're in the setup phase."
  • Mid-migration: "Setup is complete — 147 objects registered and converted, assessment done. You're in the migration phase: 12 of 47 objects have been deployed so far (Wave 2). 8 tables deployed, 2 views deployed, 2 procedures passed testing."
  • Near completion: "Almost there — 45 of 47 objects are deployed and tested. 2 procedures are still failing tests."

Also add the checklist based on the status JSON. On macOS/Linux use ✅ (all done), ◐ (partial), ⬚ (not started). On Windows use [done] (all done), [in progress] (partial), [ ] (not started) because the default Windows console encoding cannot render Unicode symbols.

<symbol> 1. Connect                  - Connected to <source>
<symbol> 2. Initialize               - Project initialized
<symbol> 3. Register                 - <registered count> objects registered
<symbol> 4. Code Conversion          - <converted>/<total> converted
<symbol> 5. Assessment               - Assessment report generated
<symbol> 6. Migration Setup          - Snowflake target, testing, testbed, and data infra configured
<symbol> 7. Migrate Objects
   - Tables:      <table.deployed>/<table.total> deployed, <table.data_migrated>/<table.total> with data migrated, <table.data_validated>/<table.total> validated
   - Views:       <view.deployed>/<view.total> deployed
   - Functions:   <function.deployed>/<function.total> deployed, <function.tested>/<function.total> tested
   - Procedures:  <procedure.deployed>/<procedure.total> deployed, <procedure.tested>/<procedure.total> tested
   - ETL:         <etl.deployed>/<etl.total> deployed
   - BTEQ scripts: <bteq.tested>/<bteq.total> tested

Use by_type.<type>.total to decide what to show:

  • Type not in the project (total absent or 0): omit that bullet (e.g. no functions in the project).
  • Type present but none in the current wave (total > 0, but the wave-scoped counts like deployed are absent or 0 for this wave): keep it visible and acknowledge it in the narrative. For example, "You also have 1 Informatica ETL workflow staged, scheduled in a l
Полный SKILL.md на GitHub

Установить migration в Claude Code и Claude Desktop

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

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

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

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

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

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

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

ENTRY.app.mdassessment/SKILL.mdassessment/USER_GUIDE.mdassessment/analyzing-sql-dynamic-patterns/SKILL.mdassessment/analyzing-sql-dynamic-patterns/reference/PATTERNS_ORACLE.mdassessment/analyzing-sql-dynamic-patterns/reference/PATTERNS_REDSHIFT.mdassessment/analyzing-sql-dynamic-patterns/reference/PATTERNS_TERADATA.mdassessment/analyzing-sql-dynamic-patterns/reference/PATTERNS_TRANSACT.mdassessment/anti-patterns/SKILL.mdassessment/effort-estimate/SKILL.mdassessment/etl-assessment/SKILL.mdassessment/etl-assessment/pyproject.tomlassessment/etl-assessment/references/ai_summary_guide.mdassessment/etl-assessment/references/analysis_example.mdassessment/etl-assessment/references/analyze_ssis_package.mdassessment/etl-assessment/references/writing_analysis.mdassessment/etl-assessment/scripts/__init__.pyassessment/etl-assessment/scripts/dag_renderer/__init__.pyassessment/etl-assessment/scripts/dag_renderer/dag_template.htmlassessment/etl-assessment/scripts/dag_renderer/render_dags.pyassessment/informatica-assessment/SKILL.mdassessment/informatica-assessment/pyproject.tomlassessment/informatica-assessment/references/ai_summary_guide.mdassessment/informatica-assessment/references/writing_analysis.mdassessment/informatica-assessment/scripts/informatica_assessment_analyzer/__init__.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/__main__.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/analyzer.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/cli.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/models/__init__.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/models/mapping.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/models/workflow.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/repositories/__init__.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/services/__init__.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/services/analysis_service.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/services/analysis_validator_service.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/services/component_organizer_service.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/services/workflow_tracking_service.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/utils/__init__.pyassessment/informatica-assessment/scripts/informatica_assessment_analyzer/utils/config.pyassessment/object_exclusion_detection/LICENSE.txt

FAQ

Что делает скилл migration?

End-to-end database migration and data validation to Snowflake. Orchestrates migrations from source connection through conversion, and project-based in-warehouse validation between Snowflake tables. Triggers: migrate, migration, migrate to snowflake, Snowflake to Snowflake validation, validate Snowflake tables, compare Snowflake databases.

Как установить скилл migration?

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

Скилл migration запускает скрипты?

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

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

Сравнить migration с