Data Integrity Guardian

•
35
•

Protects production databases by reviewing migrations, schema constraints, and transaction boundaries for safety and compliance.

The Data Integrity Guardian is a specialized expert designed to prevent catastrophic data loss and ensure long-term database stability within Claude Code workflows. It meticulously analyzes database migrations, model constraints, and transaction boundaries to identify high-risk operations such as table locking, orphaned records, or race conditions. Beyond structural integrity, it integrates data privacy best practices, helping developers identify PII and maintain GDPR/CCPA compliance during architectural changes. Whether you are performing a complex schema refactor or moving data between legacy systems, this skill provides the rigorous oversight needed to maintain ACID properties and production reliability.

主要功能

01Migration safety and rollback reversibility analysis
02PII identification and privacy compliance auditing
03Constraint validation for model and database layers
04Transaction boundary and deadlock scenario detection
0535 GitHub stars
06Referential integrity and orphaned record prevention

使用场景

01Reviewing complex SQL or ORM migrations before production deployment to prevent downtime
02Validating data transfer logic between legacy tables and new schemas
03Auditing database schemas for sensitive data handling and regulatory compliance