Arquitecto de migracion
by @felix-antonio-sl
Plan, execute and validate zero-downtime system migrations. Use when migrating databases (schema evolution, data transfer, CDC), services (strangler-fig, can...
clawhub install kv-migration-architectπ About This Skill
name: migration-architect description: Plan, execute and validate zero-downtime system migrations. Use when migrating databases (schema evolution, data transfer, CDC), services (strangler-fig, canary, blue-green, parallel run), or infrastructure (cloud-to-cloud, on-prem to cloud). Generates phased migration plans, compatibility analysis, rollback procedures, runbooks, stakeholder communication templates, and success metrics. compatibility: Requires Python 3.8+ for scripts in scripts/.
Migration Architect
Convert a migration request into a structured, zero-downtime plan with tested rollback procedures.
Activation
Use this skill when the user asks to:
Workflow
1. Classify the migration type: database | service | infrastructure | hybrid.
2. Load patterns for that type from {baseDir}/references/migration_patterns_catalog.md.
3. Run compatibility check if schemas or APIs are provided:
python {baseDir}/scripts/compatibility_checker.py --before= --after=
4. Identify dominant zero-downtime technique (expand-contract, dual-write, CDC, strangler-fig, blue-green, canary). Load {baseDir}/references/zero_downtime_techniques.md if the best technique is unclear.
5. Generate migration plan with phased execution:
python {baseDir}/scripts/migration_planner.py --config=
6. Generate rollback procedures for each phase:
python {baseDir}/scripts/rollback_generator.py --plan=
7. Define validation checkpoints: row counts, checksums, business-logic queries. Load {baseDir}/references/data_reconciliation_strategies.md for reconciliation patterns.
8. Emit output: phased plan + rollback procedures + runbook checklists + success metrics.Output Contract
Functor Information Loss (or equivalent: Irreversible Data Loss Risk) when a phase cannot be rolled back.Risk Tiers
| Tier | Criteria | Required before execution | |------|----------|--------------------------| | LOW | additive schema changes, no data transformation | staging validation | | MEDIUM | data transformation, dual-write window, service cutover | staging + load test + rollback drill | | HIGH | destructive changes, cross-cloud, compliance scope | all above + stakeholder sign-off |
Guardrails
Information Loss).references/ instead.Self Check
Before emitting the plan, verify: