Fastapi Conventions

Use whenever writing or editing any endpoint under backend/src/intric/api/** (and the services those endpoints call). Enforces Eneo's non-negotiable backend invariants — tenant_id filter on every query, audit entry on every mutation, Pydantic v2 response models, SQLAlchemy 2.0 style, structured logging, zero raw SQL. Load this skill before touching any FastAPI router so the patterns are in context.

tomevault-io d5fd111 2 files · 7.0 KB Updated

File contents

tomevault-io/skills-registry/tree/main/ccimen--eneoplugin--fastapi-conventions commit d5fd111b88

Frequently asked questions

npx skillmds@latest add tomevault-io/fastapi-conventions