·react-hook-form
</>

react-hook-form

thongdn-it/react-agent-skills

使用 useForm、useWatch、useController 和 useFieldArray 对客户端表单验证进行 React Hook Form 性能优化。当使用 React Hook Form 库构建客户端控制的表单时,应该使用此技能。此技能不涵盖 React 19 服务器操作、useActionState 或服务器端表单处理(使用 React-19 技能)。

3安装·0热度·@thongdn-it

安装

$npx skills add https://github.com/thongdn-it/react-agent-skills --skill react-hook-form

SKILL.md

Comprehensive performance optimization guide for React Hook Form applications. Contains 41 rules across 8 categories, prioritized by impact to guide form development, automated refactoring, and code generation.

| 1 | Form Configuration | CRITICAL | formcfg- | | 2 | Field Subscription | CRITICAL | sub- | | 3 | Controlled Components | HIGH | ctrl- | | 4 | Validation Patterns | HIGH | valid- | | 5 | Field Arrays | MEDIUM-HIGH | array- | | 6 | State Management | MEDIUM | formstate- | | 7 | Integration Patterns | MEDIUM | integ- | | 8 | Advanced Patterns | LOW | adv- |

Read individual reference files for detailed explanations and code examples:

使用 useForm、useWatch、useController 和 useFieldArray 对客户端表单验证进行 React Hook Form 性能优化。当使用 React Hook Form 库构建客户端控制的表单时,应该使用此技能。此技能不涵盖 React 19 服务器操作、useActionState 或服务器端表单处理(使用 React-19 技能)。 来源:thongdn-it/react-agent-skills。

查看原文

可引用信息

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

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

快速解答

什么是 react-hook-form?

使用 useForm、useWatch、useController 和 useFieldArray 对客户端表单验证进行 React Hook Form 性能优化。当使用 React Hook Form 库构建客户端控制的表单时,应该使用此技能。此技能不涵盖 React 19 服务器操作、useActionState 或服务器端表单处理(使用 React-19 技能)。 来源:thongdn-it/react-agent-skills。

如何安装 react-hook-form?

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

这个 Skill 的源码在哪?

https://github.com/thongdn-it/react-agent-skills