Use when you need to ensure database integrity through comprehensive data validation. This skill validates data types, ranges, formats, referential integrity, and business rules. Trigger with phrases like "validate database data", "implement data validation rules", "enforce data integrity constraints", or "validate data formats".
/plugin marketplace add jeremylongshore/claude-code-plugins-plus/plugin install data-validation-engine@claude-code-plugins-plusThis skill is limited to using the following tools:
assets/README.mdreferences/README.mdscripts/README.mdscripts/configure_validation_rules.pyscripts/generate_validation_report.pyscripts/validate_data.pyBefore using this skill, ensure:
This skill produces:
Database Constraints: SQL DDL statements with CHECK, FOREIGN KEY, and NOT NULL constraints
Validation Reports: Analysis of existing data showing constraint violations with counts and examples
Data Cleanup Scripts: SQL UPDATE/DELETE statements to fix existing data that violates new constraints
Test Results: Documentation of constraint testing with valid/invalid data samples and outcomes
Implementation Log: Timestamped record of constraint application with success/failure status
Constraint Violation Errors:
Permission Errors:
Circular Dependency Errors:
Performance Degradation:
Database-Specific Constraint Syntax:
{baseDir}/docs/postgresql-constraints.md{baseDir}/docs/mysql-constraints.md{baseDir}/docs/sqlserver-constraints.mdValidation Rule Templates: {baseDir}/templates/validation-rules/
Testing Guidelines: {baseDir}/docs/validation-testing.md
Constraint Performance Analysis: {baseDir}/docs/constraint-performance.md
Data Cleanup Procedures: {baseDir}/docs/data-cleanup-procedures.md
Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.