prepare-migration

Orchestrates the extract, direct, prototype, and assets prep phases that build the data structure for site migration.

1|Updated Jun 22, 2026
One-click install
npx skills add https://github.com/aemgdc/aemdev --skill prepare-migration-aemgdc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prepare-migration
Source: https://github.com/aemgdc/aemdev/tree/main/.agents/skills/prepare-migration
Command: npx skills add https://github.com/aemgdc/aemdev --skill prepare-migration-aemgdc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Migrating an existing website requires a long chain of preparatory steps — extracting page inventories, confirming design direction, prototyping archetypes, and preparing assets — and running them manually in the right order is error-prone. This Skill sequences the entire migrate-prep cascade with confirmation gates so nothing advances without user approval. ## Core Features & Use Cases - Phased cascade orchestration: Runs extract --prep, direct --prep, prototype --prep, and assets prep in order, invoking each underlying skill and brokering per-phase summaries. - Confirmation gates and resume support: Pauses after each phase for user confirmation or refinement, and supports resuming from any phase via --from or skipping gates via --skip-confirm. - Provenance validation: Verifies every page in the inventory has live-render evidence between phases, aborting the cascade if synthesized page records are detected. - Asset preparation: Generates favicon variants, downloads and localizes fonts referenced in canon CSS, and audits brand assets. - Use Case: After extracting a 127-page site and setting a design direction, run the cascade to confirm page types and modules, approve archetypes that establish canon, and produce migrate-ready assets before running the migrate command. ## Quick Start Ask the AI to run prepare-migration on the current stardust project to execute all prep phases with confirmation gates before migrating the site.

Frequently Asked Questions about prepare-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prepare a website for migration with stardust?▼

Run prepare-migration after extracting pages and setting a direction. It executes extract --prep, direct --prep, prototype --prep, and assets prep in sequence, gating each phase on your confirmation before advancing.

How do I resume a migration prep cascade that stopped partway?▼

Use the --from flag with a phase name (extract, direct, prototype, or assets) to resume from a specific phase. Without it, the cascade automatically resumes from the earliest incomplete phase by inspecting project state.

Can I skip the confirmation gates between migration prep phases?▼

Yes, pass --skip-confirm to bypass the per-phase confirmation gates. This is intended for re-runs where the catalog of page types and modules is already settled.

What happens if the provenance check fails during migration prep?▼

The cascade aborts between Phase 1 and Phase 2 and lists the affected page slugs. You re-run extract with --refresh for those slugs to restore live-render evidence before continuing.

Is prepare-migration safe to re-run after completion?▼

Yes, it is idempotent. Already-typed pages, confirmed modules, approved archetypes, and generated favicon variants are not reprocessed, so a full re-run is a no-op unless inputs changed.

What are the limitations of running prepare-migration concurrently?▼

Stardust does not lock project state, so two concurrent runs on the same project are last-write-wins and can corrupt canon. Run only one cascade per project at a time.