skill

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config, deps Deps) (skill.Registry, error)

New registers skill/filesystem: Scan directories for SKILL.md definitions.

Types

type Config

type Config struct {
	// Dirs are directories to scan, in precedence order; each may use the global: or local: scope prefix.
	Dirs []string `json:"dirs"`
}

type Deps

type Deps struct {
	Workspace workspace.Service `json:"workspace"`
}

type Registry

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

func (*Registry) List

func (r *Registry) List(ctx context.Context) ([]skill.Descriptor, error)

func (*Registry) Load

func (r *Registry) Load(ctx context.Context, name string) (skill.Content, error)

Jump to

Keyboard shortcuts

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