Method Remove
Remove(string)
Removes a skill from the registry.
public bool Remove(string name)
Parameters
namestringThe name of the skill to remove.
Returns
- bool
trueif the skill was removed; otherwise,false.
Examples
Removing a skill from the registry:
var registry = new SkillRegistry();
registry.LoadFromDirectory("./skills");
if (registry.Remove("deprecated-skill"))
{
Console.WriteLine("Skill removed successfully");
}