valibot-usage
✓使用 Valibot(模块化且类型安全的模式库)进行模式验证。当用户需要验证数据、创建模式、解析输入或在项目中使用 Valibot 时使用。从 Zod 迁移到 Valibot 时也可使用。
SKILL.md
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-usage- 分类
- {}数据分析
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 valibot-usage?
使用 Valibot(模块化且类型安全的模式库)进行模式验证。当用户需要验证数据、创建模式、解析输入或在项目中使用 Valibot 时使用。从 Zod 迁移到 Valibot 时也可使用。 来源:open-circle/agent-skills。
如何安装 valibot-usage?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/open-circle/agent-skills --skill valibot-usage 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/open-circle/agent-skills