Documentation
¶
Index ¶
- func BuildSkillPrompt(skill *config.Skill) string
- type Manager
- func (m *Manager) BuildAllSkillsPrompt() string
- func (m *Manager) BuildFullPrompt(skillNames []string) string
- func (m *Manager) Count() int
- func (m *Manager) GetAll() []config.Skill
- func (m *Manager) GetByCategory(category string) []config.Skill
- func (m *Manager) GetByName(name string) *config.Skill
- func (m *Manager) GetInstructions(name string) string
- func (m *Manager) GetRequiredTools(name string) []string
- func (m *Manager) GetSkillsSummary() string
- func (m *Manager) Initialize(cfg *config.SkillsConfig)
- func (m *Manager) IsEnabled() bool
- func (m *Manager) MatchSkills(input string) []config.Skill
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSkillPrompt ¶
BuildSkillPrompt builds the full prompt for a single activated skill
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages skills loaded from config
func (*Manager) BuildAllSkillsPrompt ¶ added in v1.33.55
BuildAllSkillsPrompt builds the system prompt section with ALL skills and their full instructions
func (*Manager) BuildFullPrompt ¶
BuildFullPrompt builds a prompt section with full instructions for specific skills Use this when a skill has been matched/activated
func (*Manager) GetByCategory ¶
GetByCategory returns skills by category
func (*Manager) GetInstructions ¶
GetInstructions returns the full instructions for a skill
func (*Manager) GetRequiredTools ¶
GetRequiredTools returns the MCP/builtin tools required by a skill
func (*Manager) GetSkillsSummary ¶
GetSkillsSummary returns a brief summary of available skills
func (*Manager) Initialize ¶
func (m *Manager) Initialize(cfg *config.SkillsConfig)
Initialize loads skills from config
Click to show internal directories.
Click to hide internal directories.