react-form-builder

Generate Next.js forms with react-hook-form, shadcn/ui, and Zod validation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/darraghh1/my-claude-setup --skill react-form-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-form-builder
Source: https://github.com/darraghh1/my-claude-setup/tree/main/.claude/skills/react-form-builder
Command: npx skills add https://github.com/darraghh1/my-claude-setup --skill react-form-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation of client-side forms in Next.js applications, ensuring consistency, validation, and seamless integration with server actions.

Core Features & Use Cases

  • Form Generation: Creates forms using react-hook-form and shadcn/ui components.
  • Validation: Integrates Zod schemas for robust client-side and server-side validation.
  • Server Action Integration: Handles loading states, error feedback, and redirects with useTransition and toast.promise.
  • Use Case: When you need to build a user profile editing form with multiple input fields, dropdowns, and a switch, ensuring all data is validated before submission and providing clear feedback to the user.

Quick Start

Use the react-form-builder skill to create a new entity form with name and description fields.

Frequently Asked Questions about react-form-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build React forms with Zod validation and server actions in Next.js?

You can build React forms by using this skill to generate client-side components with react-hook-form, shadcn/ui, and Zod. It handles validation, server action integration, loading states, and user feedback automatically.

What is the best way to manage loading states and error handling for Next.js form submissions?

The best way to manage loading states and errors in Next.js forms is by using useTransition and toast.promise. This skill generates submission logic that integrates with server actions to provide clear user feedback during asynchronous operations.

Can I use shadcn/ui components with react-hook-form for complex user profile forms?

Yes, you can use shadcn/ui components with react-hook-form to create complex forms like user profile editors. This skill generates forms with multiple input fields, dropdowns, and switches while ensuring data is validated before submission.

Does react-form-builder work with existing project patterns and TypeScript?

react-form-builder works with TypeScript and adheres to established project patterns. It focuses on generating reusable form components, validation schemas, and submission logic that integrate seamlessly into existing Next.js codebases.

How do I validate form data on both client and server sides using Zod in a Next.js application?

To validate form data using Zod, this skill generates schemas that enforce robust client-side validation before submission and integrate with server actions. This ensures data integrity and provides immediate user feedback for errors.