SKILL
fastapi-patterns
FastAPI 最佳实践:项目结构、Pydantic v2 schema、依赖注入、异步处理器、身份认证、授权、事务性服务层,以及使用 httpx 和 pytest 测试。适用于构建或审查 FastAPI 应用中的 Pydantic schema、依赖、异步处理器、认证或测试。
译文已校对查看英文原文
FastAPI best practices covering project structure, Pydantic v2 schemas, dependency injection, async handlers, authentication, authorization, transactional service layers, and testing with httpx and pytest. Use when building or reviewing FastAPI apps — Pydantic schemas, dependencies, async handlers, auth, or tests.
适用对象:软件开发与测试。自动收录 · 待核查。
在 Cursor 中使用
该组合的专门教程待补充,尚未核实适配。
准备条件
- 本条仅收录原作者的技能元数据;请阅读完整说明,确认依赖、许可与使用条件。
选择已有说明的 AI 工具,或在页面加载后保存待办及提出教程请求。
查看原作者说明 ↗