fastapi-docs
Installation
SKILL.md
FastAPI questions are easy to answer from stale memory or Flask/Django assumptions. Use this skill to ground answers in the official FastAPI documentation and return the closest authoritative page instead of generic Python web advice.
When to Use
Use this skill when the request is about:
- FastAPI concepts, path operations, routing, and application structure
- Request parameters, body models, response models, and validation with Pydantic
- Dependencies (
Depends,Security), sub-dependencies, and dependency injection - Authentication, OAuth2, JWT, HTTP Basic, and security utilities
- Middleware, CORS, exception handlers, and custom responses
- Background tasks, lifespan events, WebSockets, and streaming/SSE
- SQL databases, testing with
TestClient, and deployment with Uvicorn - OpenAPI schema, Swagger UI, ReDoc, and API metadata
- Advanced topics: mounts, proxies, templates, static files, and async tests
Do not use this skill for: