·react-hook-form-zod
</>

react-hook-form-zod

jezweb/claude-skills

使用 React Hook Form v7 和 Zod v4 构建类型安全的验证表单。单一模式适用于客户端和服务器,通过 z.infer 进行完整的 TypeScript 推理。 在构建表单、多步骤向导或修复不受控制的警告、解析器错误、useFieldArray 问题、大型表单的性能问题时使用。

1.2K安装·35热度·@jezweb

安装

$npx skills add https://github.com/jezweb/claude-skills --skill react-hook-form-zod

SKILL.md

Status: Production Ready ✅ Last Verified: 2026-01-20 Latest Versions: react-hook-form@7.71.1, zod@4.3.5, @hookform/resolvers@5.2.2

zodResolver connects Zod to React Hook Form, preserving type safety

When to use Controller: React Select, date pickers, custom components without ref. Otherwise use register.

使用 React Hook Form v7 和 Zod v4 构建类型安全的验证表单。单一模式适用于客户端和服务器,通过 z.infer 进行完整的 TypeScript 推理。 在构建表单、多步骤向导或修复不受控制的警告、解析器错误、useFieldArray 问题、大型表单的性能问题时使用。 来源:jezweb/claude-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/jezweb/claude-skills --skill react-hook-form-zod
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 react-hook-form-zod?

使用 React Hook Form v7 和 Zod v4 构建类型安全的验证表单。单一模式适用于客户端和服务器,通过 z.infer 进行完整的 TypeScript 推理。 在构建表单、多步骤向导或修复不受控制的警告、解析器错误、useFieldArray 问题、大型表单的性能问题时使用。 来源:jezweb/claude-skills。

如何安装 react-hook-form-zod?

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

这个 Skill 的源码在哪?

https://github.com/jezweb/claude-skills