sqlite-test-validator
Test and validate SQLite database migrations and schema changes
$ 安裝
git clone https://github.com/paleoterra/PaleoRose /tmp/PaleoRose && cp -r /tmp/PaleoRose/.claude/skills/sqlite-test-validator ~/.claude/skills/PaleoRose// tip: Run this command in your terminal to install the skill
SKILL.md
name: sqlite-test-validator description: Test and validate SQLite database migrations and schema changes type: skill language: python
SQLite Test Validator
Test database migrations and validate schema integrity.
Capabilities
- Test migration scripts
- Validate schema changes
- Check data integrity after migrations
- Compare database schemas
- Generate test databases
- Verify foreign key constraints
- Test triggers and indexes
- Validate data types
- Check for breaking changes
Tools
sqlite_validator.py - Test and validate databases
Commands
# Test migration
./sqlite_validator.py test-migration --from old.db --to new.db --script migrate.sql
# Compare schemas
./sqlite_validator.py compare --db1 v1.XRose --db2 v2.XRose
# Validate schema
./sqlite_validator.py validate schema.sql
# Check integrity
./sqlite_validator.py check-integrity database.XRose
Test Types
- Schema Migration - Verify DDL changes
- Data Migration - Verify data transforms
- Integrity - Check constraints/triggers
- Performance - Query performance
- Rollback - Test migration reversibility
Complementary To
database-migration-helper (generates migrations)
xrose-database-reader (reads XRose files)
Repository

paleoterra
Author
paleoterra/PaleoRose/.claude/skills/sqlite-test-validator
1
Stars
0
Forks
Updated2d ago
Added1w ago