What problem does it solve?
This Skill addresses the critical need to prevent catastrophic data loss or corruption by ensuring database schema correctness, data integrity, transaction safety, and query performance.
Core Features & Use Cases
- Schema Validation: Verifies that database tables, columns, and constraints are correctly defined and enforced.
- Data Integrity Testing: Ensures unique keys, foreign key relationships, and check constraints prevent invalid or orphaned records.
- Migration Testing: Validates that database migrations (forward and rollback) work correctly and preserve existing data.
- Use Case: Before deploying a new feature that modifies the database schema, use this Skill to test the migration script, ensuring it adds the new columns correctly, is reversible, and preserves all existing user data.
Quick Start
Use the database-testing skill to verify that the 'users' table has an 'email' column of type 'character varying' and a unique constraint on the 'email' field.