SKILL

fastapi-endpoint

使用异步 SQLAlchemy、Pydantic v2 模型、用于身份认证的依赖注入及 pytest 测试,规划并构建可用于生产的 FastAPI 端点。采用访谈式规划,在编写任何代码之前明确数据模型、身份认证方式、分页策略和缓存。

译文已校对
查看英文原文

Plan and build production-ready FastAPI endpoints with async SQLAlchemy, Pydantic v2 models, dependency injection for auth, and pytest tests. Uses interview-driven planning to clarify data models, authentication method, pagination strategy, and caching before writing any code.

适用对象:软件开发与测试。自动收录 · 待核查。

在 Codex 中使用

该组合的专门教程待补充,尚未核实适配。

准备条件

  • 本条仅收录原作者的技能元数据;请阅读完整说明,确认依赖、许可与使用条件。

选择已有说明的 AI 工具,或在页面加载后保存待办及提出教程请求。

查看原作者说明 ↗