What problem does it solve? Wiring type-safe server actions into forms requires manually bridging validation errors, pending states, and submission handlers. This Skill provides ready-made patterns for connecting next-safe-action to native HTML forms, useStateAction form actions, and react-hook-form, including file uploads and bound arguments. ## Core Features & Use Cases - Multiple Integration Approaches: Choose between useAction with native forms, useStateAction with <form action={formAction}>, or the react-hook-form adapter (useHookFormAction, useHookFormOptimisticAction) based on form complexity. - Automatic Error Mapping: Server-side Zod validationErrors are mapped to react-hook-form's FieldErrors format via mapToHookFormErrors, including root-level errors. - File Uploads: Validate and upload single or multiple files using zod-form-data schemas, with size and MIME-type refinement, optionally combined with bind arguments. - Use Case: Build a profile edit form where the server action validates input with Zod, the client uses useStateAction to access prevResult, and field-level validation errors render inline next to each input. ## Quick Start Ask the AI to create a contact form using next-safe-action's useHookFormAction with a Zod schema for name, email, and message fields.