Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultBuiltinSkills ¶ added in v0.3.0
DefaultBuiltinSkills returns the built-in skills shipped with golem.
func EnsureBuiltinSkills ¶ added in v0.3.0
EnsureBuiltinSkills writes default builtin skills into <configDir>/builtin-skills when they do not already exist.
Types ¶
type AvailableSkill ¶ added in v0.3.0
type AvailableSkill struct {
Name string `json:"name"`
Repository string `json:"repository"`
Description string `json:"description"`
Author string `json:"author"`
Tags []string `json:"tags"`
}
AvailableSkill is an entry from the remote skills index.
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
Installer manages skill installation and removal.
func NewInstaller ¶
NewInstaller creates an installer targeting the given workspace.
func (*Installer) Install ¶
Install downloads a SKILL.md from a GitHub repository. repo format: "owner/repo" or "owner/repo/path/to/SKILL.md" The skill name is derived from the repo name by default.
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader discovers and loads skill files.
func (*Loader) BuildSkillsSummary ¶
BuildSkillsSummary returns a formatted summary of all skills for system prompt injection.
func (*Loader) ListSkills ¶
ListSkills returns all discovered skills (workspace > global > builtin).