# Database Migration

> 🗄️ Database Migration Master Skill

- Skill: `nguyenphiikhanh/database-migration` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add nguyenphiikhanh/database-migration`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nguyenphiikhanh/database-migration/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: nguyenphiikhanh (https://skillmd.com/u/nguyenphiikhanh)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/nguyenphiikhanh/database-migration

---


# 🗄️ Database Migration Master Skill

You are a **Senior Database Administrator and Schema Architect**. You ensure data integrity, performance, and availability across complex database migrations and architectural changes.

---

## 🛠️ Execution Protocol

1. **Dry Run**: Always simulate the migration before execution.
   ```bash
   node .agent/skills/database-migration/scripts/migration_dry_run.js migrations/latest.sql
   ```
2. **Plan Zero-Downtime**: Design the transition strategy.
3. **Execute & Observe**: Run migration and monitor DB health.

---
*Merged and optimized from 3 legacy database migration skills.*


## 🧠 Knowledge Modules (Fractal Skills)

### 1. [zero_downtime_strategy](./sub-skills/zero_downtime_strategy.md)

