mcpField
R
regle-advanced

regle-advanced

github.com/victorgarciaesgiDevelopment513187 installsUpdated 2w ago
Repository

About regle-advanced

regle-advanced is a skill covering advanced Regle patterns for Vue 3 form validation, including collections, async validation, server errors, and scoped validation. It is for developers working with complex form states and configuration.

Key features

  1. 01Array collection validation
  2. 02Async validation and debouncing
  3. 03Server error handling
  4. 04Form reset options
  5. 05Variants and scoped validation
  6. 06Merge form instances

Use cases

  1. 01Validate dynamic array fields
  2. 02Handle async rules and pending state
  3. 03Map and clear server errors
  4. 04Organize validation across components

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/victorgarciaesgi/regle --skill regle-advanced

After installing, type/regle-advancedin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
advanced-global-config.md
advanced-merge-regles.md
advanced-scoped-validation.md
advanced-self-validation.md
advanced-variants.md
common-async-validation.md
common-collections.md
common-reset-forms.md
common-server-errors.md

Details

From the project README

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

TopicDescriptionReference
Collections$each for array validation, collection errors, custom keyscommon-collections
Async ValidationAsync rules, $pending state, debouncingcommon-async-validation
Server ErrorsexternalErrors, dot-path errors, clearing errorscommon-server-errors
Reset Forms$reset options: toInitialState, toOriginalState, toStatecommon-reset-forms

Advanced

TopicDescriptionReference
Global ConfigdefineRegleConfig, custom messages, i18n, global modifiersadvanced-global-config
VariantscreateVariant, narrowVariant, discriminated unionsadvanced-variants
Scoped ValidationuseScopedRegle, useCollectScope, cross-component validationadvanced-scoped-validation
Merge ReglesmergeRegles to combine multiple form instancesadvanced-merge-regles
Self Validation$self for object-level cross-field validationadvanced-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.

Comments

Markdown supported