Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSystemPromptInjection ¶
BuildSystemPromptInjection generates the skills section for the system prompt. It follows the Lazy Load pattern: listing available skills and instructing the agent to read definition files.
Types ¶
type Skill ¶
type Skill struct {
Name string `yaml:"name"`
Description string `yaml:"description"`
Path string `yaml:"-"` // Absolute path to the SKILL.md file
Metadata map[string]interface{} `yaml:"metadata,omitempty"`
}
Skill represents a loaded AgentSkill
func LoadSkillsFromDirs ¶
LoadSkillsFromDirs scans the provided directories for SKILL.md files and loads them.
Click to show internal directories.
Click to hide internal directories.