joabgonzalez/ai-agents-skills/form-validation
Claude Code and agent skill by joabgonzalez/ai-agents-skills
- community
Checking that the SKILL.md file is still in the repository.
Form and schema validation across libraries. Trigger: When validating forms, API input, schemas, or runtime data.
Install
npx vskill@latest install joabgonzalez/ai-agents-skills/form-validationSKILL.md
The same SKILL.md was published earlier as joabgonzalez/ai-agents-skills/form-validation.
Form Validation
Form/schema validation across Zod, Yup, React Hook Form, Formik. Context-aware.
When to Use
- Validating user input (forms, API requests)
- Runtime schema validation
- Parsing external data with type safety
- Ensuring data conforms to types
- Managing form state with validation
Don't use when:
- Compile-time typing (typescript skill)
- Simple validation (<3 fields)
Critical Patterns
✅ REQUIRED [CRITICAL]: Check Context First
ALWAYS check what the project uses before recommending a library:
✅ REQUIRED: Infer Types from Schemas
✅ REQUIRED: Safe Error Handling
✅ REQUIRED: Chain Validations
Decision Tree
Example
Context-aware validation setup:
Edge Cases
Multiple libs: Use appropriate for context (Zod for API, Yup for legacy Formik).
No library: Recommend RHF + Zod (React) or Zod (Node.js).
Migration: One form/endpoint at a time. Don't mix within same form.
TS strict: All libs need strict: true in tsconfig.
Resources
| Reference | When to Read | |
|---|---|---|
| references/zod.md | Using Zod for schema validation | |
| references/yup.md | Using Yup for validation | |
| references/react-hook-form.md | Using React Hook Form for forms | |
| references/formik.md | Using Formik for React forms |
See [references/README.md](references/README.md) for complete navigation.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/form-validation/SKILL.md
Popularity
- Repository stars
- 9
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/joabgonzalez/ai-agents-skills/form-validation)