Fastapi

Use for FastAPI-specific endpoints, dependencies, Pydantic contracts, async behavior, middleware, or service design.

rhenter Updated

File contents

Fastapi

  • Use Pydantic models for request and response contracts.
  • Use dependency injection for reusable dependencies.
  • Keep endpoint handlers focused.
  • Use async only when the dependency stack and workload benefit.
  • Define explicit response models and error behavior.

rhenter/agent-skills/tree/main/skills/fastapi commit 9363a85b1e

Frequently asked questions

npx skillmds@latest add rhenter/fastapi