new-migration

Community

Safe Alembic database migrations

Authorsumrae412
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a standardized and safe workflow for creating, reviewing, and testing Alembic database migrations, preventing common errors and ensuring data integrity.

Core Features & Use Cases

  • Automated Migration Generation: Creates new Alembic migration files based on a description.
  • Comprehensive Review Checklist: Guides users through critical checks for both upgrade and downgrade functions.
  • Automated Testing: Includes steps to test the migration cycle and verify schema against models.
  • Safety Checks: Emphasizes checks for destructive operations, nullability, and large table modifications.
  • Use Case: A developer needs to add a new column to the users table. This Skill helps them generate the migration, review it for safety (e.g., ensuring a server_default is set for NOT NULL), test the upgrade/downgrade cycle, and even invoke a reviewer agent.

Quick Start

Use the new-migration skill to create a new database migration with the description add_email_to_users_table.

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: new-migration
Download link: https://github.com/sumrae412/claude-skills/archive/main.zip#new-migration

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.