Production async Python patterns that actually matter: TaskGroup over gather() for structured concurrency, FastAPI dependency injection the right way, and SQLAlchemy 2.0 async sessions with proper pooling. The anti-patterns section alone is worth it, calling out real bugs like sharing AsyncSession across tasks and swallowing CancelledError. Covers the essentials from asyncio.timeout() context managers to connection pool sizing formulas. Use this when you're building FastAPI services and want to avoid the common async footguns that lead to race conditions and event loop blocking. Assumes Python 3.11+ and modern library versions.

skills.sh installs
249
GitHub stars
301
last updated
Aug 21, 2026

Install

$ npx -y skills add yonatangross/orchestkit --skill python-backend --agent claude-code

Installs into .claude/skills of the current project.

Files

Python Backend

Patterns for building production Python backends with asyncio, FastAPI, SQLAlchemy 2.0, and connection pooling. Each category has individual rule files in rules/ loaded on-demand.

Quick Reference

CategoryRulesImpactWhen to Use
Asyncio3HIGHTaskGroup, structured concurrency, cancellation handling
FastAPI3HIGHDependencies, middleware, background tasks
SQLAlchemy3HIGHAsync sessions, relationships, migrations
Pooling3MEDIUMDatabase pools, HTTP sessions, tuning

Total: 12 rules across 4 categories. House decisions rescued from thinned files live in references/ork-delta.md; vendor material is linked, not restated (see Upstream coverage).

Quick Start

Sponsors

Details

Repository
github.com/yonatangross/orchestkit
Categories
Backend & APIs, Python, Databases
First seen
Jun 3, 2026

More from yonatangross/orchestkit

All 61
1davila7 avatarensembl-databasedavila7/claude-code-templatesQuery Ensembl genome database REST API for 250+ species. Gene lookups, sequence retrieval, variant analysis, comparative genomics, orthologs, VEP predictions, f246skills.sh installs
2davila7 avatargraphqldavila7/claude-code-templatesGraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also 245skills.sh installs
3maxnorm avatarmagento-api-developermaxnorm/magento2-agent-skillsDesigns and implements REST and GraphQL APIs for Magento 2. Use when developing APIs, creating service contracts, building headless commerce solutions, or integ245skills.sh installs
4connorads avatarpayload-cmsconnorads/dotfilesUse when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Triggers on tasks involving: collection240skills.sh installs
5davila7 avatarclerk-authdavila7/claude-code-templatesExpert patterns for Clerk auth implementation, middleware, organizations, webhooks, and user sync Use when: adding authentication, clerk auth, user authenticati220skills.sh installs
6martinholovsky avatargraphql-expertmartinholovsky/claude-skills-generatorExpert GraphQL developer specializing in type-safe API development, schema design, resolver optimization, and federation architecture. Use when building GraphQL218skills.sh installs