AgentSkillFrontmatter.ValidateName(String, String) Method

Definition

Validates a skill name against specification rules.

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

Parameters

name
String

The skill name to validate (may be null).

reason
String

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

Returns

true if the name is valid; otherwise, false.

Applies to