migrate-objects
БесплатноЗапускает вложенные скриптыНе проверенDeploy and validate all object types (tables, views, functions, procedures) in dependency order. Triggers: deploy objects, migrate objects, deploy tables…
от sfc-gh-dflippo★ 35 звёзд на GitHubОб этом скилле
Migrate Objects
Prerequisite: Support Level Check
Check support from the configure() response.
If support is basic, load BASIC_SUPPORT.md and STOP. Do not continue with the steps below.
On Entry IMPORTANT DO NOT SKIP
Tell the user:
Phase 2: Migrate Objects. Now we'll deploy your objects to Snowflake according to your wave plan (if you created one in assessments). Each object goes through a deploy-test-fix loop.
Step 1: Confirm setup is finished
The Snowflake target (connection + database) and the testing path are
configured by the setup state machine, not here — they're the last
steps of setup, gated behind the post-assessment continueToMigration
prompt. A user who stopped at assessment has none of them yet.
Call progress_setup().
completed: true→ setup is finished; continue to Step 2.- Anything else (a
next_task/next_promptcame back) → setup isn't done. Load../setup/SKILL.mdand drive it to completion, then come back. Don't ask for a connection, database, or testing preference yourself — the machine owns those questions and persists the answers.
This is also the path for a user who answered "Not now" at the gate and has since changed their mind: the prompt is re-offered, and answering "Yes" walks them through the Snowflake target and testing setup.
Advancing and reporting
This rule is the same for every task in the loop below — deploy, test, capture, seed, fix, validate:
- Do the task's work as its skill describes.
- Ask what's next. Re-pull
migration_status(mode="my_objects_summary")(ormigration_status(mode="next_task", object_id="<id>")for one object). The machine advances you when it can see the work is done — a tool wrote the registry field, the object exists in Snowflake, or the expected file exists. - Call
transition_statusto report or override:- a failure you can't fix —
transition_status(status='advance', task='<task>', outcome='failed', error='<sql|infra>'); - an outcome the system can't observe and you had to judge — e.g. "all tests passed" (migrate-object/RUN_TESTS.md), view parity (migrate-object/VALIDATE_VIEW.md), ETL stabilization (migrate-etl/SKILL.md);
- an override —
bypassa precondition,resetan errored task, orskip.
- a failure you can't fix —
The outcome and error vocabulary is defined once in ../extensibility/TASKS.md.
Autonomous mode
If the user asks to run the wave unattended — "autonomous", "auto-pilot", "just migrate everything", "run objects in parallel" — load autonomous/SKILL.md instead of the loop below and follow it. That skill claims work itself and dispatches one subagent per ready task group, up to a parallelism the user picks, escalating only when one gets stuck.
Everything below is the interactive loop: one batch at a time, the user picks every group and every claim. It stays the default — do not offer autonomous mode as a menu item in 2b, and do not switch to it unless the user asks.
Step 2: Object Loop
IMPORTANT Ask the user to /compact between work units to free up context. IMPORTANT
2a. Pull status
Entry call — always. Whenever you enter this skill, you must first call
migration_status(mode="my_objects_summary").
Cache the response — it drives the render in 2b and the drill-down ids in 2c.
If groups is empty, blocked_groups is empty, and errored_count and done_count are both 0, the user has no active claims. Tell them so and go to Step 2c → "User picked claimObjects" to pick up new work.
2b. Render
Finish before claiming new work. Done objects sitting unmerged keep your branch ahead of
main, which forces every teammate to rebase against stale state (or worse, duplicate the work you've already finished). Wheneverdone_count > 0, you must steer the user towardfinishObjectsbefore offering any new claims.
Show only the following status lines, all derived from the cached summary response. Skip any line whose count is zero or whose group is empty — do not write "(no errored bucket)" or "(none)" placeholders, and do not mention buckets that don't apply.
Use
group.user_labelverbatim. Every group entry carries a server-controlleduser_label(e.g."Generate test cases from source database"). Render it exactly as returned. Do not paraphrase, shorten, or substitute the camelCasegroup.taskidentifier — those identifiers (generateTestCases,captureBaseline,extractRules, ...) are opaque to end users and must not appear in your output.
- One line per
group:<group.count> <group.object_type>s ready: <group.user_label>. Ifgroup.reasoncontains a parenthetical like(claimed in another session), include it after the count — e.g. `1 table (claimed in another session) read
Установить migrate-objects в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл migrate-objects?
Deploy and validate all object types (tables, views, functions, procedures) in dependency order. Triggers: deploy objects, migrate objects, deploy tables, deploy views, migrate functions, migrate procedures.
Как установить скилл migrate-objects?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл migrate-objects запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub