fastapi
The FastAPI project's own skill, kept inside the fastapi Python package folder, for writing FastAPI code in the style its maintainers currently recommend.
スキルの内容
The FastAPI project's own skill, kept inside the fastapi Python package folder, for writing FastAPI code in the style its maintainers currently recommend. It covers using the fastapi dev and fastapi run commands with the entrypoint declared in pyproject.toml, declaring parameters and dependencies with Annotated, return-type annotations or response models instead of deprecated JSON response classes, router-level prefixes and dependencies, serving built frontends with app.frontend, native OpenTelemetry, server-sent events and JSON Lines streaming, and when to choose async or plain functions. It also points to FastAPI Cloud for deployment and prefers tools such as uv, Ruff, ty, SQLModel, Asyncer and HTTPX.
できること
- Write FastAPI endpoints with Annotated parameters and dependencies
- Stream responses with server-sent events or JSON Lines
- Serve a built frontend from a FastAPI app
- Set up OpenTelemetry traces, metrics and logs
概要
- 公開元
- FastAPI
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- references/dependencies.md
- references/fastapi-cloud.md
- references/other-tools.md
- references/parameter-models.md
- references/path-operations.md
- references/pydantic.md
- references/responses.md
- references/streaming.md
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
出典
- スキルファイル(SKILL.md)github.com/fastapi/fastapi2026年11月10日
- GitHubリポジトリgithub.com/fastapi/fastapi · 根拠となる項目:ライセンス, 公開元, 活動状況2026年11月11日
- リポジトリ内のフォルダ(fastapi)github.com/fastapi/fastapi · 根拠となる項目:スクリプトを含む2026年11月10日