stacks-validation
OfficialRobust Stacks validation with type guards
Authorstacksjs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Validation of data against Stacks validation rules to ensure model integrity and API input safety.
Core Features & Use Cases
- Type guards (isString, isNumber, isBoolean, isObject, isArray, isFunction, isUndefined, isNull, isNullOrUndefined)
- Numeric checks (isInteger, isPositive, isEven, etc.)
- Schema builder for model attribute validation and request validation
- Error reporting and integration with custom validators
- Re-exports and integration with @stacksjs/validation for a coherent validation layer
Quick Start
Run a sample data validation against your model using the stacks-validation rules.
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: stacks-validation Download link: https://github.com/stacksjs/stacks/archive/main.zip#stacks-validation 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.