victorgarciaesgi/regle/regle-rules

Claude Code and agent skill by victorgarciaesgi/regle

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Regle validation rules — built-in rules from `@regle/rules`, custom rules with `createRule`, rule wrappers (`withMessage`, `withParams`, `withAsync`, `withTooltip`), and rule operators (`and`, `or`, `xor`, `not`, `applyIf`, `assignIf`, `pipe`). Use when declaring, customizing, composing, or conditionally applying validation rules in a Regle form. For form setup see regle.

Install

npx vskill@latest install victorgarciaesgi/regle/regle-rules

SKILL.md

The same SKILL.md was published earlier as victorgarciaesgi/regle/regle-rules.

Regle Rules

Validation rules for Regle. Rules come from @regle/rules, but you can also write your own with createRule, customize them with wrappers, and combine them with operators.

ts
import { useRegle } from '@regle/core';
import { required, email, minLength } from '@regle/rules';
const { r$ } = useRegle(
{ email: '' },
{ email: { required, email, minLength: minLength(5) } }
);

Key Concepts

  • All rules are optional by default; add required to enforce a field.
  • Built-in rules are imported from @regle/rules; some are factories that take parameters (e.g. minLength(3)).
  • Custom rules use createRule for reusability, or an inline function for one-offs.
  • Wrappers adapt an existing rule (message, params, async, tooltip) without rewriting it.
  • Operators combine or conditionally apply rules.

References

TopicDescriptionReference
Built-in RulesAll validation rules from @regle/rulesrules-built-in
Custom RulesInline rules, createRule, reactive parameters, async rules, metadatarules-custom
Rule WrapperswithMessage, withParams, withAsync, withTooltip, chainingrules-wrappers
Rule Operatorsand, or, xor, not, applyIf, assignIf, piperules-operators

Related skills

  • regle — form setup with useRegle, validation properties, displaying errors, modifiers.
  • regle-typescript — typing rules schemas with inferRules and RegleComputedRules.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
492
Repository forks
22
7-day trend score
31

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Aug 2026, 3 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/victorgarciaesgi/regle/regle-rules/badge)](https://verified-skill.com/skills/victorgarciaesgi/regle/regle-rules)

Something wrong with this skill or its page? Tell us.