Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSkillNotFound = errors.New("skill: SKILL.md not found") ErrSkillParse = errors.New("skill: parse error") )
@sk-task skills-system#T1.1: sentinel errors for skill loading (AC-001, AC-003, AC-011)
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry scans a directory for skill subdirectories and provides listing and lookup.
func NewRegistry ¶
NewRegistry creates a new Registry that scans the given base path for skills.
type Skill ¶
type Skill struct {
Name string
Description string
Body string
Version string
Dependencies []string
}
Skill represents a single domain-expertise package loaded from a SKILL.md file.
func LoadSkills ¶
@sk-task skills-system#T1.1: LoadSkills loads multiple skills from directory paths (AC-001, AC-007, AC-011)
func ParseSKILL ¶
@sk-task skills-system#T1.1: ParseSKILL reads a SKILL.md file and returns a Skill (AC-001, AC-002, AC-003, AC-007)
Click to show internal directories.
Click to hide internal directories.