Skip to main content

load_skill

Function load_skill 

Source
pub fn load_skill(dir: &Path) -> Result<SkillDefinition>
Expand description

Load a skill definition from a directory containing SKILL.md.

ยงErrors

Returns Error::Io if SKILL.md cannot be read and Error::Yaml if the frontmatter is not valid YAML.