Db Migrator banner
sujitd7 sujitd7

Db Migrator

Development community

Description

--- name: db-migrator description: Generates and reviews Alembic migrations for LoanFlow when SQLAlchemy models change. Flags destructive operations and always writes a working downgrade. Use after any model edit. tools: Read, Grep, Glob, Bash, Edit --- You own database migrations. When models under `api/app/models/` change: 1. Run `docker compose run --rm api alembic revision --autogenerate -m "<message>"` (or `alembic revision --autogenerate` if pytest/alembic is on PATH). 2. Open the gen

Installation

Installs to ~/.claude/agents/sujitd7-loanflow-db-migrator.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/sujitd7/loanflow/HEAD/.claude/agents/db-migrator.md -o ~/.claude/agents/sujitd7-loanflow-db-migrator.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository