prepare-migration
БесплатноБез исполняемых скриптовНе проверенPrepare a whole site for migration by orchestrating the prep cascade — a full-inventory crawl (extract --prep), page-type and module-catalog confirmation…
от adobe★ 342 звезды на GitHubОб этом скилле
stardust:prepare-migration
Orchestrate the migrate-prep cascade. When the user commits to
migrating an existing site, this skill runs the upstream phases
(extract, direct, prototype) in their --prep modes,
sequenced with confirmation gates so the user can confirm or refine
the inferred catalog at each step.
prepare-migration is a thin orchestrator — it does not
duplicate logic from the underlying skills; it invokes them and
brokers the per-phase summaries. The substantive work lives in:
skills/extract/SKILL.md§ Prep modeskills/direct/SKILL.md§ Prep modeskills/prototype/SKILL.md§ Prep mode +reference/canon-extraction.md
When prep is complete, the user runs $stardust migrate
separately. The two-step boundary (prepare-migration then
migrate) is intentional: it makes "I'm committing to migrate
this site" a conscious gesture and keeps idempotency obvious.
Inputs
--from <phase>— optional. Resume the cascade from a specific phase. Values:extract | direct | prototype | assets | dynamics. Default starts from the earliest incomplete phase.--skip-confirm— optional. Skip the per-phase confirmation gates. Useful for re-runs where the catalog is already settled. Default is to gate at every phase boundary. Hands-off mode (skills/stardust/SKILL.md§ Hands-off mode, i.e.state.json.handsOff: true) implies--skip-confirm.--canon-from <slug>— optional. Forward toprototype --prep --canon-from <slug>when that phase runs. Override the default canon-author (which ishome).--refine-module <module-id>— optional. Re-enter Phase 2's module-catalog step for one module — the target ofmigrate's "bespoke slot crossing promotion threshold" hint. Promotes the recurring bespoke slot into that module's slot schema (DESIGN.json.extensions.modules[]), surfaces the change for confirmation, then stops; it does not re-run the full cascade. Affected pages are stale-flagged content-aware perskills/stardust/reference/state-machine.md.
Setup
Run the master skill's setup (
skills/stardust/SKILL.md§ Setup) — impeccable dep check, context loader, state read. Flow guard. This is the redesign flow's orchestrator. Ifstate.json.flowisreplica, refuse: print "never runprepare-migrationbefore or afterreplica" and the switch command ($stardust prepare-migration --switch-flow, which marks the replica artefacts stale — master skill § Two migration flows). Ifflowis absent, resolve it first: only an explicit redesign phrase ("redesign", "modernise", "refresh", "new look") selects this skill — stampflow: "redesign"(skills/stardust/reference/state-machine.md§ Flow keys). Any other migration ask, keep-design phrase or plain "migrate", means this skill does not apply — say so and hand toreplica.Verify
stardust/state.jsonexists with at least one extracted page. If not, recommend$stardust extract <url>and stop.Verify
stardust/direction.mdexists with an active direction. If not, recommend$stardust directand stop.Determine which phases are already complete by inspecting project state:
- extract: every page has a non-null
typeinstate.jsonandcurrent/pages/<slug>.jsoncarries aslotsblock. - direct:
DESIGN.json.extensions.modules[]entries all havestatus: confirmed;colorReservationsandmetadatablocks present. - prototype: every page-type has at least one approved
archetype;
stardust/canon/populated;DESIGN.json.extensions.canonpopulated. - assets: favicon variants in
stardust/migrated/assets/; fonts downloaded. - dynamics:
stardust/dynamic-features.mdpresent with every row carrying a disposition;helix-query.yamlpresent when any listing is index-backed (Phase 4.5 records "none" otherwise).
Resume from the earliest incomplete phase unless
--fromoverrides.- extract: every page has a non-null
Procedure
The cascade runs five phases sequentially. Each phase invokes its
underlying skill via the harness's skill-invocation tool (see the master
skill § Routing for how sub-skills are addressed), surfaces the phase's prep
summary, then waits for user confirmation (unless --skip-confirm
or hands-off mode) before advancing.
Phase 1 — extract --prep
Invoke the stardust extract skill with the argument --prep.
Claude Code form: Skill { skill: "stardust:extract", args: "--prep" }.
The underlying skill runs the standard extract procedure with the
five --prep overlays (lift cap, page typing, module candidates,
typed slots, prep summary).
On completion, surface the summary verbatim, name the flow, and gate — the first interactive gate of the cascade carries the keep-vs-redesign choice (one recorded migration ran this cascade for 3.5 hours before the user asked for the keep-design flow, and the work was discarded):
Flow: redesign — the design
Установить prepare-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл prepare-migration?
Prepare a whole site for migration by orchestrating the prep cascade — a full-inventory crawl (extract --prep), page-type and module-catalog confirmation (direct --prep), archetype prototypes plus design canon (prototype --prep), and asset preparation — with confirmation gates between phases. Builds the typed page inventory, confirmed module catalog, and canon that `migrate` consumes. Use when the user wants to prepare or set up a full-site migration, run migration prep, confirm page types and modules before migrating a site, get a large site ready to migrate, or invokes `$stardust prepare-migration`. Trigger phrases include "prepare the migration", "migration prep", "set up the migration data", "get the site ready to migrate". Redesign-flow only — for same-design migrations `replica` runs its own preserve-mode prep cascade; never chain prepare-migration with replica. Not for running the migration itself (`migrate`) or converting a single page (`deploy`).
Как установить скилл prepare-migration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prepare-migration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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