Table of Contents

Method WithDescription

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

WithDescription(string)

Sets the skill description.

Required. This is the primary signal agents use to determine when to invoke the skill. Include clear activation triggers (e.g., "Use when...").

public SkillBuilder WithDescription(string description)

Parameters

description string

The skill description.

Returns

SkillBuilder

This builder for method chaining.

Examples

Setting a descriptive skill description:

var builder = new SkillBuilder()
    .WithName("code-review")
    .WithDescription("Reviews code for bugs, security issues, and best practices.");