Skip to content

Production async Python patterns for FastAPI, SQLAlchemy 2.0, asyncio, and connection pooling with runtime guardrails.

CCM score
55 of 100
skills.sh installs
245
GitHub stars
312
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers asyncio TaskGroup and cancellation, FastAPI dependencies and middleware, SQLAlchemy async sessions, and database pool tuning
  • Includes 4 rule groups (asyncio, FastAPI, SQLAlchemy, pooling) loaded on demand, plus a pool sizing formula
  • Enforces one AsyncSession per request, lazy="raise" on relationships, and re-raising CancelledError to keep cancellation intact
  • Designed for building async services and wiring FastAPI dependencies, with vendor API details linked to first-party docs

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

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

Questions

Which Python category is the python-backend skill in on Claude Marketplaces?

The python-backend skill is in the Python category, where it ranks in the top 100. Its neighbors there include python-performance-optimization, python-design-patterns and async-python-patterns, while this skill covers async services, FastAPI dependencies and database connection pool tuning.

What does the python-backend skill help with?

It gives patterns for production Python async code, including asyncio TaskGroup, FastAPI dependency injection and middleware, SQLAlchemy 2.0 async sessions, and database connection pool tuning. It also covers Python 3.11+ concerns such as ExceptionGroup, cancellation semantics and session rollback.

How do I install the python-backend skill?

Run npx -y skills add yonatangross/orchestkit --skill python-backend -y in a project to install it. Once installed, the agent can follow the skill's patterns when building async services, wiring FastAPI dependencies or tuning database connection pools.

Does python-backend cover the API contract?

No, it covers the runtime implementation layer, not the API wire contract. The SKILL.md says to use the api-design skill for the API contract instead.

More from yonatangross/orchestkit

All 55

Similar to Python Backend

More Python