Marketplace
database-migration
Create database migration with schema changes and rollback. Auto-invoke when user says "create migration", "add table", "modify schema", or "change database".
allowed_tools: Read, Write, Edit, Grep, Glob, Bash
$ Installer
git clone https://github.com/alekspetrov/navigator /tmp/navigator && cp -r /tmp/navigator/skills/database-migration ~/.claude/skills/navigator// tip: Run this command in your terminal to install the skill
SKILL.md
name: database-migration description: Create database migration with schema changes and rollback. Auto-invoke when user says "create migration", "add table", "modify schema", or "change database". allowed-tools: Read, Write, Edit, Grep, Glob, Bash version: 1.0.0
Database Migration Generator
Generate database migrations with rollback capability for schema changes.
When to Invoke
Auto-invoke when user mentions:
- "Create migration"
- "Add table"
- "Modify schema"
- "Change database"
- "Database migration for [change]"
What This Does
- Generates migration file with timestamp
- Creates schema change SQL (up migration)
- Creates rollback SQL (down migration)
- Validates SQL syntax
- Follows migration tool conventions (Knex, Prisma, TypeORM)
Success Criteria
- Migration file generated with unique timestamp
- Up migration creates/modifies schema correctly
- Down migration rolls back changes
- SQL syntax is valid
- Follows naming conventions
Auto-invoke when creating database schema changes 🗄️
Repository

alekspetrov
Author
alekspetrov/navigator/skills/database-migration
46
Stars
3
Forks
Updated6d ago
Added1w ago