project-migration
Project Migration
Treat the request as project migration, repository migration, or engineering-system migration by default. Optimize for business continuity, behavior parity, rollback safety, and controlled scope rather than opportunistic rewrites.
Do not use this skill when the user mainly wants a project handover or successor-facing takeover document without a real migration goal. In those cases, prefer project-handover-generator.
Workflow
Use this default phase order unless the user explicitly narrows the request:
intake -> audit -> map -> diff -> plan -> pilot -> execute -> verify -> cleanup
If the user does not specify a phase, complete only the current phase, then stop and present outputs, status, risks, and the recommended next phase.
If the user specifies a phase, complete the minimum prerequisite phases needed to produce a credible result. If phase artifacts already exist, update them instead of restarting.
If the user changes an earlier phase after later-phase work already exists, revise the earlier phase first and then check all affected downstream phases.
Operating Rules
- Prefer migration-first, governance-later unless the user explicitly wants a broader rewrite.
- Audit inherited or undocumented projects before giving large migration execution advice.
- Split work by business slice, route slice, or flow instead of file type.
- Prefer adapters, bridge layers, or compatibility layers for major old-vs-new differences before rewriting business logic.
- Inspect and record hidden dependencies, especially globally registered components, global mixins, prototype injections, env vars, route guards, permission injection, analytics, monitoring, theme variables, upload and download behavior, bootstrap logic, global styles, and
windowinjections. - State assumptions and unknowns explicitly when information is incomplete.
- Produce concrete artifacts, preferably under
docs/migration/, rather than only conversational advice. - Report every phase with the current phase, inputs, actions, outputs, exit criteria, risks, and next step.
Phase Selection
Choose the phase from the user request and repository evidence:
- Use
intaketo clarify scope, goals, constraints, non-scope, and success criteria. - Use
auditwhen documentation is weak or the old project is not yet understood. - Use
mapto build system maps, route and module maps, and style asset inventories. - Use
diffto compare the old and new repositories and classify direct migration, adaptation, and deferral points. - Use
planto create batchable migration plans, pilot scopes, adapters, validation, and rollback design. - Use
pilotto validate the migration method on one representative slice. - Use
executeto scale migration in batches while tracking blockers and residual risk. - Use
verifyto validate routes, APIs, permissions, analytics, monitoring, performance, release readiness, and rollback readiness. - Use
cleanupto remove transitional debt and define post-migration governance.
Default to intake or audit first when the user says things like "no documentation", "I don't understand the old project", or "map it first".
Output Discipline
Use the status structure in references/status-schema.md whenever possible.
When producing artifacts, prefer the templates and checklists in:
references/phase-guide.mdreferences/update-rules.mdreferences/status-schema.mdreferences/artifact-templates.mdreferences/migration-checklists.mdreferences/risk-playbook.md
When style normalization or token mapping is requested, complete the style asset inventory first before defining token mappings.
More from hubvue/skills
prompt-interviewer
Senior Prompt Engineer and Prompt Interviewer that interviews users to refine and complete their prompts through structured analysis and iterative questioning. Use when a user has an initial prompt but needs help refining it for better LLM performance: (1) When a prompt lacks clarity or context, (2) When constraints or boundaries are missing, (3) When output formats or quality criteria are undefined, (4) When there are ambiguities or conflicting requirements
15deep-learning
Systematically learn and explain the principles of a library, framework, module, function, or code path. Use when a user wants to understand overall architecture, module responsibilities, execution flow, call chains, core data structures, design tradeoffs, implementation details, or interview-ready explanations from source code.
5context-probe
Minimal Context Sentinel Installer (All-Layers Broadcast). Installs a hard Context Sentinel rule into EVERY detected rule file to force assistant to append a sentinel token to every response. Use when (1) Installing context monitoring via /context-probe, (2) Checking installation status via /context-probe status, (3) Uninstalling via /context-probe off.
4dev-spec
Spec-driven development workflow skill for product requirement intake, engineering research, technical planning, task breakdown, implementation, testing, bugfix loop, and engineering review. Use when a user wants to run or continue a structured software delivery workflow with explicit specs, durable artifacts, and iterative implementation/testing loops.
3prompt-minifier
Minify verbose prompts into semantically equivalent minimal prompts while preserving behavior. Supports configurable output modes (prompt-only or prompt + compression report).
3skills-workflow
Interactive skills workflow for chaining multiple skills where the output of step i becomes the input of step i-1. Use when you need to: (1) Chain multiple skills together in a specific order, (2) Pass outputs between skills as inputs, (3) Execute complex multi-step workflows with traceability, (4) Run skills in dry-run mode before execution, (5) Debug or audit multi-skill workflows
3