Skip to content

@sqlrooms/ai / parseSkillManifest

Function: parseSkillManifest()

parseSkillManifest(yamlText): object

Parse YAML text into a validated SkillManifest.

Parameters

ParameterType
yamlTextstring

Returns

object

NameType
idstring
versionstring
namestring
descriptionstring
author?string
icon?string

Throws

if the YAML is malformed or the parsed value fails schema validation.