YAML frontmatter parser for skill files.
@spec parse(String.t()) :: {:ok, map(), String.t()} | {:error, String.t()}