fastapi-expert
仓库创建 2025年10月21日最近提交 2 个月前SkillHot 收录 20 天前
▸ 精选理由
覆盖从模型校验到 WebSocket 与 JWT 的完整实战流程,适合后端开发者。
这个 Skill 做什么
辅助构建高性能异步 Python API,包括 Pydantic V2 与鉴权方案。
用 FastAPI 和 Pydantic V2 搭高性能异步 Python 接口,能写 REST 和 WebSocket 接口、做 async SQLAlchemy 操作、加 JWT 鉴权并生成 OpenAPI 文档。适合需要高并发 API、验证输入模型或把数据库访问异步化的时候用。特点是把性能、数据校验与文档结合,便于快速交付生产级后端。
▸ 展开 SKILL.md 英文原文
Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke to create REST endpoints, define Pydantic models, implement authentication flows, set up async SQLAlchemy database operations, add JWT authentication, build WebSocket endpoints, or generate OpenAPI documentation. Trigger terms: FastAPI, Pydantic, async Python, Python API, REST API Python, SQLAlchemy async, JWT authentication, OpenAPI, Swagger Python.
1.1w
Stars
984
Forks
40
仓库内 Skill
+310
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/fastapi-expert/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/fastapi-expert/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# FastAPI Expert Deep expertise in async Python, Pydantic V2, and production-grade API development with FastAPI. ## When to Use This Skill - Building REST APIs with FastAPI - Implementing Pydantic V2 validation schemas - Setting up async database operations - Implementing JWT authentication/authorization - Creating WebSocket endpoints - Optimizing API performance ## Core Workflow 1. **Analyze requirements** — Identify endpoints, data models, auth needs 2. **Design schemas** — Create Pydantic V2 models for validation 3. **Implement** — Write async endpoints with proper dependency injection 4. **Secure** — Add authentication, authorization, rate limiting 5. **Test** — Write async tests wi
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有