victorgarciaesgi/regle/regle-rules
Claude Code and agent skill by victorgarciaesgi/regle
- community
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-rulesSKILL.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.
Key Concepts
- All rules are optional by default; add
requiredto enforce a field. - Built-in rules are imported from
@regle/rules; some are factories that take parameters (e.g.minLength(3)). - Custom rules use
createRulefor 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
| Topic | Description | Reference | |
|---|---|---|---|
| Built-in Rules | All validation rules from @regle/rules | rules-built-in | |
| Custom Rules | Inline rules, createRule, reactive parameters, async rules, metadata | rules-custom | |
| Rule Wrappers | withMessage, withParams, withAsync, withTooltip, chaining | rules-wrappers | |
| Rule Operators | and, or, xor, not, applyIf, assignIf, pipe | rules-operators |
Related skills
- regle — form setup with
useRegle, validation properties, displaying errors, modifiers. - regle-typescript — typing rules schemas with
inferRulesandRegleComputedRules.
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
- SKILL.md in the repositoryCheckingskills/regle-rules/SKILL.md
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
[](https://verified-skill.com/skills/victorgarciaesgi/regle/regle-rules)