Migrating Schema

Acts as the mandatory safety gate for all database schema changes, requiring explicit approval before any migration file is generated. Invoke this skill when a user says "migration", "alter table", "schema change", "add column", "drop column", or mentions "schema.prisma". It produces an impact analysis with risk level, forward SQL (up migration), rollback SQL (down migration), and production recovery steps. HIGH RISK operations — including DROP COLUMN, DROP TABLE, and adding NOT NULL constraints — are blocked until a data migration strategy is confirmed and the user explicitly approves.

xuanjgcarryyou Updated

File contents

xuanjgcarryyou/claude-skill/tree/main/.claude/skills/migrating-schema commit 2da39079a4

Frequently asked questions

npx skillmds@latest add xuanjgcarryyou/migrating-schema