Help us shape the future of Go! Take the 2026 Go Developer Survey

skill

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

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

Loader manages lazy loading of skill files.

func NewLoader

func NewLoader(workspaceDir string) *Loader

NewLoader initializes skill discovery across project and home locations.

func (*Loader) All

func (l *Loader) All() []Skill

All returns every loaded skill (used to inject the full skill list into the system prompt so the model knows what it can load).

func (*Loader) Match

func (l *Loader) Match(query string) []Skill

Match performs fuzzy matching against skill name and description.

type Skill

type Skill struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Path        string `json:"path"`
	Content     string `json:"content"`
}

Skill represents a loaded SKILL.md document.

Jump to

Keyboard shortcuts

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