Practical patterns for cleaner Python backends.
Improve Python backend code with patterns for APIs, authentication, databases, caching, and code quality.
When to use it
Use when building FastAPI APIs, implementing authentication, setting up async databases, adding caching or rate limiting, refactoring Python, or designing APIs.
It changes how the agent develops Python backends through async I/O, typed validation, dependency injection, early validation, and secure input handling.
What you provide
The backend patterns are written for Python; no runtime version is specified.
Uses Ruff to lint, automatically fix, and format the project's source code.
The instructed async test setup uses pytest fixtures and async test markers.
The instructed async test setup uses HTTPX's AsyncClient and ASGITransport.
No additional actions listed.