sqlalchemy-2-async
SQLAlchemy 2.0 async patterns with AsyncSession, async_sessionmaker, and FastAPI integration. Use when implementing async database operations, connection pooling, or async ORM queries.
Installation
SKILL.md
Modern async database patterns with SQLAlchemy 2.0, AsyncSession, and FastAPI integration.
| Session scope | One AsyncSession per task/request | SQLAlchemy docs: "AsyncSession per task" | | Scoped sessions | Avoid for async | Maintainers discourage for async code | | Lazy loading | Use lazy="raise" + explicit loads | Prevents accidental N+1 in async | | Eager loading | selectinload for collections | Better than joinedload for async |
| expireoncommit | Set to False | Prevents lazy load errors after commit | | Connection pool | poolpreping=True | Validates connections before use | | Bulk inserts | Chunk 1000-10000 rows | Memory management for large inserts |
SQLAlchemy 2.0 async patterns with AsyncSession, async_sessionmaker, and FastAPI integration. Use when implementing async database operations, connection pooling, or async ORM queries. Source: yonatangross/skillforge-claude-plugin.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/yonatangross/skillforge-claude-plugin --skill sqlalchemy-2-async- Category
- </>Dev Tools
- Verified
- —
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is sqlalchemy-2-async?
SQLAlchemy 2.0 async patterns with AsyncSession, async_sessionmaker, and FastAPI integration. Use when implementing async database operations, connection pooling, or async ORM queries. Source: yonatangross/skillforge-claude-plugin.
How do I install sqlalchemy-2-async?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/yonatangross/skillforge-claude-plugin --skill sqlalchemy-2-async Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/yonatangross/skillforge-claude-plugin
Details
- Category
- </>Dev Tools
- Source
- user
- First Seen
- 2026-02-01