pub fn validate_skill_content(
content: &str,
dir_name: Option<&str>,
) -> ValidationReportExpand description
Validate a raw SKILL.md (frontmatter + body).
dir_name is the expected skill directory name; when supplied, a mismatch
with the frontmatter name is flagged (matters for packaged .skill
archives where the top-level folder must equal the skill name).