home/categories/automation-tools/tgoai-tgo-skills-db-migration-check-skill-md
automation-toolstools

db-migration-check

Verify that SQLAlchemy model changes have corresponding Alembic migration files. Trigger when any file under models/*.py or models/**/*.py is modified — checks git diff for model changes and confirms matching alembic/versions/*.py files exist, failing if a service has model changes without a migration.

tgoai
maintainer
tgoai
Atualizado 3/11/2026
Estrelas
419
Forks
84
quick start

Installation and usage

Verify that SQLAlchemy model changes have corresponding Alembic migration files. Trigger when any file under models/*.py or models/**/*.py is modified — checks git diff for model changes and confirms matching alembic/versions/*.py files exist, failing if a service has model changes without a migration.

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use db-migration-check