safe-migrations

Community

Make every DB migration zero‑downtime and risk‑free.

Authorslbug
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Unsafe database migrations can cause downtime, data loss, and lock contention in production Rails or Sequel applications. This Skill helps developers write migrations that avoid these risks.

Core Features & Use Cases

  • Iron Laws that define safe migration practices such as never dropping columns used by code and never adding defaults on large tables.
  • Three‑step deployment process for adding, backfilling, and removing schema changes without downtime.
  • Pattern libraries for adding columns, indexes, foreign keys, renames, type changes, and backfills with batch processing.
  • Checklists and anti‑patterns to ensure reversibility and safety before committing.
  • Reference guides for PostgreSQL, MySQL, SQLite, and Sequel migration syntax.

Quick Start

Ask the safe‑migrations skill to review a migration file and receive zero‑downtime recommendations.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: safe-migrations
Download link: https://github.com/slbug/claude-ruby-grape-rails/archive/main.zip#safe-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.