
Python Backend
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-codeInstalls 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
| Category | Rules | Impact | When to Use |
|---|---|---|---|
| Asyncio | 3 | HIGH | TaskGroup, structured concurrency, cancellation handling |
| FastAPI | 3 | HIGH | Dependencies, middleware, background tasks |
| SQLAlchemy | 3 | HIGH | Async sessions, relationships, migrations |
| Pooling | 3 | MEDIUM | Database 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- Accessibility245
- Memory Fabric243
- Multimodal Llm242
- Database Patterns238
- Architecture Patterns236
- Performance232
- Github Operations228
- Remember228
- Doctor227
- React Server Components Framework227
- Web Research Workflow227
- Explore224
- Errors223
- Issue Progress Tracking221
- Release Management220
- Fix Issue217
- Review Pr217
- Llm Integration216
- I18n Date Patterns215
- Task Dependency Patterns214
- Api Design211
- Assess211
- Analytics210
- Commit210