pub trait SkillValidator: Send + Sync {
// Required method
fn validate(&self, skill: &Skill) -> Result<(), SkillValidationError>;
}Expand description
Skill validator trait (extension point)
Validates a skill before it is registered. Implementations can enforce arbitrary policies — from simple structural checks to LLM-based review.