Method WithInstructions
WithInstructions(string)
Sets the skill instructions (the main body content).
public SkillBuilder WithInstructions(string instructions)
Parameters
instructionsstringThe 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
");