SQLAlchemy Knowledge Patch
Guides modern SQLAlchemy 2.0+ migrations, ORM typing annotations, async connection pooling, and multi-dialect database patterns.
The SQLAlchemy Knowledge Patch equips Claude Code with up-to-date best practices, breaking change mitigations, and dialect-specific nuances across SQLAlchemy 2.0 through upcoming 2.1 releases. It helps developers avoid subtle pitfalls such as PostgreSQL JSONB index mismatch caused by bracket subscripting, deprecated aliased query forms, async pooling edge cases in aiosqlite and asyncpg, and type annotation resolution quirks under modern Python runtimes. Use this skill when upgrading SQLAlchemy versions, refactoring ORM mappings and dataclass integration, writing complex SQL expressions, or tuning dialect configurations across PostgreSQL, MySQL, SQLite, Oracle, and SQL Server.