form-design
SKILL.md
Form Design & Validation
Create accessible, validated forms with excellent user experience.
Instructions
- Use proper labels - Every input needs an associated label
- Validate on blur and submit - Immediate feedback without being intrusive
- Show clear error messages - Specific, actionable guidance
- Group related fields - Use fieldsets for logical groupings
- Support keyboard navigation - Tab order, Enter to submit
React Hook Form + Zod (Recommended Stack)
Setup
npm install react-hook-form zod @hookform/resolvers