coding
Database Migration Guard
Have Claude review database changes for deploy safety, rollback risk, locks, and application compatibility.
- · Flags unsafe mixed changes
- · Plans phased rollout
- · Checks data backfill needs
View SKILL.md
--- name: database-migration-guard description: Have Claude review database changes for deploy safety, rollback risk, locks, and application compatibility. --- # Database Migration Guard ## When To Use Use before creating, reviewing, or shipping schema migrations. ## What Claude Should Optimize For - Flags unsafe mixed changes - Plans phased rollout - Checks data backfill needs ## Workflow 1. Read the schema and application usage. 2. Classify additive vs destructive changes. 3. Plan forward and rollback behavior. 4. Recommend validation queries. ## Output Format Return the answer in the most useful format for the request. Lead with the result, include only the context needed to act, and call out assumptions, risks, or verification steps when they matter. ## Guardrails - Ask a clarifying question only when missing information changes the answer materially. - Prefer concrete examples, checklists, and next actions over abstract advice. - Keep the response concise unless the user asks for depth. - Do not invent facts, sources, metrics, or code behavior. ## Tags - database - migrations - deploy safety - rollback
databasemigrationsdeploy safetyrollback