Backend Migrations

Generate reversible database migration scripts for schema changes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/devmatrix-ai/devmatrix-mvp --skill backend-migrations-devmatrix-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Backend Migrations
Source: https://github.com/devmatrix-ai/devmatrix-mvp/tree/main/.claude/skills/backend-migrations
Command: npx skills add https://github.com/devmatrix-ai/devmatrix-mvp --skill backend-migrations-devmatrix-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual or poorly managed database schema changes can lead to data loss, application downtime, and complex rollbacks. This Skill ensures safe, versioned, and reversible migrations, protecting your data and application stability.

Core Features & Use Cases

  • Create/Modify Migration Files: Generate and manage database schema change scripts (e.g., Alembic, Django migrations).
  • Manage Schema Evolution: Systematically evolve your database schema with version control.
  • Implement Rollback Strategies: Design reversible migrations to safely revert changes if issues arise.
  • Use Case: When adding a new column to a user table, use this Skill to generate an Alembic migration script that is reversible and ensures no data loss or downtime during deployment.

Quick Start

Generate a new backend migration to add a 'last_login' timestamp column to the 'users' table, ensuring it's nullable and has a default value.