Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry manages skill files under <root>/<DataDir>/skills/.
func NewRegistry ¶
NewRegistry creates a Registry rooted at the given workspace root.
type Skill ¶
type Skill struct {
Name string `yaml:"name" json:"name"`
Description string `yaml:"description" json:"description"`
Triggers []string `yaml:"triggers" json:"triggers,omitempty"`
Repos []string `yaml:"repos" json:"repos,omitempty"`
Content string `yaml:"-" json:"content"`
}
Skill represents a reusable skill stored as a markdown file with YAML frontmatter.
Click to show internal directories.
Click to hide internal directories.