Claude-skill-registry Backend Migrations

Create and manage database migrations with reversible changes, zero-downtime deployments, and proper version control. Use this skill when creating database migration files, modifying database schemas, adding or removing tables or columns, creating indexes, or managing database versioning. When working with migration files (e.g., `*_migration.rb`, `*.migration.ts`, `alembic/versions/*.py`), schema changes, or database rollback procedures. When implementing backwards-compatible database changes or separating schema migrations from data migrations.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/backend-migrations" ~/.claude/skills/majiayu000-claude-skill-registry-backend-migrations-6605e9 && rm -rf "$T"
manifest: skills/data/backend-migrations/SKILL.md
source content

Backend Migrations

When to use this skill

  • When creating new database migration files
  • When editing existing migration files to add rollback/down methods
  • When adding, removing, or modifying database tables
  • When adding, removing, or modifying database columns
  • When creating or dropping database indexes
  • When implementing zero-downtime deployment strategies
  • When separating schema changes from data migrations
  • When working with migration version control
  • When planning backwards-compatible database changes
  • When working in migration directories or with migration tools (e.g., Alembic, ActiveRecord, Prisma Migrate, Flyway)

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle backend migrations.

Instructions

For details, refer to the information provided in this file: backend migrations