Skip to main content

react-hook-form-audit

Audits a Next.js (App Router, 14/15+) codebase for React Hook Form anti-patterns โ€” watch() at form root, Controller inlined in parent, async submit without try/catch, missing setError on server failures, RHF in non-"use client" files, RHF mixed with useActionState, schemas defined inside components, useFieldArray without field.id keys, register({ disabled }) for visual disabling, useFieldArray({ disabled }) that silently no-ops mutations, useEffect+reset(data) instead of the values prop. Read-only; emits a markdown report with file:line citations linking back to the companion `react-hook-form` distillation skill. Trigger when the user asks to audit/review/lint RHF usage, find form anti-patterns, or run a quality check on forms โ€” even if they don't say "react-hook-form" by name; if they mention auditing forms in a Next.js project, use this skill.

Jump to install

Source facts

Repository
pproenca/dot-skills
Last source activity
July 23, 2026 at 06:26
Detected SKILL.md language
English
Stars
194
Forks
17

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.