Documentation ¶ Index ¶ func New(cfg Config, deps Deps) (skill.Registry, error) type Config type Deps type Registry func (r *Registry) List(ctx context.Context) ([]skill.Descriptor, error) func (r *Registry) Load(ctx context.Context, name string) (skill.Content, error) 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) Source Files ¶ View all Source files skill.go Click to show internal directories. Click to hide internal directories.