Skip to main content

parse_frontmatter

Function
This function is defined in the parser module.
Parse YAML frontmatter from SKILL.md content.

Signature

Parameters

str
required
Raw content of SKILL.md file

Returns

Tuple[dict, str]
Tuple of (metadata dict, markdown body)

Exceptions

If frontmatter is missing or invalid

Uses

  • ParseError

Used By

Source

View on GitHub

praisonaiagents/skills/parser.py at line 27