什么是 custom-format-validators?
在 z 模式中注册和管理自定义格式验证器。当用户需要添加自定义格式验证、创建同步或异步格式验证器、全局或按实例注册格式、使用格式验证电子邮件或日期或电话号码或自定义业务规则、为词汇感知行为配置 formatAssertions、使用 customFormats 选项、列出注册格式、处理异步格式超时或了解格式验证在 JSON 架构草稿之间有何不同时使用。 来源:zaggino/z-schema。
在 z 模式中注册和管理自定义格式验证器。当用户需要添加自定义格式验证、创建同步或异步格式验证器、全局或按实例注册格式、使用格式验证电子邮件或日期或电话号码或自定义业务规则、为词汇感知行为配置 formatAssertions、使用 customFormats 选项、列出注册格式、处理异步格式超时或了解格式验证在 JSON 架构草稿之间有何不同时使用。
通过命令行快速安装 custom-format-validators AI 技能到你的开发环境
来源:zaggino/z-schema。
JSON Schema format constrains string (or other) values beyond basic type checking. z-schema includes built-in validators and supports registering custom ones — both sync and async.
z-schema ships with validators for all standard JSON Schema formats:
| date | RFC 3339 full-date (2024-01-15) | | date-time | RFC 3339 date-time (2024-01-15T09:30:00Z) | | time | RFC 3339 time (09:30:00Z) | | email | RFC 5321 email address | | idn-email | Internationalized email | | hostname | RFC 1123 hostname | | idn-hostname | Internationalized hostname | | ipv4 | IPv4 address | | ipv6 | IPv6 address |
在 z 模式中注册和管理自定义格式验证器。当用户需要添加自定义格式验证、创建同步或异步格式验证器、全局或按实例注册格式、使用格式验证电子邮件或日期或电话号码或自定义业务规则、为词汇感知行为配置 formatAssertions、使用 customFormats 选项、列出注册格式、处理异步格式超时或了解格式验证在 JSON 架构草稿之间有何不同时使用。 来源:zaggino/z-schema。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/zaggino/z-schema --skill custom-format-validators在 z 模式中注册和管理自定义格式验证器。当用户需要添加自定义格式验证、创建同步或异步格式验证器、全局或按实例注册格式、使用格式验证电子邮件或日期或电话号码或自定义业务规则、为词汇感知行为配置 formatAssertions、使用 customFormats 选项、列出注册格式、处理异步格式超时或了解格式验证在 JSON 架构草稿之间有何不同时使用。 来源:zaggino/z-schema。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/zaggino/z-schema --skill custom-format-validators 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/zaggino/z-schema