Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/skills / frontmatter / splitSkillMd

Function: splitSkillMd()

ts
function splitSkillMd(skillMd): SplitSkillMd;

Defined in: packages/skills/src/frontmatter/index.ts:51

Split a raw SKILL.md string into the YAML frontmatter and the markdown body. The frontmatter delimiter is the canonical ---\n…\n---\n pair.

Parameters

ParameterType
skillMdstring

Returns

SplitSkillMd

Stable