·pydantic-models-py
</>

pydantic-models-py

sickn33/antigravity-awesome-skills

按照具有 Base、Create、Update、Response 和 InDB 变体的多模型模式创建 Pydantic 模型。使用 Pydantic v2 在 Python 应用程序中定义 API 请求/响应架构、数据库模型或数据验证时使用。

8安装·3热度·@sickn33

安装

$npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill pydantic-models-py

SKILL.md

Create Pydantic models following the multi-model pattern for clean API contracts.

| Base | Common fields shared across models | | Create | Request body for creation (required fields) | | Update | Request body for updates (all optional) | | Response | API response with all fields | | InDB | Database document with doctype |

按照具有 Base、Create、Update、Response 和 InDB 变体的多模型模式创建 Pydantic 模型。使用 Pydantic v2 在 Python 应用程序中定义 API 请求/响应架构、数据库模型或数据验证时使用。 来源:sickn33/antigravity-awesome-skills。

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill pydantic-models-py 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill pydantic-models-py
分类
</>开发工具
认证
收录时间
2026-02-17
更新时间
2026-02-18

快速解答

什么是 pydantic-models-py?

按照具有 Base、Create、Update、Response 和 InDB 变体的多模型模式创建 Pydantic 模型。使用 Pydantic v2 在 Python 应用程序中定义 API 请求/响应架构、数据库模型或数据验证时使用。 来源:sickn33/antigravity-awesome-skills。

如何安装 pydantic-models-py?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill pydantic-models-py 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/sickn33/antigravity-awesome-skills