
react-hook-form
React Hook Form v7 (RHF、非制御フォームライブラリ) リファレンス。別名 rhf / React-Hook-Form。 useForm, register, handleSubmit, watch, setValue, getValues, getErrors, reset、 Controller, useFieldArray / FieldArray, formState / FormState, ErrorMessage、 resolver (Zod / Yup / Joi)、バリデーション、Server Actions / useActionState、 DevTools (@hookform/devtools)、TypeScript 型。
- Installs
- 96
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill react-hook-form- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads react-hook-form automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
React Hook Form v7 リファレンス
React Hook Form v7 の全 API ドキュメントを網羅したスキル。 ユーザーのタスクに応じて適切な README.md を読み、そこから個別ファイルへ辿ること。
対象バージョン
- ライブラリ: react-hook-form v7.90.0(GitHub Releases の latest stable、2026-10-10 公開。v8.0.0-beta.4 は prerelease のため対象外)
- ドキュメント原本: GitHub
react-hook-form/documentationの master commit2ab1b24db1292116df5f5611253017a5eafd4833(現行リリースタグは v1〜v3 のみのため commit pin)、2026-10-16 取得 - 参照先: https://react-hook-form.com(`/docs/...`、`/get-started`、`/ts`、`/advanced-usage`、`/dev-tools`)
ErrorMessageは v7.88 から本体内蔵。FormState(旧FormStateSubscribe)のファイル名はformstatesubscribe.mdを維持
ディレクトリ構成
skills/react-hook-form/
SKILL.md
references/
get-started/
README.md
installation.md
register-fields.md
apply-validation.md
integrating-existing-form.md
ui-libraries.md
controlled-inputs.md
global-state.md
handle-errors.md
integrating-services.md
schema-validation.md
react-native.md
typescript-quickstart.md
design-philosophy.md
api/
README.md
useform.md
usecontroller.md
useformcontext.md
usewatch.md
useformstate.md
usefieldarray.md
uselens.md
createformcontrol.md
useform-register.md
useform-unregister.md
useform-formstate.md
useform-watch.md
useform-subscribe.md
useform-handlesubmit.md
useform-reset.md
useform-resetfield.md
useform-resetdefaultvalues.md
useform-seterror.md
useform-clearerrors.md
useform-setvalue.md
useform-setvalues.md
useform-setfocus.md
useform-getvalues.md
useform-geterrors.md
useform-getfieldstate.md
useform-trigger.md
useform-control.md
useform-form.md
controller.md
formprovider.md
watch-component.md
fieldarray-component.md
errormessage.md
formstatesubscribe.md
typescript/
README.md
resolver.md
submit-handler.md
control.md
use-form-return-props.md
use-form-method-types.md
component-props-types.md
field-array-types.md
controller-types.md
error-types.md
field-path-types.md
mode-register-options.md
form-state-types.md
opaque-types.md
nested-value.md
advanced/
README.md
accessibility.md
wizard-form.md
smart-form-component.md
error-messages.md
connect-form.md
formprovider-performance.md
controlled-mixed-uncontrolled.md
custom-hook-resolver.md
virtualized-lists.md
testing-form.md
transform-and-parse.md
server-actions.md
registering-opaque-types.md
faqs/
README.md
faqs.md
dev-tools/
README.md
devtools.md
samples/
README.md
basic-form.md
schema-validation.md
controlled-component.md
field-array.md
form-provider.md
async-submit.md
watch-conditional-fields.md
reset-after-submit.md
typescript-typed-form.md
scripts/
README.md
install.md
develop.md
探索手順
タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:
- 下記マッピング表でタスクに対応するカテゴリを探す
- そのカテゴリの
references/{category}/README.mdを参照して目的のページを特定する - 該当ページの
.mdを Read して詳細を確認する
タスク → カテゴリ マッピング
| タスク | カテゴリ | 参照 README |
|---|---|---|
| インストール、基本的なフォーム作成、バリデーションルール、スキーマ統合、React Native、UI ライブラリ統合 | get-started | references/get-started/README.md |
| useForm, register, handleSubmit, reset, watch, setValue, getValues, getErrors | api | references/api/README.md |
| Controller, useController, FormProvider, useFormContext | api | references/api/README.md |
| useFieldArray / FieldArray (動的フィールド)、useLens、createFormControl | api | references/api/README.md |
| useWatch, useFormState, subscribe, formState, FormState (旧 FormStateSubscribe) | api | references/api/README.md |
| ErrorMessage (v7.88 から本体内蔵) でエラー表示 | api | references/api/README.md |
| 型定義、ジェネリクス、Resolver / SubmitHandler / UseFormReturn / FieldErrors / RegisterOptions / OpaqueTypes、FieldPath | typescript | references/typescript/README.md |
| Server Actions / useActionState、Smart Form、Connect Form、FormProvider のパフォーマンス、Transform and Parse | advanced | references/advanced/README.md |
| アクセシビリティ、ウィザードフォーム、テスト、仮想リスト | advanced | references/advanced/README.md |
| パフォーマンス、クラスコンポーネント、watch vs getValues、条件付きレンダリング | faqs | references/faqs/README.md |
| DevTools のインストール・デバッグ | dev-tools | references/dev-tools/README.md |
| 典型的な使い方を知りたい、実装例を参照したい | samples | samples/README.md |
| インストール・開発環境セットアップのコマンドを知りたい | scripts | scripts/README.md |
FAQ
What does the react-hook-form skill do?
React Hook Form v7 (RHF、非制御フォームライブラリ) リファレンス。別名 rhf / React-Hook-Form。 useForm, register, handleSubmit, watch, setValue, getValues, getErrors, reset、 Controller, useFieldArray / FieldArray, formState / FormState, ErrorMessage、 resolver (Zod / Yup / Joi)、バリデーション、Server Actions / useActionState、 DevTools (@hookform/devtools)、TypeScript 型。
How do I install react-hook-form?
Run npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill react-hook-form in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/react-hook-form/ (personal) or .claude/skills/react-hook-form/ (project).
Which AI agents can use react-hook-form?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is react-hook-form safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains react-hook-form?
It is published by fandhe-ai in fandhe-ai/agent-reference-skills. It has 96 recorded installs.
More from fandhe-ai/agent-reference-skills
github-docs
fandhe-ai/agent-reference-skills
GitHub 公式ドキュメント (docs.github.com)。REST API, GraphQL, Webhooks, GitHub Apps, OAuth Apps, gh CLI, PAT / GITHUBTOKEN, Actions (jobs, steps, expressions, workflow commands, concurrency, OIDC, artifact attestations, lockfile), pull requests, issues, Projects v2, immutable releases, Codespaces, Packages, Copilot API / cloud agent, code scanning, secret scanning, Dependabot, Dependency graph / SBOM, Teams, Billing, activity (events / notifications)。
commitlint
fandhe-ai/agent-reference-skills
commitlint (Conventional Commits メッセージ検証ツール) リファレンス。 rules 設定、plugins、shareable-config、@commitlint/config-conventional、 Husky / lefthook / simple-git-hooks 連携、CI 統合、custom rules。
lefthook
fandhe-ai/agent-reference-skills
Lefthook (高速並列 Git hooks マネージャー) リファレンス。 lefthook.yml 設定、pre-commit / pre-push / commit-msg 等のフック、 parallel / piped 実行、glob / run / tags フィルタ、stagedfiles、 lefthook の ai 設定 (beta)、JSON schema、Composer / npm / pip 等インストール、 保護ブランチ、CI スキップ、Husky からの移行。
editorconfig
fandhe-ai/agent-reference-skills
EditorConfig (エディタ設定統一フォーマット) リファレンス。 .editorconfig ファイル、glob パターン、root、 indentstyle / indentsize / tabwidth、endofline, charset、 trimtrailingwhitespace, insertfinalnewline, maxlinelength, spellinglanguage。
rust
fandhe-ai/agent-reference-skills
Rust 言語リファレンス。 別名: rustlang, rs (拡張子)、Rust-lang。 TRPL (The Rust Programming Language)、Rust by Example、Reference、 Cargo Book、rustc Book、rustdoc Book、Rustonomicon (Unsafe Rust)、 Edition Guide、Standard Library、Error Index。 所有権、ライフタイム、トレイト、async / await、エラーハンドリング、マクロ。
anthropic-claude-code
fandhe-ai/agent-reference-skills
Claude Code (code.claude.com) の CLI 本体リファレンス。 CLAUDE.md memory, settings.json (All settings, settings precedence, managed-settings.json), env-vars, model config, keybindings, statusline, terminal config, cli-reference (-p / --continue / --resume), sessions, checkpointing, worktrees, remote control, channels, deep links, troubleshooting。
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.