skills/regle-advanced/SKILL.md
Advanced patterns for Regle form validation, including arrays, async, server errors, global config, variants, scoped validation, and schema integration.
npx skillsauth add victorgarciaesgi/regle regle-advancedInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Advanced usage patterns for Regle form validation in Vue 3. Covers collections, async validation, server errors, global configuration, discriminated unions (variants), scoped validation, and schema library integration.
| 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 |
| 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 |
| Topic | Description | Reference |
|-------|-------------|-----------|
| Schema Libraries | useRegleSchema with Zod, Valibot, ArkType | advanced-schema-libraries |
| Standard Schema | Standard Schema spec, useRules, refineRules, InferInput | advanced-standard-schema |
tools
Core skills for using Regle form validation in Vue.js. Provides setup, validation rules, and usage patterns.
development
TypeScript support for type-safe Regle form validation, rules, and component props.
development
Vue 3 Composition API, script setup macros, reactivity system, and built-in components. Use when writing Vue SFCs, defineProps/defineEmits/defineModel, watchers, or using Transition/Teleport/Suspense/KeepAlive.
development
Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.