Function: resolveNativeSkills()¶
resolveNativeSkills(
ast,registryPath,sourceFile,localPath?,options?):Promise\<Program>
Defined in: resolver/src/skills.ts:1002
Resolve native SKILL.md files for skills defined in the AST.
For each skill in the
Parameters¶
ast¶
The resolved AST
registryPath¶
string
Path to the registry
sourceFile¶
string
The source file path (to determine relative skill location)
localPath?¶
string
Optional path to local .promptscript directory
options?¶
Optional skill resolution options
Returns¶
Promise\<Program>
Updated AST with native skill content
Skills¶
block, checks if a corresponding SKILL.md file exists in the local skills directory, optionally in .agents/skills/, or in the registry at @skills/