skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
victorgarciaesgi/regle81 installs

regle-schemas

Validate Regle forms with schema libraries via `@regle/schemas` — Zod, Valibot, ArkType, and any Standard Schema spec library using `useRegleSchema`, `useRules`, `refineRules`, and `InferInput`. Use when a form's validation is defined by an external schema instead of `@regle/rules`. For native rules see regle-rules; for form setup see regle.

How do I install this agent skill?

npx skills add https://github.com/victorgarciaesgi/regle --skill regle-schemas
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides instructions and code examples for validating forms using the @regle/schemas library in Vue applications. It documents integration with standard schema validators like Zod, Valibot, and ArkType. No malicious behavior or security risks were identified.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Regle Schemas

Regle can drive validation from a schema library instead of @regle/rules. Install @regle/schemas and use useRegleSchema with a Zod, Valibot, or ArkType schema (or any Standard Schema compliant validator).

import { useRegleSchema } from '@regle/schemas';
import { z } from 'zod';

const { r$ } = useRegleSchema(
  { email: '' },
  z.object({ email: z.string().email() })
);

Key Concepts

  • useRegleSchema(state, schema) replaces useRegle; the r$ object behaves the same.
  • Works with any Standard Schema library; Zod, Valibot, and ArkType are first-class.
  • useRules / refineRules let you mix schema validation with native Regle rules.
  • InferInput infers the state type from the schema.

References

TopicDescriptionReference
Schema LibrariesuseRegleSchema with Zod, Valibot, ArkTypeschemas-libraries
Standard SchemaStandard Schema spec, useRules, refineRules, InferInputschemas-standard-schema

Related skills

  • regle — form setup with useRegle, validation properties, displaying errors.
  • regle-rules — native rules when not using a schema library.
  • regle-typescript — type-safe output and typing props.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/victorgarciaesgi/regle/regle-schemas">View regle-schemas on skillZs</a>