Skip to main content

parse_skill_markdown

Function parse_skill_markdown 

Source
pub fn parse_skill_markdown(
    path: &Path,
    content: &str,
) -> Result<ParsedSkill, SkillError>
Available on crate feature skills only.
Expand description

Parses a skill Markdown file that uses YAML frontmatter.

The file must begin with a --- delimited frontmatter block containing at least name and description fields. Everything after the closing --- delimiter is captured as the skill body.