Skip to main content

parse_skill_file

Function parse_skill_file 

Source
pub fn parse_skill_file(path: &Path) -> Result<Skill>
Expand description

Parse a SKILL.md file into a fully resolved Skill.

The frontmatter (YAML between --- delimiters) is deserialised into SkillMetadata. Everything after the closing delimiter becomes the instructions field. The skill directory is then scanned for an executable.