·zodipus-custom-schemas
</>

zodipus-custom-schemas

bratsos/zodipus

使用 @zodSchema 注释为 Prisma JSON 字段定义自定义 Zod 模式。在处理类型化 JSON、元数据字段、设置对象、Prisma 中的复杂 JSON 结构或 custom-schemas.ts 时使用。

3安装·0热度·@bratsos

安装

$npx skills add https://github.com/bratsos/zodipus --skill zodipus-custom-schemas

SKILL.md

Type your Prisma JSON fields with custom Zod schemas using @zodSchema annotations.

Use @zodSchema to define exactly what your JSON should contain.

Add a triple-slash comment with @zodSchema SchemaName above your JSON field:

使用 @zodSchema 注释为 Prisma JSON 字段定义自定义 Zod 模式。在处理类型化 JSON、元数据字段、设置对象、Prisma 中的复杂 JSON 结构或 custom-schemas.ts 时使用。 来源:bratsos/zodipus。

查看原文

可引用信息

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

安装命令
npx skills add https://github.com/bratsos/zodipus --skill zodipus-custom-schemas
分类
</>开发工具
认证
收录时间
2026-02-11
更新时间
2026-02-18

快速解答

什么是 zodipus-custom-schemas?

使用 @zodSchema 注释为 Prisma JSON 字段定义自定义 Zod 模式。在处理类型化 JSON、元数据字段、设置对象、Prisma 中的复杂 JSON 结构或 custom-schemas.ts 时使用。 来源:bratsos/zodipus。

如何安装 zodipus-custom-schemas?

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

这个 Skill 的源码在哪?

https://github.com/bratsos/zodipus

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-11