fsd-form

Generate React form components with react-hook-form and zod validation for FSD slices.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/rladydqls99/claude-marketplace --skill fsd-form
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fsd-form
Source: https://github.com/rladydqls99/claude-marketplace/tree/main/plugins/dev-team-plugin/skills/fsd-form
Command: npx skills add https://github.com/rladydqls99/claude-marketplace --skill fsd-form

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of validated form components for FSD (Feature-Sliced Design) projects, streamlining the development of user interfaces that require input and validation.

Core Features & Use Cases

  • Automated Form Generation: Creates a React component for forms using react-hook-form and zod for validation.
  • FSD Structure Integration: Designed to fit within the FSD architecture, generating files in the ui/ directory.
  • Use Case: When you need to build a new user registration form within a specific feature slice of your FSD project, this Skill can generate the initial component, schema, and mutation hook setup.

Quick Start

Generate a form component for a 'Product' slice.

Frequently Asked Questions about fsd-form

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

FAQPage Schema
How do I generate a validated React form component for an FSD slice?

To generate a validated React form component for an FSD slice, this Skill creates a UI component using react-hook-form and zod, integrating a mutation hook for submission and displaying per-field error messages.

How do I set up form validation with zod and react-hook-form in a Feature-Sliced Design project?

Setting up form validation with zod and react-hook-form in a Feature-Sliced Design project is handled by generating a UI component that defines a zod schema and integrates react-hook-form for validation and submission.

Can I use this to create a form that connects directly to a mutation hook?

Yes, you can create a form that connects to a mutation hook. The generated component integrates a mutation hook for submission, handling inputs and displaying per-field validation error messages.

What is the best way to manage form class names when generating React components?

The best way to manage form class names in generated React components is using the cn() utility. The Skill incorporates cn() for class name management directly within the generated form UI component.

Does this form generator support per-field error messages for React Hook Form?

Yes, this form generator supports per-field error messages for React Hook Form. The generated UI component displays individual validation errors for each input field using zod and react-hook-form.

When do I need to generate a form component in the ui directory for FSD?

You need to generate a form component in the ui directory for FSD when building a new input or submit UI requiring validation. It fits the Feature-Sliced Design architecture by creating files within the specific slice's ui/ folder.