DA

database-migration

Protocols for managing database schema migrations safely.

Install

mkdir -p .claude/skills/database-migration-dokhacgiakhoa && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14211" && unzip -o skill.zip -d .claude/skills/database-migration-dokhacgiakhoa && rm skill.zip

Installs to .claude/skills/database-migration-dokhacgiakhoa

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

MASTER DB: Zero-Downtime, Schema Design (3NF), SQL/NoSQL.
57 charsno explicit “when” trigger
Advanced

Key capabilities

  • Simulate database migrations with a dry run
  • Design zero-downtime transition strategies
  • Execute migrations while monitoring database health
  • Architect database schemas using 3NF principles

How it works

The skill executes a dry run of the migration, plans a zero-downtime strategy, and then runs the migration while observing database health.

Inputs & outputs

You give it
Database schema changes or migration scripts
You get back
A successfully migrated database with maintained integrity and performance

When to use database-migration

  • Performing zero-downtime migrations
  • Simulating schema changes
  • Designing 3NF schemas
  • Observing DB health during updates

About this skill

🗄️ 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.
    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.

When not to use it

  • When data integrity and availability are not critical concerns
  • When simple schema changes do not require a dry run or monitoring
  • When the database is not complex or does not require 3NF schema design

Limitations

  • The skill requires a dry run before actual execution
  • The skill focuses on zero-downtime strategies, which may add complexity
  • The skill requires monitoring database health during execution

How it compares

This skill mandates a dry run and active monitoring during migration, ensuring data integrity and performance, unlike direct execution that risks downtime or data corruption.

Compared to similar skills

database-migration side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
database-migration (this skill)02moReviewAdvanced
drizzle-orm322moNo flagsIntermediate
database-design66moReviewIntermediate
database-schema-designer66moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry