Function: extractSkillFrontmatter()¶
extractSkillFrontmatter(
content,sourceFile?):SkillFrontmatterBlock|null
Defined in: resolver/src/skills.ts:205
Extract a SKILL.md frontmatter block using the same delimiter rules as the parser and validator.
Parameters¶
content¶
string
sourceFile?¶
string = '<skill>'
Returns¶
SkillFrontmatterBlock | null