Method ReloadSkill
ReloadSkill(string)
Manually triggers a reload of a specific skill.
public bool ReloadSkill(string skillPath)
Parameters
skillPathstringThe path to the skill directory.
Returns
- bool
trueif the skill was reloaded successfully; otherwise,false.
Examples
Manually triggering a skill reload:
var watcher = new SkillWatcher(registry, "./skills");
if (watcher.ReloadSkill("./skills/code-review"))
{
Console.WriteLine("Skill reloaded successfully");
}