Table of Contents

Class SkillAttribute

Namespace
nanoFramework.WebServer.Skills
Assembly
nanoFramework.WebServer.Skills.dll

Marks a class as a discoverable AI agent skill (A2A AgentSkill compatible).

[AttributeUsage(AttributeTargets.Class)]
public class SkillAttribute : Attribute
Inheritance
SkillAttribute
Inherited Members
Extension Methods

Constructors

SkillAttribute(string, string, string, string)

Initializes a new instance of the SkillAttribute class.

public SkillAttribute(string id, string name, string description, string version = "1.0")

Parameters

id string

The unique identifier for this skill.

name string

The human-readable name of this skill.

description string

A detailed description of this skill.

version string

The version of this skill. Defaults to "1.0".

Properties

Description

Gets the detailed description (A2A: AgentSkill.description).

public string Description { get; }

Property Value

string

Id

Gets the unique identifier (A2A: AgentSkill.id).

public string Id { get; }

Property Value

string

Name

Gets the human-readable name (A2A: AgentSkill.name).

public string Name { get; }

Property Value

string

Version

Gets the agent/skill version.

public string Version { get; }

Property Value

string