Skip to content

Function: createMdSkillBuilder() ​

ts
function createMdSkillBuilder<THandle>(path): MdFrontmatterSourceBuilder<SkillNode<THandle>>;

Defined in: markdown/src/builders/create-md-skill-builder.ts:17

Builds a MdFrontmatterSourceBuilder<SkillNode<THandle>> for md.skill(path).

Configures kind: 'skill' and id: "md:skill:${path}" for passing into P.skill(md.skill(path)) while binding code-level .unlocksTools(...) and .unlocksServices(...).

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownRuntime handle type of the active isolation scope.

Parameters ​

ParameterTypeDescription
pathstringHost-root-relative path to a single skill Markdown file.

Returns ​

MdFrontmatterSourceBuilder<SkillNode<THandle>>

Frozen single skill source builder.

Released under the MIT License.