Command Palette

Search for a command to run...

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

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от 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_prompt came back) → setup isn't done. Load ../setup/SKILL.md and 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:

  1. Do the task's work as its skill describes.
  2. Ask what's next. Re-pull migration_status(mode="my_objects_summary") (or migration_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.
  3. Call transition_status to 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 — bypass a precondition, reset an errored task, or skip.

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). Whenever done_count > 0, you must steer the user toward finishObjects before 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_label verbatim. Every group entry carries a server-controlled user_label (e.g. "Generate test cases from source database"). Render it exactly as returned. Do not paraphrase, shorten, or substitute the camelCase group.task identifier — 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>. If group.reason contains a parenthetical like (claimed in another session), include it after the count — e.g. `1 table (claimed in another session) read
Полный SKILL.md на GitHub

Установить migrate-objects в Claude Code и Claude Desktop

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

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

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

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

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

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

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

BASIC_SUPPORT.mdactions/claim_objects.mdactions/data-migration/RUN.mdactions/data-migration/SKILL.mdactions/data-migration/references/background-monitoring.mdactions/data-migration/references/extraction-strategies-reference.mdactions/data-migration/references/iceberg-setup-reference.mdactions/data-migration/references/task-model-reference.mdactions/data-migration/references/troubleshooting-reference.mdactions/data-migration/references/workflow-config-reference.mdactions/etl-aifirst/SKILL.mdactions/etl-aifirst/evals/README.mdactions/etl-aifirst/evals/trigger-baseline-result.jsonactions/etl-aifirst/evals/trigger-eval-set.jsonactions/etl-aifirst/platforms/AUTHORING_CONTRACT.mdactions/etl-aifirst/platforms/README.mdactions/etl-aifirst/platforms/platform_adf.jsonactions/etl-aifirst/platforms/platform_alteryx.jsonactions/etl-aifirst/platforms/platform_datastage.jsonactions/etl-aifirst/platforms/platform_informatica.jsonactions/etl-aifirst/platforms/platform_pentaho.jsonactions/etl-aifirst/platforms/platform_ssis.jsonactions/etl-aifirst/producer/AiFirstProducerDataFlowContext.csactions/etl-aifirst/producer/AiFirstProducerIrHydrator.csactions/etl-aifirst/producer/AiFirstSsisSemanticsShim.csactions/etl-aifirst/producer/CallableMigrator.csprojactions/etl-aifirst/producer/CapturingLogger.csactions/etl-aifirst/producer/DialectPlatform.csactions/etl-aifirst/producer/NoOpEtlSqlProcessor.csactions/etl-aifirst/producer/NoOpServices.csactions/etl-aifirst/producer/NoOpSqlValueMigrator.csactions/etl-aifirst/producer/ProducerOrchestration.csactions/etl-aifirst/producer/ProducerReportHarness.csactions/etl-aifirst/producer/ProducerReports.csactions/etl-aifirst/producer/Program.csactions/etl-aifirst/producer/README.mdactions/etl-aifirst/producer/RecordingEtlAssessmentBuilder.csactions/etl-aifirst/producer/build.shactions/etl-aifirst/pyproject.tomlactions/etl-aifirst/scripts/ai_fill.py

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

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

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

Сравнить migrate-objects с