joi
CommunityValidate inputs with clear, safe schemas.
Software Engineering#schema validation#custom extensions#joi#cross-field#request validation#api input#conditional validation
Authoravifenesh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Joi helps you prevent invalid or malformed request data from breaking your application by enforcing a consistent schema at input boundaries.
Core Features & Use Cases
- Schema-driven validation: Define objects, arrays, and primitive constraints so only expected shapes and values pass.
- Cross-field and dynamic rules: Use references for relationships between fields and conditional logic with .when() to express real business rules.
- Extensibility and better errors: Create custom types/extensions and tailor error messages for clearer feedback during API or form handling.
Quick Start
Use the joi skill to validate incoming input by defining a Joi.object() schema and calling validate(input) to obtain both the validated value and any structured error.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: joi Download link: https://github.com/avifenesh/glidemq-hapi/archive/main.zip#joi 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.