pub fn parse_instruction_markdown(
path: &Path,
content: &str,
) -> Result<ParsedSkill, SkillError>Available on crate feature
skills only.Expand description
Parses an instruction Markdown file, choosing the strategy based on its path.
Files inside .skills/ are parsed strictly with required YAML frontmatter.
Known convention files (e.g. AGENTS.md, CLAUDE.md) are parsed leniently,
deriving name, description, and tags from the filename and content when
frontmatter is absent.