Skip to main content

parse_skill_file

Function parse_skill_file 

Source
pub fn parse_skill_file(
    path: &Path,
    source: SkillSource,
    enabled: bool,
) -> Result<SkillInstructions>
Expand description

Parses a SKILL.md file and extracts metadata and instructions.

The file format is:

---
name: skill-name
description: What this skill does
---

# Skill Instructions
...