
Sqlalchemy Code Review
A focused reviewer for SQLAlchemy codebases that enforces 2.0 patterns and catches the usual suspects: session leaks, N+1 queries from lazy loading, missing context managers, and non-reversible Alembic migrations. It gates every finding with file-and-line anchoring before shipping, so you won't get vague complaints about relationship configurations. The checklist covers async sessions, bulk operations, and data migration antipatterns. Best used during pull requests touching ORM models or migration files. It won't teach you SQLAlchemy from scratch, but if you already know what joinedload and sessionmaker do, this keeps your reviews consistent and stops the same issues from slipping through.
- skills.sh installs
- 225
- GitHub stars
- 87
- last updated
- Aug 21, 2026
Install
$ npx -y skills add existential-birds/beagle --skill sqlalchemy-code-review --agent claude-codeInstalls into .claude/skills of the current project.
Files
SQLAlchemy Code Review
Quick Reference
| Issue Type | Reference |
|---|---|
| Session lifecycle, context managers, async sessions | references/sessions.md |
| relationship(), lazy loading, N+1, joinedload | references/relationships.md |
| select() vs query(), ORM overhead, bulk ops | references/queries.md |
| Alembic patterns, reversible migrations, data migrations | references/migrations.md |
Review Checklist
Sponsors
Details
- Repository
- github.com/existential-birds/beagle
- Categories
- Git & Pull Requests, Code Review & Quality, Python, Databases
- First seen
- Jun 3, 2026
More from existential-birds/beagle
All 40- Pydantic Ai Common Pitfalls221
- Pydantic Ai Agent Creation219
- Agent Architecture Analysis217
- Ai Elements209
- Go Code Review204
- Shadcn Code Review204
- Swift Testing Code Review194
- Sqlite Vec171
- Pydantic Ai Tool System161
- Deepagents Architecture160
- Langgraph Implementation160
- Pydantic Ai Testing146
- Pydantic Ai Dependency Injection141
- Deepagents Implementation140
- Deepagents Code Review132
- Github Projects120
- Pydantic Ai Model Integration120
- React Flow1.3K
- Python Code Review928
- Langgraph Code Review887
- Tailwind V4817
- React Flow Advanced643
- React Router V7577
- React Flow Architecture536