migrate

Detect migration tools and report migration status via Python script.

161|21|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/softspark/ai-toolkit --skill migrate-softspark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate
Source: https://github.com/softspark/ai-toolkit/tree/main/app/skills/migrate
Command: npx skills add https://github.com/softspark/ai-toolkit --skill migrate-softspark

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, applying, and rolling back database migrations while enforcing backup verification and safety checks to avoid accidental data loss.

Core Features & Use Cases

  • Automatic Tool Detection: Scans the project for common migration configurations (Alembic, Prisma, Laravel, Django, Flyway, Drizzle) and maps to the appropriate commands.
  • Status Reporting: Uses a bundled Python script to report detected tool, config file, migrations directory, total migrations, and latest migration file.
  • Safe Workflow: Encourages dry-runs, backup verification, and user confirmations before applying or rolling back migrations; useful for CI checks, release procedures, and developer workflows.

Quick Start

Run the migration status script in the project root, confirm a backup exists, and then apply pending migrations for the detected tool after user confirmation.

Frequently Asked Questions about migrate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely apply database migrations across different frameworks?

To safely apply database migrations, this Skill auto-detects your framework from configuration files and enforces backup verification and dry-runs before applying schema changes to prevent data loss.

What is the best way to roll back a Prisma or Alembic migration?

Rolling back a Prisma or Alembic migration requires verifying a backup exists first. This Skill detects your active migration tool and prompts for user confirmation before executing a safe rollback procedure.

Does this database migration tool support Django and Laravel projects?

Yes, this database migration tool supports Django and Laravel projects. It automatically detects configuration files for Alembic, Prisma, Laravel, Django, Flyway, and Drizzle to run framework-specific commands.

How can I check my database migration status before a release?

To check database migration status before a release, run the bundled Python script in your project root. It reports the detected tool, config file, migrations directory, total migrations, and latest migration file.

Do I need a specific environment to run schema migrations with this tool?

Yes, you need a POSIX shell environment with Python 3 installed to execute the schema migration scripts and commands. The Skill relies on these to run the status reporting and migration automation.

Why should I verify backups before running database schema migrations?

Verifying backups before running database schema migrations prevents irreversible data loss. This Skill enforces safety checks by requiring user confirmation that a backup exists before applying or rolling back any changes.