migration-architect
Ce qu’il fait
Cette compétence aide à planifier la migration de bases de données, de schémas, de services et de données avec le moins d'interruption possible. Elle s'adresse aux ingénieurs qui doivent déplacer un système sans le casser pour les utilisateurs.
Quand l’utiliser
- ✓Quand vous prévoyez de déplacer une base de données ou de modifier son schéma sur un système en service.
- ✓Quand vous avez besoin d'une migration sans interruption pour les utilisateurs.
- ✓Quand vous voulez un plan de retour arrière au cas où la migration tournerait mal.
Lien du skill
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/migration-architect/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Planifie une migration sans interruption de notre table des utilisateurs vers un nouveau schéma, avec un plan de retour arrière.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Elle découpe le transfert en phases avec des points de contrôle, vérifie si les anciennes et les nouvelles versions peuvent fonctionner ensemble, et génère des scripts pour annuler chaque étape.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Migration Architect
Tier: POWERFUL
Category: Engineering - Migration Strategy
Purpose: Zero-downtime migration planning, compatibility validation, and rollback strategy generation
Overview
The Migration Architect skill provides comprehensive tools and methodologies for planning, executing, and validating complex system migrations with minimal business impact. This skill combines proven migration patterns with automated planning tools to ensure successful transitions between systems, databases, and infrastructure.
Core Capabilities
1. Migration Strategy Planning
- Phased Migration Planning: Break complex migrations into manageable phases with clear validation gates
- Risk Assessment: Identify potential failure points and mitigation strategies before execution
- Timeline Estimation: Generate realistic timelines based on migration complexity and resource constraints
- Stakeholder Communication: Create communication templates and progress dashboards
2. Compatibility Analysis
- Schema Evolution: Analyze database schema changes for backward compatibility issues
- API Versioning: Detect breaking changes in REST/GraphQL APIs and microservice interfaces
- Data Type Validation: Identify data format mismatches and conversion requirements
- Constraint Analysis: Validate referential integrity and business rule changes
3. Rollback Strategy Generation
- Automated Rollback Plans: Generate comprehensive rollback procedures for each migration phase
- Data Recovery Scripts: Create point-in-time data restoration procedures
- Service Rollback: Plan service version rollbacks with traffic management
- Validation Checkpoints: Define success criteria and rollback triggers
Quick Start — plan → check compatibility → generate rollback
All paths relative to this skill folder; sample inputs in assets/, expected shapes in expected_outputs/.
# 1. Generate the migration plan from a spec (copy assets/sample_database_migration.json)
python3 scripts/migration_planner.py --input migration_spec.json --format json -o migration_plan.json
# 2. Check schema/API compatibility — exits non-zero unless fully compatible (CI gate)
python3 scripts/compatibility_checker.py --before assets/database_schema_before.json --after assets/database_schema_after.json --type database --format json -o compatibility.json
# 3. Generate the rollback runbook from the plan
python3 scripts/rollback_generator.py --input migration_plan.json --format both -o rollback_runbook
Outputs chain: migration_plan.json (phases, risks, estimated_duration_hours) feeds step 3; compatibility.json reports overall_compatibility plus breaking_changes_count / potentially_breaking_count.
Gate: the migration is not approved until (a) compatibility_checker exits 0 (overall_compatibility: compatible) or every breaking/potentially-breaking item is explicitly accepted by the owner in writing, and (b) a rollback runbook exists for every phase in the plan. Re-run both checks after any schema revision.
Migration Patterns
Database Migrations
Schema Evolution Patterns
Expand-Contract Pattern
- Expand: Add new columns/tables alongside existing schema
- Dual Write: Application writes to both old and new schema
- Migration: Backfill historical data to new schema
- Contract: Remove old columns/tables after validation
Parallel Schema Pattern
- Run new schema in parallel with existing schema
- Use feature flags to route traffic between schemas
- Validate data consistency between parallel systems
- Cutover when confidence is high
Event Sourcing Migration
- Capture all changes as events during migration window
- Apply events to new schema for consistency
- Enable replay capability for rollback scenarios
Data Migration Strategies
Bulk Data Migration
- Snapshot Approach: Full data copy during maintenance window
- Incremental Sync: Continuous data synchronization with change tracking
- Stream Processing: Real-time data transformation pipelines
Dual-Write Pattern
- Write to both source and target systems during migration
- Implement compensation patterns for write failures
- Use distributed transactions where consistency is critical
Change Data Capture (CDC)
- Stream database changes to target system
- Maintain eventual consistency during
Questions fréquentes
Peut-elle aussi aider pour les changements d'API ?
Oui, elle peut vérifier les changements d'API et d'interfaces pour détecter les différences non compatibles, en plus des changements de base de données.
Qu'est-ce qu'un script de retour arrière ?
C'est un script qui annule une étape de migration, pour revenir à l'état précédent si quelque chose échoue.
Exécute-t-elle la migration à ma place ?
Elle planifie et génère les scripts, mais votre équipe les relit et les lance elle-même.
Détails
Description originale de l’auteur
Use before planning any database, schema, service or data migration, especially zero-downtime ones. Generates a phased plan, a compatibility check and rollback scripts with migration_planner.py, compatibility_checker.py and rollback_generator.py.
Popularité
- Étoiles GitHub
- 29k
- Position au classement
- #9592
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
agent-launcher-orchestrator
29kAide votre agent à planifier, construire, tester et programmer un agent géré Claude dans votre propre compte, étape par étape, à partir d'un objectif clair.
grade-iterate
29kPermet à votre agent d'évaluer le travail d'un agent IA géré selon une grille et de l'améliorer en un nombre fixe de tours, pour qu'il ne boucle jamais.
interview
29kPermet à votre agent de vous interroger sur une idée d'agent IA et de transformer vos réponses en un plan de construction simple avant tout lancement.
run-without-you
29kAide votre agent à configurer un agent géré IA pour qu'il s'exécute selon un planning ou lorsqu'un événement se produit, avec le calendrier vérifié avant le lancement.
Skills similaires
api-connector-builder
280kPermet à votre agent de créer de nouvelles connexions API en suivant le modèle existant. À utiliser pour ajouter une intégration sans inventer une nouvelle façon de faire.
api-design
280kAide votre agent à concevoir des API REST selon les bonnes pratiques. Utile pour définir la communication entre API, l'affichage des erreurs et l'organisation des données.
backend-patterns
280kAide votre agent avec les architectures côté serveur et l'optimisation des bases de données. Utile pour créer ou relire du code qui s'exécute sur le serveur.