prompts.chat 新增 prompt:FastAPI Service taste(Python API 工程师的 FastAPI 实践准则)
prompts.chat 每日 prompt 新增「FastAPI Service taste」,一份带置信度评分的 Python API 工程师 FastAPI 实践准则。内容涵盖 Pydantic v2 模型与 response_model、通过 Depends 注入依赖、pydantic-settings 配置、APIRouter 分模块、SQLAlchemy 2.0 async 与 Alembic 迁移、lifespan 替代已弃用的 on_event、/v1 路径版本化、pytest + httpx.AsyncClient 测试,以及用 Celery、Arq 或 Dramatiq 处理慢任务等 22 条规范,每条附 0.70-0.95 的 Confidence 分值。