Table of Contents

Method Get

Namespace
LMKit.Agents.Skills
Assembly
LM-Kit.NET.dll

Get(string)

Gets a skill by name.

public AgentSkill Get(string name)

Parameters

name string

The skill name (case-insensitive).

Returns

AgentSkill

The skill if found.

Examples

Getting a skill by name (throws if not found):

var registry = new SkillRegistry();
registry.LoadFromDirectory("./skills");

var skill = registry.Get("code-review");
Console.WriteLine(skill.Description);

Exceptions

KeyNotFoundException

Thrown when no skill with the specified name is registered.