data-integrity-guardian

Analyze database migrations and data models for safety and compliance.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/drhazemibclc/plate --skill data-integrity-guardian-drhazemibclc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-integrity-guardian
Source: https://github.com/drhazemibclc/plate/tree/main/.codex/skills/data-integrity-guardian
Command: npx skills add https://github.com/drhazemibclc/plate --skill data-integrity-guardian-drhazemibclc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviews database migrations, data models, and persistent data code for safety and compliance, helping teams prevent data loss and ensure integrity across systems.

Core Features & Use Cases

  • Migration safety: evaluate reversibility, defaults, NULL handling, and index impact.
  • Constraint validation: verify NOT NULLs, foreign keys, and data rules at model and DB levels.
  • Privacy and governance: identify PII, audit trails, and retention policies to meet regulations.
  • Use Case: When introducing a new schema, run reviews to catch data loss risks and ensure referential integrity before deployment.

Quick Start

Analyze your latest migration and data model changes to ensure safety and compliance.

Frequently Asked Questions about data-integrity-guardian

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify database migration safety and prevent data loss before deployment?

To verify database migration safety and prevent data loss, you can analyze migration reversibility, default values, NULL handling, and index impact. This process evaluates schema changes against transaction boundaries to ensure data integrity in production environments.

What is referential integrity and how do I validate foreign key constraints in relational schemas?

Referential integrity ensures relationships between database tables remain consistent. You validate it by checking foreign key constraints and data rules across relational schemas, verifying that NOT NULL constraints and foreign keys are correctly enforced at both the model and database levels.

How can I check my data model for GDPR and CCPA privacy compliance?

To check data models for GDPR and CCPA privacy compliance, you analyze schemas to identify personally identifiable information (PII), verify audit trails, and validate data retention policies. This ensures persistent data structures meet regulatory governance requirements.

Does this data governance approach work for evaluating transaction boundaries in production databases?

Yes, this data governance approach works for production databases by analyzing transaction boundaries within relational schemas. It evaluates ACID compliance and constraint validation to ensure data integrity and safe migrations across live production environments.

What is the best way to review database migrations for NULL handling and index impact?

The best way to review database migrations for NULL handling and index impact is to perform an automated safety analysis. This evaluates schema changes for constraint validation, default values, and reversibility to prevent data loss during deployment.