skills

package
v0.0.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package skills provides types and serialization for agent skills.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailableSkills

type AvailableSkills struct {
	XMLName xml.Name `xml:"available_skills"`
	Skills  []Skill  `xml:"skill"`
}

AvailableSkills represents a collection of discovered skills.

func (AvailableSkills) AsXML

func (a AvailableSkills) AsXML() (string, error)

AsXML returns the XML representation of available skills.

type Skill

type Skill struct {
	XMLName     xml.Name `xml:"skill"`
	Name        string   `xml:"name"`
	Description string   `xml:"description"`
	Location    string   `xml:"location"` // Absolute path to the SKILL.md file
}

Skill represents a discovered skill with its metadata.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL