fastapi
Installation
SKILL.md
fastapi
Scope
Covers building and reviewing HTTP services with FastAPI: path operations and router organisation, the dependency-injection system, Pydantic v2 models as the request and response contract, error handling, the boundary between async and blocking code, lifespan-managed resources, streaming and Server-Sent Events, background work, security dependencies, testing, and the FastAPI-specific parts of the toolchain.
The body is written against FastAPI 0.141, Pydantic 2.13 and Starlette 1.6.
Not covered: