pub fn declared_skill_name(dir: &Path) -> Option<String>Expand description
A skill package’s own declared name: SKILL.md frontmatter name, else
the directory’s own name — exactly the rule list_skills applies, so a
row installed here is found again by the name the loader will report.
None when the directory holds no SKILL.md at all.