forge-migrations

Community

Ship zero-downtime SQL migrations safely.

Authorf4rkh4d
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents AI-generated database migrations from causing production incidents like long table locks, full-table rewrites, unsafe index creation, or irreversible schema changes during live traffic.

Core Features & Use Cases

  • Lock-free, zero-downtime migration patterns: Guides safe sequencing for Postgres and MySQL (including concurrent index creation and NOT VALID + VALIDATE foreign keys/constraints).
  • Safe schema evolution with reversibility: Enforces immutability after merge, timestamped ordering, and explicit down steps that fail loudly for irreversible actions.
  • Operationally correct backfills: Requires batched data updates (and running large backfills outside migration tools) to reduce WAL/lock pressure.

Quick Start

Ask the AI to rewrite the migration as safe, zero-downtime steps for Postgres or MySQL, including backfill strategy, concurrent indexes, NOT VALID + VALIDATE constraints/foreign keys, and an explicit reversible down plan.

Dependency Matrix

Required Modules

None required

Components

assetsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: forge-migrations
Download link: https://github.com/f4rkh4d/forge-skill/archive/main.zip#forge-migrations

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.