fastapi
Provides comprehensive guidance for FastAPI framework including routing, request validation, dependency injection, async operations, OpenAPI documentation, and database integration. Use when the user asks about FastAPI, needs to create FastAPI applications, implement REST APIs, or build high-performance Python web services.
How do I install this agent skill?
npx skills add https://github.com/full-stack-skills/python-skills --skill fastapiIs this agent skill safe to install?
- Gen Agent Trust Hubpass
No security issues detected. This skill provides documentation and guidance for the FastAPI framework and does not contain any executable code or risky instructions.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
When to use this skill
Use this skill whenever the user wants to:
- 用 FastAPI 编写 REST/异步 API、Pydantic 模型与依赖注入
- 配置路由、中间件、文档与部署
How to use this skill
- 核心:FastAPI()、@app.get/post、Path/Query/Body;Pydantic 模型与校验。
- 进阶:Depends、OAuth2、后台任务、WebSocket;OpenAPI 文档。
- 参考:https://fastapi.tiangolo.com/
Best Practices
- 模型与响应 schema 明确;异常与状态码统一。
- 异步与数据库连接池;安全与 CORS 配置。
Keywords
fastapi, 异步 API, Pydantic, OpenAPI
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/full-stack-skills/python-skills/fastapi">View fastapi on skillZs</a>