skills

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 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 provides skill content from embedded files. Skills are bundled into the binary at compile time — no external fetches.

func New

func New(_ string) *Loader

New creates a Loader backed by embedded skill files. The cacheDir parameter is kept for backward compatibility but ignored.

func (*Loader) Available

func (l *Loader) Available() []string

Available returns the names of all embedded skills.

func (*Loader) Load

func (l *Loader) Load(name string) (string, error)

Load returns the content of a skill by name from embedded files.

func (*Loader) Prefetch

func (l *Loader) Prefetch(names []string) error

Prefetch preloads a list of skills into the in-memory cache.

Jump to

Keyboard shortcuts

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