# demo-priya/migration-safety-check

Checks a SQL database migration for locking, data loss and rollback risks before it ships, and rewrites it to run safely on a live database. Use when the user is writing or reviewing a database migration or schema change.

- Author: Priya Raman (demo) (https://app.skillsync.com/demo-priya)
- Price: Free
- Version: 1

## Example requests

- "Is this migration safe to run in production?"
- "Help me write a migration to add this column"

## Result

A risk verdict per statement, the locks it takes, and a safer step-by-step version with a rollback.

## Files

- SKILL.md (1774 bytes)
- checklist.md (1288 bytes)
- examples/safe-add-column.sql (841 bytes)

## How to use it

1. Connect the Skillsync MCP server: https://app.skillsync.com/mcp (OAuth sign-in).
2. Add it to your library: https://app.skillsync.com/demo-priya/migration-safety-check
3. Load it with the get_skill tool: `get_skill("demo-priya/migration-safety-check")`, then follow its instructions.
