| useAction + native form | Simple forms, no complex validation UI | | useHookFormAction (RHF adapter) | Complex forms with field-level errors, validation on change/blur | | useHookFormOptimisticAction | RHF forms with optimistic UI updates |
| @next-safe-action/adapter-react-hook-form | Default | mapToHookFormErrors, types | | @next-safe-action/adapter-react-hook-form/hooks | Hooks | useHookFormAction, useHookFormOptimisticAction, useHookFormActionErrorMapper |
Úselo al integrar next-safe-action con formularios: adaptador reaccionar-hook-form (useHookFormAction, useHookFormOptimisticAction, mapToHookFormErrors), formularios HTML nativos, argumentos de enlace o carga de archivos Fuente: next-safe-action/skills.
Abre tu terminal o herramienta de línea de comandos (Terminal, iTerm, Windows Terminal, etc.) Copia y ejecuta este comando: npx skills add https://github.com/next-safe-action/skills --skill safe-action-forms Una vez instalado, el skill se configurará automáticamente en tu entorno de programación con IA y estará listo para usar en Claude Code, Cursor u OpenClaw