What problem does it solve?
This Skill removes the need to duplicate validation logic by letting you use existing schema definitions from libraries like Zod, Valibot, or ArkType for Regle form validation, instead of rewriting all rules natively in Regle.
Core Features & Use Cases
- Multi-library support: Works with Zod 3.24+, Valibot 1+, ArkType 2+, and any Standard Schema compliant validator.
- Hybrid validation: Mix schema-based validation with native Regle rules using useRules and refineRules.
- Type safety: Infer form state types directly from your schema with InferInput for end-to-end type safety.
- Use Case: If your team already maintains shared Zod schemas for form validation across projects, use this Skill to plug those schemas directly into Regle without rewriting validation rules.
Quick Start
Use the regle-schemas skill to set up validation for your Vue form using your existing Zod schema.