form-stack
CommunityType-safe forms with one schema.
Authornabinkhair42
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Building forms in product apps is repetitive, error-prone, and hard to keep in sync with the API. This pattern provides a repeatable approach that uses a single Zod schema to drive validation, TypeScript types, and the API contract, reducing boilerplate and drift.
Core Features & Use Cases
- One source of truth: a single Zod schema validates inputs, infers types, and represents the API payload.
- UI wiring with RHF and shadcn/ui: near-zero boilerplate for form fields, error messages, and accessibility.
- End-to-end form lifecycle: supports create/edit flows, multi-step wizards, server actions, or React Query mutations, with robust error handling and loading states.
Quick Start
Set up a single Zod-based schema and wire it to a React Hook Form instance using the provided Form components to build a full-featured, type-safe form.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: form-stack Download link: https://github.com/nabinkhair42/nk-skills/archive/main.zip#form-stack Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.