skills

package
v1.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailableSkill

type AvailableSkill struct {
	Name        string   `json:"name"`
	Repository  string   `json:"repository"`
	Description string   `json:"description"`
	Author      string   `json:"author"`
	Tags        []string `json:"tags"`
}

type SkillInfo

type SkillInfo struct {
	Name        string `json:"name"`
	Path        string `json:"path"`
	Source      string `json:"source"`
	Description string `json:"description"`
}

type SkillInstaller

type SkillInstaller struct {
	// contains filtered or unexported fields
}

func NewSkillInstaller

func NewSkillInstaller(workspace string) *SkillInstaller

func (*SkillInstaller) InstallFromGitHub

func (si *SkillInstaller) InstallFromGitHub(ctx context.Context, repo string) error

func (*SkillInstaller) ListAvailableSkills

func (si *SkillInstaller) ListAvailableSkills(ctx context.Context) ([]AvailableSkill, error)

func (*SkillInstaller) Uninstall

func (si *SkillInstaller) Uninstall(skillName string) error

type SkillMetadata

type SkillMetadata struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type SkillsLoader

type SkillsLoader struct {
	// contains filtered or unexported fields
}

func NewSkillsLoader

func NewSkillsLoader(workspace string, globalSkills string, builtinSkills string) *SkillsLoader

func (*SkillsLoader) BuildSkillsSummary

func (sl *SkillsLoader) BuildSkillsSummary() string

func (*SkillsLoader) ListSkills

func (sl *SkillsLoader) ListSkills() []SkillInfo

func (*SkillsLoader) LoadSkill

func (sl *SkillsLoader) LoadSkill(name string) (string, bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL