migration
БесплатноЗапускает вложенные скриптыНе проверенEnd-to-end database migration and data validation to Snowflake. Orchestrates migrations from source connection through conversion, and project-based…
от 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:
- Continue — I'll pick up your migration where we left off
- 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 (
totalabsent 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 likedeployedare 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
Установить migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic