Skip to content

parseSkillFile(path, raw): SkillFileParseResult

解析并校验一个 SKILL.md。 缺失 skill 表示该文件不可用:缺少 frontmatter、YAML 非法、name/description 缺失或 name 非法。

Parameters ​

path ​

string

raw ​

string

Returns ​

SkillFileParseResult

Released under the MIT License with love.