Skip to main content

parse_skill_md

Function parse_skill_md 

Source
pub fn parse_skill_md(source: &str) -> Result<Skill, SkillError>
Expand description

Parse a SKILL.md document into a Skill.

Frontmatter format: leading ---\n (or ---\r\n), then lines of key: value, then ---\n, then the body (skill instructions). allowed-tools (or allowed_tools) may be comma- or space-separated.