react-hook-form
Installation
SKILL.md
React Hook Form
Build around four decisions: ownership, schema tree, adapter, and baseline. RHF evidence is the invocation boundary; an ordinary React form request does not itself justify introducing the library.
Process
1. Establish the form contract
Inspect the installed RHF, React, resolver, schema, data-fetching, and UI-library versions before writing code. Identify:
- create or edit form;
- submitted value shape and API payload shape;
- client snapshot or live server-data ownership;
- native input contracts versus controlled adapters;
- conditional, array, or wizard branches;
- stable v7 APIs versus installed v8 APIs.