AgentSkillFrontmatter(String, String, String) Constructor

Definition

Initializes a new instance of the AgentSkillFrontmatter class.

public AgentSkillFrontmatter(string name, string description, string? compatibility = default);
new Microsoft.Agents.AI.AgentSkillFrontmatter : string * string * string -> Microsoft.Agents.AI.AgentSkillFrontmatter
Public Sub New (name As String, description As String, Optional compatibility As String = Nothing)

Parameters

name
String

Skill name in kebab-case.

description
String

Skill description for discovery.

compatibility
String

Optional compatibility information (max 500 chars).

Exceptions

Thrown when name, description, or compatibility violates the Agent Skills specification rules.

Applies to