safe-migrate

Community

Safe migrations with backups and rollbacks.

Authorcreepyblues
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Safely creates and applies database migrations by automatically detecting destructive operations, generating backups, and producing rollback paths to prevent data loss. This ensures that schema changes are performed with guardrails and recoverability.

Core Features & Use Cases

  • Automatic safety checks: detect destructive operations and require backups before application.
  • Backup-first workflow: create table backups and rollback migrations to restore data integrity.
  • Rollback generation: automatically produce corresponding rollback SQL for each migration and guide testing in staging before production.
  • Use Case: When deploying a schema change like adding a column or altering a table, create a migration, analyze risks, backup affected data, apply safely, and have a rollback ready.

Quick Start

Create and run a safe migration from your project root using the safe-migrate workflow.

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: safe-migrate
Download link: https://github.com/creepyblues/kstorybridge-integrated/archive/main.zip#safe-migrate

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.