概要
The Database Integrity & Data Validation skill automates the critical process of hardening database schemas to prevent data corruption and ensure business rule compliance. It systematically analyzes your existing schema, identifies validation gaps, and generates robust SQL constraints including CHECK, FOREIGN KEY, and NOT NULL definitions. Beyond simple type checking, it handles complex format validation via regex and provides a structured workflow for identifying and cleaning legacy data that violates new rules, ensuring a safe transition to stricter data integrity standards.