Table of Contents

Method WithInstructions

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

WithInstructions(string)

Sets the skill instructions (the main body content).

public SkillBuilder WithInstructions(string instructions)

Parameters

instructions string

The Markdown instructions.

Returns

SkillBuilder

This builder for method chaining.

Examples

Setting skill instructions with Markdown:

var builder = new SkillBuilder()
    .WithName("code-review")
    .WithDescription("Reviews code")
    .WithInstructions(@"
        # Code Review Guidelines
        1. Check for security vulnerabilities
        2. Verify error handling
    ");