rails-migration-review

Community

Ensure safe Rails database migrations

Authorlekemula
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps prevent production incidents caused by unsafe or inefficient database migrations in Ruby on Rails applications.

Core Features & Use Cases

  • Safety Auditing: Analyzes migrations for potential table locking, data loss, and reversibility issues.
  • Best Practice Enforcement: Checks for adherence to common Rails database migration guidelines and gem usage (e.g., strong_migrations).
  • Use Case: Before merging a new database migration, use this Skill to automatically flag any potential risks like adding a non-nullable column to a large table without a proper strategy.

Quick Start

Review the migration file at 'db/migrate/20231027100000_add_user_email_index.rb' for production safety.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: rails-migration-review
Download link: https://github.com/lekemula/dotfiles/archive/main.zip#rails-migration-review

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 223,000+ vetted skills library on demand.