new-validation-rule
CommunityAdd a custom server-side validation rule.
Authorweiloon1234
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Forge needs a way to extend validation with custom, context-aware Rules for request DTOs, beyond built-in validators, to enforce domain-specific constraints and consistent error handling.
Core Features & Use Cases
- Pluggable ValidationRule implementations that can be registered at app bootstrap
- Context-aware checks that can access DB/services via RuleContext
- i18n-ready error codes for frontend translations
Quick Start
Implement a new ValidationRule struct and register it in App bootstrap with its ValidationRuleId.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: new-validation-rule Download link: https://github.com/weiloon1234/Forge-Starter/archive/main.zip#new-validation-rule Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.