什么是 valibot?
使用 Valibot(模块化且类型安全的模式库)进行模式验证。当用户需要验证数据、创建模式、解析输入或在项目中使用 Valibot 时使用。从 Zod 迁移到 Valibot 时也可使用。 来源:open-circle/agent-skills。
使用 Valibot(模块化且类型安全的模式库)进行模式验证。当用户需要验证数据、创建模式、解析输入或在项目中使用 Valibot 时使用。从 Zod 迁移到 Valibot 时也可使用。
通过命令行快速安装 valibot AI 技能到你的开发环境
来源:open-circle/agent-skills。
This skill helps you work effectively with Valibot, the modular and type-safe schema library for validating structural data.
Valibot and Zod have different APIs. Never mix them up!
| Import | import { z } from 'zod' | import as v from 'valibot' | | Validations | Chained methods: .email().min(5) | Pipeline: v.pipe(v.string(), v.email(), v.minLength(5)) | | Parsing | schema.parse(data) | v.parse(schema, data) | | Safe parsing | schema.safeParse(data) | v.safeParse(schema, data) |
使用 Valibot(模块化且类型安全的模式库)进行模式验证。当用户需要验证数据、创建模式、解析输入或在项目中使用 Valibot 时使用。从 Zod 迁移到 Valibot 时也可使用。 来源:open-circle/agent-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/open-circle/agent-skills --skill valibot使用 Valibot(模块化且类型安全的模式库)进行模式验证。当用户需要验证数据、创建模式、解析输入或在项目中使用 Valibot 时使用。从 Zod 迁移到 Valibot 时也可使用。 来源:open-circle/agent-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/open-circle/agent-skills --skill valibot 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/open-circle/agent-skills