database-migration

Apply idempotent reconciliation migrations to Aurora MySQL databases.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Awannaphasch2016/jousef-landing --skill database-migration-awannaphasch2016
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration
Source: https://github.com/Awannaphasch2016/jousef-landing/tree/main/.claude/skills/database-migration
Command: npx skills add https://github.com/Awannaphasch2016/jousef-landing --skill database-migration-awannaphasch2016

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymysql, and includes scripts (resource) components.

What problem does it solve?

This skill provides patterns and practices to migrate database schemas safely in Aurora MySQL, focusing on reconciliation migrations and idempotent operations to recover from unknown or drifted states.

Core Features & Use Cases

  • Reconciliation migrations: achieve zero-downtime migrations that work from any intermediate state.
  • Idempotent operations: migrations that can run multiple times without errors, ensuring consistent final state.
  • Drift reconciliation and verification: guidelines, gotchas, and verification steps to validate schema after migration.
  • Real-world workflows: guidance for production deployments, failure handling, rollback-safe migrations, and tooling references.

Quick Start

Use a reconciliation migration pattern to add a new column only if missing and run the verification script to confirm final schema.

Frequently Asked Questions about database-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run idempotent database migrations on Aurora MySQL to fix schema drift?

Idempotent database migrations fix Aurora MySQL schema drift by applying reconciliation patterns that safely run from any unknown state, using schema checks and a verification script to confirm the final state without destructive changes.

What is a reconciliation migration and when do I need it for production database drift?

A reconciliation migration is a zero-downtime operation that achieves a consistent final schema from any intermediate state. You need it for production database drift when your Aurora MySQL schema has diverged and you must safely recover without data loss.

Can I use pymysql to verify schema changes after applying database migrations?

Yes, the skill uses pymysql as its dependency to execute verification scripts that query and confirm the final Aurora MySQL schema state, ensuring the applied database migrations resulted in the expected drift-free structure.

What is the best way to add a missing column safely during an Aurora MySQL migration?

The best way to add a missing column safely is using an idempotent reconciliation migration pattern that checks if the column exists before adding it, followed by running the verification script to validate the final schema state.

Why do my database migrations fail when run multiple times on Aurora MySQL?

Database migrations fail when run multiple times if they are not idempotent. This skill solves that by applying reconciliation migrations with schema checks that prevent duplicate operations, ensuring consistent execution without errors.