fastapi-templates
仓库创建 2025年7月25日最近提交 4 天前SkillHot 收录 20 天前
▸ 精选理由
能显著节省新后端服务搭建与最佳实践集成时间。
这个 Skill 做什么
生成生产就绪的 FastAPI 项目骨架与异步/依赖注入模式。
提供可直接投入生产的 FastAPI 项目骨架,包含 async 模式、依赖注入、middleware 和完善的错误处理模板。适合从零开始搭后端服务或把现有服务改成异步高性能架构使用。骨架把常见结构、测试与部署考虑好,帮你少踩坑、快速交付。
▸ 展开 SKILL.md 英文原文
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
3.8w
Stars
4.1k
Forks
40
仓库内 Skill
+683
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/wshobson/agents/main/plugins/api-scaffolding/skills/fastapi-templates/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/wshobson/agents/main/plugins/api-scaffolding/skills/fastapi-templates/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# FastAPI Project Templates Production-ready FastAPI project structures with async patterns, dependency injection, middleware, and best practices for building high-performance APIs. ## When to Use This Skill - Starting new FastAPI projects from scratch - Implementing async REST APIs with Python - Building high-performance web services and microservices - Creating async applications with PostgreSQL, MongoDB - Setting up API projects with proper structure and testing ## Core Concepts ### 1. Project Structure **Recommended Layout:** ``` app/ ├── api/ # API routes │ ├── v1/ │ │ ├── endpoints/ │ │ │ ├── users.py │ │ │ ├── auth.py │ │ │ └── items.p
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有