multiAI Summary Pending

backend-migrations

Create reversible, focused database migrations with proper naming, version control practices, and zero-downtime deployment considerations. Use this skill when creating or editing migration files in database/migrations/, when writing schema changes (creating/modifying tables, columns, indexes, foreign keys), when implementing migration rollback methods, when managing database version control, when adding or modifying indexes on large tables, or when separating schema changes from data migrations for safer deployments.

231 stars

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/backend-migrations/SKILL.md --create-dirs "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/devanb/backend-migrations/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/backend-migrations/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How backend-migrations Compares

Feature / Agentbackend-migrationsStandard Approach
Platform SupportmultiLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Create reversible, focused database migrations with proper naming, version control practices, and zero-downtime deployment considerations. Use this skill when creating or editing migration files in database/migrations/, when writing schema changes (creating/modifying tables, columns, indexes, foreign keys), when implementing migration rollback methods, when managing database version control, when adding or modifying indexes on large tables, or when separating schema changes from data migrations for safer deployments.

Which AI agents support this skill?

This skill is compatible with multi.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Backend Migrations

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.

## When to use this skill

- When creating new migration files in `database/migrations/` directory
- When editing existing migration files (with caution for deployed migrations)
- When writing table creation or modification logic using Schema builder
- When implementing migration rollback/down methods for reversibility
- When adding or modifying database columns, indexes, or constraints
- When creating or dropping foreign key relationships
- When renaming tables or columns
- When adding indexes to tables, especially large production tables
- When separating schema changes from data migrations
- When considering zero-downtime deployment strategies for migrations
- When writing data migrations or seeders that modify existing records
- When planning backwards-compatible database changes

## Instructions

For details, refer to the information provided in this file:
[backend migrations](../../../agent-os/standards/backend/migrations.md)