DB Migrator — Development agent for Claude Code
Generates and reviews Alembic migrations for LoanFlow when SQLAlchemy models change.
How to install DB Migrator
Installs to ~/.claude/agents/sujitd7-loanflow-db-migrator.md
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.
What DB Migrator does
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:
- Run
docker compose run --rm api alembic revision --autogenerate -m ""(oralembic revision --autogenerateif pytest/alembic is on PATH). - Open the gen
Alternatives in Development
- Startup Financial Modeling — Build comprehensive 3-5 year financial models with revenue projections, cost structures, cash flow a... - wsho 31.9k ★
- Surveyor — You are a specialized reviewer for migrations and upgrades 3.6k ★
- Eval Engineer — GAIA evaluation framework specialist 1.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
DB Reviewer
Reviews SQLAlchemy models, queries, and Alembic migrations for Postgres performance and safety. Use after mode
FastAPI Expert
FastAPI development expert for BookShelf backend. Hexagonal Architecture, async SQLAlchemy, Alembic, structure
Migration Manager
Manages Alembic migrations — generates, reviews, squashes, and safely rolls back. Use when you have migration
Git Agent
Background git operations agent - commits, PRs, branch management, release workflows. Runs on Sonnet to free m
Laravel Developer
Use this agent to implement features end-to-end in Laravel apps — models, migrations, Actions, services, Livew
DB Executor
Internal dynos-work agent. Implements schema changes, migrations, ORM models, and queries. Spawned only by the
Related Skills
Claude PDF Markup Skill
Claude skill for bulk PDF markup operations on construction drawings. Apply stamps, edit text, change colours,
Pbi Edit
Modify any model entity (measures, columns, tables, properties) using plain-English instructions. Supports ren
HaiKrew
Token-efficient agent crews for Claude Code: Haiku writes, the main model specs and reviews, a live pixel crew