Method WithDescription
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
descriptionstringThe 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.");