Plans a reversible architecture migration with compatibility, data movement, rollout, and rollback. Use for current-to-target transitions; not execution, generic planning, or delivery review.
2k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
527
stars on the repo
on the repository, not the skill itself
Install
one command, takes just this skill from the repository
Goal: Create a safe, reversible transition from an evidenced current architecture to an explicit target architecture. Change only the approved migration document; do not execute migrations, edit product code, build a generic task plan, approve delivery, or hide irreversible steps.
Execution contract: Treat the ordered checkbox workflow below as this skill's Definition of Done. Work through every item in order, and mark it complete only when its action and required evidence are complete. N/A, skipped, unavailable, or delegated items remain incomplete.
Before returning, apply this skill's verdict and approval rules to every incomplete item and prepend Checklist: X/Y complete<br>Incomplete: None | section/item — reason; outcome impact; exact next action; list every incomplete item.
Tool Routing
| Need | Preferred capability | Fallback |
|---|---|---|
| Current and target states | Repository evidence plus approved architecture artifacts | Explicit user-provided states with limitations |
| Consumers and compatibility | Language intelligence, schema tools, config search, telemetry, and direct inspection | Conservative inventory marked UNVERIFIED |
| Data scale and runtime risk | Production metrics, checked-in reports, migrations, and workload evidence | Ranges with validation gates before execution |
| External migration constraints | Official vendor migration and compatibility guidance | Mark dependent phases BLOCKED or UNVERIFIED |
| Document mutation | Minimal patch to the approved migration-plan artifact | Return BLOCKED when authority or path is unclear |
A migration phase must leave the system in a supported state. Additive and reversible steps precede cutover; destructive cleanup follows verified zero use.
Artifact Rules
Reuse a clear architecture migration document; otherwise use docs/architecture/migration-plan.md.
Treat current-state, target-design, baseline, decisions, diagrams, interfaces, and telemetry as optional shared evidence.
Keep the plan architectural: phases, compatibility, data, topology, gates, rollback, ownership, and removal.
Leave file-level implementation tasks to downstream planning.
Separate preparation, coexistence, migration, cutover, stabilization, and removal.
Never describe rollback as "revert" when data or external effects are not reversible.
Give every destructive step explicit approval, backup, restoration, and zero-consumer evidence requirements.
Checklist
1. Establish the Transition Contract
[ ] Resolve migration scope, business outcome, current state, target state, non-goals, deadline or horizon, owners, and approved destination.
[ ] Define source of truth during coexistence and conflict handling for concurrent writes.
[ ] Define backup, restore, RPO/RTO impact, privacy, retention, and audit evidence for data movement.
4. Build Reversible Phases
[ ] Define preparation, shadow or coexistence, progressive migration, cutover, stabilization, and old-path removal as independently verifiable phases.
[ ] For every phase, state prerequisites, changed architecture state, owner, entry gate, observable success, abort condition, rollback or roll-forward action, and exit evidence.
[ ] Define feature flags, routing controls, canary cohorts, rate limits, maintenance windows, and blast-radius controls where justified.
[ ] Define metrics, logs, traces, reconciliation reports, dashboards, alerts, and SLO gates needed before traffic or data movement.
[ ] Keep old and new versions interoperable through realistic deployment ordering and rollback windows.
[ ] Write transition summary, state gap, dependencies, compatibility, data plan, phased sequence, gates, observability, rollback, removal, owners, assumptions, and open decisions.
[ ] Link shared artifacts by stable repository path or title without requiring a particular workflow.
[ ] Re-read every phase for unsupported zero-downtime, zero-loss, consumer, capacity, or reversibility claims.
[ ] Confirm no migration, code, test, deployment, task tracker, or external change was executed.
[ ] Use READY only when phases are safely executable inputs to implementation planning; use REVISE for material compatibility, data, gate, or rollback gaps; use BLOCKED when current state, target state, authority, or safety evidence is unavailable.
Output Contract
# Architecture Migration Plan
**Verdict:** READY | REVISE | BLOCKED
**Artifact:** path
## State transition
- Current state, target state, gap, consumers, and invariants
## Phases
| Phase | Entry gate | Change | Success evidence | Abort condition | Rollback or roll-forward |
|---|---|---|---|---|---|
## Data, compatibility, and removal
- Coexistence, migration, reconciliation, cutover, and zero-use proof
## Open decisions and residual risks
Only items that can change safety, ordering, or reversibility.
How to use it
Copy the folder
Take levnikolaevich/ln-76-architecture-migration-planner from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
Check the name does not clash
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.