regle-advanced
Advanced Regle form validation patterns — collection validation with `$each`, async rules and `$pending`, server/`externalErrors`, `$reset` options, global config with `defineRegleConfig`, discriminated-union variants, cross-component `useScopedRegle`/`useCollectScope`, `mergeRegles`, and object-level `$self`. Use for arrays of fields, async/server validation, scoped or merged forms, i18n messages, or variant forms. For schema libraries see regle-schemas.
How do I install this agent skill?
npx skills add https://github.com/victorgarciaesgi/regle --skill regle-advancedIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides documentation and code examples for advanced form validation patterns using the Regle library in Vue 3. No security issues, malicious patterns, or unauthorized data operations were detected.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
12/12 files flagged
What does this agent skill do?
Regle Advanced Patterns
Advanced usage patterns for Regle form validation in Vue 3. Covers collections, async validation, server errors, reset options, global configuration, discriminated unions (variants), scoped validation, merging, and object-level self validation.
Common Patterns
| Topic | Description | Reference |
|---|---|---|
| Collections | $each for array validation, collection errors, custom keys | common-collections |
| Async Validation | Async rules, $pending state, debouncing | common-async-validation |
| Server Errors | externalErrors, dot-path errors, clearing errors | common-server-errors |
| Reset Forms | $reset options: toInitialState, toOriginalState, toState | common-reset-forms |
Advanced
| Topic | Description | Reference |
|---|---|---|
| Global Config | defineRegleConfig, custom messages, i18n, global modifiers | advanced-global-config |
| Variants | createVariant, narrowVariant, discriminated unions | advanced-variants |
| Scoped Validation | useScopedRegle, useCollectScope, cross-component validation | advanced-scoped-validation |
| Merge Regles | mergeRegles to combine multiple form instances | advanced-merge-regles |
| Self Validation | $self for object-level cross-field validation | advanced-self-validation |
Related skills
- regle — form setup with
useRegle, validation properties, displaying errors, modifiers. - regle-rules — built-in/custom rules, wrappers, and operators.
- regle-schemas — Zod, Valibot, ArkType, and Standard Schema integration.
- regle-typescript — typing rules schemas and component props.
How can the creator link this skill?
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-advanced">View regle-advanced on skillZs</a>