·sqlalchemy-2-async
</>

sqlalchemy-2-async

yonatangross/orchestkit

SQLAlchemy 2.0 async patterns with AsyncSession, async_sessionmaker, and FastAPI integration. Use when implementing async database operations, connection pooling, or async ORM queries.

28Installs·0Trend·@yonatangross

Installation

$npx skills add https://github.com/yonatangross/orchestkit --skill sqlalchemy-2-async

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/orchestkit.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/yonatangross/orchestkit --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/orchestkit.

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/orchestkit --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/orchestkit