Table of Contents

Method Build

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

Build()

Builds the AgentSkill instance.

public AgentSkill Build()

Returns

AgentSkill

The constructed skill.

Examples

Building a complete skill:

var skill = new SkillBuilder()
    .WithName("code-review")
    .WithDescription("Reviews code for bugs and security issues.")
    .WithInstructions("# Review Guidelines\n...")
    .Build();

Console.WriteLine($"Created skill: {skill.Name}");

Exceptions

InvalidOperationException

Thrown when required fields are missing or validation fails.