What problem does it solve?
This skill enforces project form system conventions automatically during form development using the TanStack Form integration. It ensures consistent patterns for form hooks, field components, focus management, validation, server action integration, and accessibility.
Core Features & Use Cases
- Enforces useAppForm hook patterns, withFocusManagement, and standardized form wrappers (form.AppField, form.AppForm, form.SubmitButton)
- Supports field components (TextField, TextareaField, SelectField, SwitchField, CheckboxField, ComboboxField, TagField) with consistent props and state handling
- Ensures accessible form rendering, focus management on validation errors, and seamless server action integration via useServerAction
- Applies across create, edit, and dialog forms to maintain a cohesive UX and maintainable codebase
Quick Start
Apply the Form System Conventions to a sample React form that uses useAppForm, form.AppField, and form.SubmitButton to demonstrate consistent patterns.