Back to Catalog
🗃️
Database Migration Writer
PremiumCreates production-safe database migration scripts that handle schema changes, data transformations, and rollbacks. Generates both 'up' and 'down' migrations with proper ordering, handles foreign key constraints, preserves existing data during column type changes, and includes pre-flight checks. Supports PostgreSQL, MySQL, SQLite, and works with popular migration tools (Prisma, Drizzle, Knex, Alembic, Rails Migrations).
developmentClaude Code
SKILL.mdPreview only
---
name: database-migration-writer
description: >-
Generate safe database migration scripts with up/down operations. Use when
the user asks to create a migration, modify database schema, add a column,
create a table, or change the database structure. Produces reversible
migrations with safety checks and rollback plans.
version: "1.0.0"
tools:
- Bash
- Read
- Write
- Grep
- Glob
---Download
This is a premium skill. Download is included free with any paid plan.
Unlock with any paid plan
Installation
1. Download the ZIP
Click the download button above
2. Extract to skills directory
~/.claude/skills/database-migration-writer/3. Restart Claude Code
The skill auto-discovers on next session