code-add-migration

Community

Safely generate schema migrations for production.

Authorwebdevcody
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents database migrations from breaking production by forcing you to classify schema changes and follow safe, phased rollout plans.

Core Features & Use Cases

  • Migration tooling detection: Identifies whether your project uses Drizzle, Prisma, Knex, or raw SQL so the right generator/runner is used.
  • Change classification + rollout strategy: Categorizes changes as ADDITIVE, MUTATING, or DESTRUCTIVE and produces the correct multi-step deployment plan.
  • Safety guardrails: Flags common landmines like NOT NULL additions on populated columns, UNIQUE constraints with duplicates, missing CONCURRENTLY for large Postgres indexes, and destructive drops done too early.

Quick Start

Ask the AI to create a safe migration plan and generated steps by describing the schema change you want and what migration tool you use.

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: code-add-migration
Download link: https://github.com/webdevcody/go-mailing-list/archive/main.zip#code-add-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 471,000+ vetted skills library on demand.