pub fn validate_skill(skill: &Skill) -> Result<()>Expand description
Strict validation for skills installed locally or being authored.
In addition to the metadata checks, the on-disk directory name
must match the frontmatter name — this is a local-filesystem
invariant for .agents/skills/<name>/ lookup. Use this from
knack install, knack new, knack validate, and the publish
flow.