Fastapi Best Practices

Use when writing, reviewing, or refactoring FastAPI code — endpoints, APIRouter, query/path parameters, dependencies (Depends), Pydantic request/response models, error handling, async def vs def, lifespan events, streaming, background tasks, settings, middleware, or CORS. Triggers on FastAPI backend work, route design, or API code review. For auth/security see fastapi-security; for tests see fastapi-testing.

dkmqflx 625f47a 34 files · 49.4 KB Updated

File contents

dkmqflx/claude-tools/tree/main/.claude/skills/fastapi-best-practices commit 625f47aa9f

Frequently asked questions

npx skillmds@latest add dkmqflx/fastapi-best-practices