What problem does it solve?
This Skill protects production data by identifying risks in database migrations, schema changes, and application code that manipulates persistent data to prevent data loss, corruption, and privacy violations.
Core Features & Use Cases
- Migration Safety Review: Evaluate reversibility, idempotence, long-running operations, and rollback strategies for planned migrations.
- Constraint and Transaction Validation: Verify NOT NULL constraints, foreign keys, uniqueness handling, transaction boundaries, and isolation-level risks that could cause corruption or deadlocks.
- Privacy and Compliance Checks: Detect PII, recommend encryption, retention, anonymization, and audit trail requirements to meet GDPR/CCPA obligations.
- Use Case: Before deploying a major schema migration that splits a user table and rekeys identifiers, run this Skill to identify potential orphaned records, long locks, and steps to migrate existing data safely.
Quick Start
Review the attached migration and model files for rollback safety, referential integrity, transaction boundaries, and PII risks and provide concrete remediation steps and migration strategies.