with one click
regle-advanced
// Advanced patterns for Regle form validation, including arrays, async, server errors, global config, variants, scoped validation, and schema integration.
// Advanced patterns for Regle form validation, including arrays, async, server errors, global config, variants, scoped validation, and schema integration.
Measure and compare TypeScript memory usage for @regle/core and test typechecks. Use when checking TS server pressure, type-level perf regressions, or before/after heavy generic typing changes.
Vite+ unified toolchain (vp CLI) usage for this project, wrapping Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Use when running install/build/test/check/format/lint, working with the `vp` CLI, or validating changes in this repo.
Core skills for using Regle form validation in Vue.js. Provides setup, validation rules, and usage patterns.
Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.
VitePress static site generator powered by Vite and Vue. Use when building documentation sites, configuring themes, or writing Markdown with Vue components.
TypeScript support for type-safe Regle form validation, rules, and component props.
| name | regle-advanced |
| description | Advanced patterns for Regle form validation, including arrays, async, server errors, global config, variants, scoped validation, and schema integration. |
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 |