AgentSkillFrontmatter.ValidateDescription(String, String) Method

Definition

Validates a skill description against specification rules.

public static bool ValidateDescription(string? description, out string? reason);
static member ValidateDescription : string * string -> bool
Public Shared Function ValidateDescription (description As String, ByRef reason As String) As Boolean

Parameters

description
String

The skill description to validate (may be null).

reason
String

When validation fails, contains a human-readable description of the failure.

Returns

true if the description is valid; otherwise, false.

Applies to