Fastapi
FastAPI best practices and conventions. Use when working with FastAPI APIs, Pydantic models, dependencies, streaming responses including Server-Sent Events (SSE), and serving frontend apps. Keeps FastAPI code clean and up to date with the latest features and patterns.
- Type
- Skill
- Author
- fastapi
- Category
- Backend
- GitHub stars
- 104.2K
- Installs
- 13.6K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/fastapi/fastapi --skill fastapiUse cases
- Model request and response bodies with Pydantic before wiring up routes.
- Add streaming responses such as Server-Sent Events to an endpoint.
- Serve a frontend app from the same FastAPI service as your API.
Frequently Asked Questions
Which FastAPI areas does this skill cover?
Pydantic models, dependencies, streaming responses including Server-Sent Events, and serving frontend apps.
Does it apply to API-only projects?
It applies to both API-only and full-stack Python projects.
Is it a tutorial or a reference?
It's a set of best practices and conventions meant to keep FastAPI code clean and current.
About this skill
Documents FastAPI best practices and conventions, including Pydantic models, dependencies, streaming responses such as Server-Sent Events, and serving frontend apps from the same service. It serves as a reference for keeping FastAPI code aligned with newer features and patterns. Applies to API-only and full-stack Python projects alike.
Summary written with AI assistance from the project's public description.
Categories
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh