fastapi-docs
Installation
SKILL.md
FastAPI Docs
FastAPI answers drift with its releases and the move from Pydantic v1 to v2, so ground each answer in the live docs at https://fastapi.tiangolo.com/, not memory, and link the exact page behind every claim.
Route Django ORM, admin or URLconf patterns to django-docs, and Flask blueprints, WSGI context or Jinja-first apps to flask-docs. Starlette internals and standalone Pydantic belong to their own docs unless the question turns on FastAPI's documented integration.
Workflow
- Locate the question in
references/topic-map.md, a selective index of docs entry points. Done when each part of the question maps to a section of the map, or you have noted that none fits. - Search
fastapi.tiangolo.comwith the user's exact terms plus FastAPI vocabulary such asDepends,APIRouter,response_model,HTTPException,lifespan, orTestClient, starting from the map's pages and the Routing rules below. Done when you hold the one page that most directly answers each part. - Read each page down to the relevant section. Done when you have read the passage behind every claim you will make. When a page has moved, been renamed, or stops short, say so and link the nearest authoritative pages.
- Answer with the direct answer first, each docs link beside the claim it supports, and code examples only when the user asks or the page needs them. Mark any conclusion that joins several pages as
Inference:. Done when every claim cites a specific page, not the docs home.