什麼是 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