Agent skill

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.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/backend-migrations

SKILL.md

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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results