·custom-format-validators
</>

custom-format-validators

在 z 模式中注册和管理自定义格式验证器。当用户需要添加自定义格式验证、创建同步或异步格式验证器、全局或按实例注册格式、使用格式验证电子邮件或日期或电话号码或自定义业务规则、为词汇感知行为配置 formatAssertions、使用 customFormats 选项、列出注册格式、处理异步格式超时或了解格式验证在 JSON 架构草稿之间有何不同时使用。

37安装·0热度·@zaggino

安装

$npx skills add https://github.com/zaggino/z-schema --skill custom-format-validators

如何安装 custom-format-validators

通过命令行快速安装 custom-format-validators AI 技能到你的开发环境

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

来源:zaggino/z-schema。

SKILL.md

查看原文

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
分类
</>开发工具
认证
收录时间
2026-02-28
更新时间
2026-03-10

Browse more skills from zaggino/z-schema

快速解答

什么是 custom-format-validators?

在 z 模式中注册和管理自定义格式验证器。当用户需要添加自定义格式验证、创建同步或异步格式验证器、全局或按实例注册格式、使用格式验证电子邮件或日期或电话号码或自定义业务规则、为词汇感知行为配置 formatAssertions、使用 customFormats 选项、列出注册格式、处理异步格式超时或了解格式验证在 JSON 架构草稿之间有何不同时使用。 来源:zaggino/z-schema。

如何安装 custom-format-validators?

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

这个 Skill 的源码在哪?

https://github.com/zaggino/z-schema