Skip to main content

Module validator

Module validator 

Source
Expand description

Skill Safety Gate

Provides validation for skills before they are registered in the registry. This is the first line of defense against malicious or malformed skills being injected into the system prompt.

§Extension Point

SkillValidator is a trait — consumers can replace DefaultSkillValidator with a custom implementation (e.g., LLM-based content review, policy engine).

Structs§

DefaultSkillValidator
Default skill validator with built-in safety checks
SkillValidationError
Validation error with structured reason

Enums§

ValidationErrorKind

Traits§

SkillValidator
Skill validator trait (extension point)