pub fn validate_skill(dir: &Path) -> Result<Vec<Finding>>Expand description
Validate a single skill directory, returning any findings. An empty vec means the skill is valid. This never errors on a bad skill — invalidity is reported as findings; it only errors if the directory is unreadable.
§Errors
Returns Error::Io only when the directory exists but cannot be inspected
in a way that prevents validation from proceeding.