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 Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active isolation scope. |
Parameters
| Parameter | Type | Description |
|---|---|---|
path | string | Host-root-relative path to a single skill Markdown file. |
Returns
MdFrontmatterSourceBuilder<SkillNode<THandle>>
Frozen single skill source builder.