Testland
Browse all skills & agents

qa-db-migrations

Database migration testing: 4 skills (atlas-migrations, flyway-migrations, liquibase-migrations, sqlmesh-migrations) and 2 agents (db-migration-performance-critic, migration-blast-radius-reviewer). Covers schema-change safety, blast-radius review, and rollback verification across the major migration tools.

Install this plugin

/plugin install qa-db-migrations@testland-qa

Part of role bundle: qa-role-backend

qa-db-migrations

Database migration testing. Four per-tool skill wrappers covering the mainstream database migration ecosystem (Flyway, Liquibase, Atlas, SQLMesh) plus an adversarial reviewer agent that classifies operations against an 8-category taxonomy and refuses to approve production-unsafe patterns.

Anchored on the ISO 25010 portability characteristic. Universal need: every team that ships schema changes.

Components

TypeNameDescription
Skillflyway-migrationsV/U/R prefix versioned SQL migrations + flyway_schema_history; production guards (cleanDisabled, validateOnMigrate)
Skillliquibase-migrationsXML/YAML/JSON/SQL changelog with preconditions + contexts/labels + per-changeset rollback
Skillatlas-migrationsTerraform-style declarative HCL or SQL schema; atlas migrate diff/apply/lint with destructive-pattern detection
Skillsqlmesh-migrationsData-pipeline + virtual environments; auto-classification of breaking-vs-non-breaking + downstream impact analysis
Agentmigration-blast-radius-reviewerAdversarial reviewer for any migration tool: 8-category operation taxonomy; refuses to approve unsafe NOT NULL or DROP COLUMN without consumer coordination
Agentdb-migration-performance-criticPerformance-focused adversarial reviewer: flags missing CONCURRENTLY on index creation, full-table-rewrite ALTERs holding ACCESS EXCLUSIVE locks, missing post-migration ANALYZE, partition-pruning hazards, and MySQL VARCHAR boundary crossings

Install

/plugin marketplace add testland/qa
/plugin install qa-db-migrations@testland-qa

Skills

atlas-migrations

Authors and runs Atlas database schema migrations - declarative HCL or SQL schema definition with `atlas schema apply` for desired-state apply OR `atlas migrate diff` to generate versioned migrations against a dev DB; `atlas migrate apply` to deploy; `atlas migrate lint` to flag destructive / locking / data-loss patterns; `atlas migrate hash` to detect tampering. Supports PostgreSQL, MySQL, SQL Server, ClickHouse, SQLite, MariaDB, Snowflake, Oracle, Redshift, Spanner, CockroachDB, Databricks. Use when the user wants Terraform-style declarative DB schema management or modern SQL-first migration linting beyond Flyway / Liquibase.

flyway-migrations

Authors and runs Flyway database migrations - versioned (`V1__add_users.sql`), repeatable (`R__refresh_views.sql`), and undo (`U1__remove_users.sql`) migration files in `db/migration/`; runs `flyway migrate` / `info` / `validate` / `clean` / `baseline` / `repair`; tracks state in the `flyway_schema_history` table; supports 50+ databases including Oracle / SQL Server / MySQL / PostgreSQL / MariaDB / Snowflake / BigQuery; integrates with Maven, Gradle, CLI, and Docker. Use when the user works with Flyway-managed schemas, asks about migration ordering, or needs CI gates on schema changes.

liquibase-migrations

Authors and runs Liquibase database migrations - changelog-driven schema management with changesets in XML / YAML / JSON / SQL formats; supports `liquibase update` / `status` / `rollback` / `tag` / `history` lifecycle; offers per-changeset preconditions, contexts and labels for selective execution, and rollback semantics; tracks state in `DATABASECHANGELOG` + `DATABASECHANGELOGLOCK` tables. Use when the user works with Liquibase-managed schemas (Spring Boot heritage, polyglot DB shops), needs cross-DBMS portable migrations, or requires fine-grained rollback control.

sqlmesh-migrations

Authors and runs SQLMesh - data-transformation framework with version control, virtual data environments, automatic breaking-vs-non-breaking change classification, and downstream impact analysis; supports `sqlmesh init` / `plan` / `apply` / `run` / `audit` / `test` lifecycle; covers DuckDB, Postgres, Snowflake, BigQuery, Redshift, Databricks. Use when the user works with SQL data pipelines (warehouse + dbt-adjacent ELT), needs safer model evolution than dbt's deploy-and-pray, or wants the strongest impact-analysis story in the OSS data tooling space.