database-testing

Validate database schemas, data integrity, migrations, and ACID properties.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/pohlai88/afenda-vite-react --skill database-testing-pohlai88
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-testing
Source: https://github.com/pohlai88/afenda-vite-react/tree/main/.agents/skills/database-testing
Command: npx skills add https://github.com/pohlai88/afenda-vite-react --skill database-testing-pohlai88

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Ensuring database schemas are correct, data integrity is preserved, and migrations are safe across environments.

Core Features & Use Cases

  • Schema validation to compare actual DB structures with specifications.
  • Data integrity checks for constraints, foreign keys, and NOT NULL rules.
  • Migration testing with forward and rollback validation and data preservation.
  • Transaction testing to verify ACID properties and isolation.
  • Multi-database coverage for PostgreSQL, MySQL, MongoDB, and SQLite.

Quick Start

Run the evaluation against your database to validate schemas, migrations, and ACID properties.

Frequently Asked Questions about database-testing

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

FAQPage Schema
How do I validate database schemas and detect schema drift in CI/CD pipelines?

Database schema validation compares actual DB structures against specifications to detect schema drift during CI/CD pipelines. It checks constraints, foreign keys, and NOT NULL rules across PostgreSQL, MySQL, MongoDB, and SQLite to ensure data integrity is preserved.

What's the best way to test database migrations for safety and rollback capability?

Database migration testing validates both forward and rollback paths to ensure data preservation. It verifies migration safety checks across multiple database engines, confirming that schema changes apply cleanly and can be reversed without losing data integrity.

How do I verify ACID properties and transaction isolation levels in my database?

ACID validation tests transaction isolation by verifying atomicity, consistency, isolation, and durability across your database. It runs transaction testing scenarios to confirm that concurrent operations maintain data integrity and adhere to expected isolation level behaviors.

Does this database testing approach work with PostgreSQL, MySQL, MongoDB, and SQLite?

Yes, database testing provides multi-database coverage for PostgreSQL, MySQL, MongoDB, and SQLite. It validates schemas, data integrity rules, and transaction isolation across all supported engines, applying consistent testing standards to each environment.

Why does database schema drift occur and how can I detect it across environments?

Database schema drift occurs when structures diverge between environments due to manual changes or incomplete migrations. Drift detection compares actual database schemas against baseline specifications to identify structural inconsistencies and preserve data integrity across deployments.