Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadWorkspaceMDs ¶
LoadWorkspaceMDs reads all *.md files directly in the workspace directory.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager provides hot-reload and enable/disable toggles for skills.
func NewManager ¶
func NewManager(logger *zap.SugaredLogger, workspace, statePath string) (*Manager, error)
NewManager creates a Manager, loads skills from workspace, and applies persisted enable/disable state.
func (*Manager) EnabledSkills ¶
EnabledSkills returns only skills that are currently enabled.
func (*Manager) SetEnabled ¶
SetEnabled enables or disables a skill by name and persists the state.
type Skill ¶
type Skill struct {
Name string
Description string
Content string // full SKILL.md text (after frontmatter)
Path string // directory of the SKILL.md
Origin string // "local", "marketplace", or custom origin string
Enabled bool // whether the skill is active (default true)
Verified bool // true if installed via CrawHub; false for manual drop-ins (REQ-102)
}
Skill holds a parsed SKILL.md.
Click to show internal directories.
Click to hide internal directories.