·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