Python

From aAAaqwq/AGI-Super-Team · View interactive version

Python is an AI agent skill from the GitHub repository aAAaqwq/AGI-Super-Team. Python后端开发专家。精通FastAPI、Django、Flask等框架,以及Pydantic、SQLModel、Alembic、Playwright等Python生态最佳实践。

How to use this skill

Skill file

Python 后端开发专家

当使用此技能

框架选择

| 框架 | 适用场景 |

|------|----------|

| FastAPI | 现代 API、异步、自动文档 |

| Django | 企业应用、全栈、CMS |

| Flask | 微服务、快速原型 |

最佳实践

  1. 类型注解: 使用 Python 3.9+ 类型提示
  2. 异步优先: FastAPI 用 async/await
  3. Pydantic 验证: 所有输入/输出用 BaseModel
  4. Alembic 迁移: 数据库变更必须迁移
  5. 环境配置: 使用 pydantic-settings
  6. 测试覆盖: pytest + pytest-asyncio

触发词

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.