LogoClawIndex
案例技能关于
LogoClawIndex

form - 使用 React Hook Form 和 Zod 生成类型安全的表单

基于 Zod schema、react-hook-form 和 Tamagui 组件生成类型安全的表单。

标签

更新于: 2026-09-11
表单zodreact-hook-formtamaguitypescript

能力

典型输入

典型输出

该技能可以做什么

  • 检查已有的表单组件
  • 定义 Zod 校验 Schema
  • 使用 react-hook-form 绑定表单
  • 使用 Controller 渲染表单字段
  • 处理表单提交与错误
  • 添加 i18n 国际化支持
  • 运行 TypeScript 类型检查

输入

  • 功能描述
  • Schema 规范

输出

  • Schema 文件
  • 表单组件文件

要求

  • React Hook Form
  • Zod
  • Tamagui
  • TypeScript

来源

  • 规范: SKILL.md

ClawIndex

OpenClaw Skills 与 Use Case 索引

ClawIndex 是一个生态驱动的 OpenClaw Skills 与真实 Use Case 索引站。

索引

Skills·
Cases

Meta

关于·
声明·
邮箱·
GitHub
© 2026 ClawIndex 保留所有权利。
检查已有的表单组件
定义 Zod 校验 Schema
使用 react-hook-form 绑定表单
使用 Controller 渲染表单字段
功能描述
Schema 规范
Schema 文件
表单组件文件