skill

package
v0.0.0-...-f56615f Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package skill discovers SKILL.md instructions and injects explicitly named skills into a model turn.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

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

func Discover

func Discover(roots ...string) (*Catalog, error)

Discover reads SKILL.md files below each root. Later roots override an earlier skill with the same name, so project skills can override user skills.

func (*Catalog) Instructions

func (c *Catalog) Instructions(prompt string) string

Instructions returns the model-visible local skill catalog with exact file paths. The model reads a selected local SKILL.md through normal read-only filesystem tools; special skill tools are reserved for non-file authorities that SuperCode does not currently expose.

func (*Catalog) Len

func (c *Catalog) Len() int

func (*Catalog) Reload

func (c *Catalog) Reload() error

func (*Catalog) Skills

func (c *Catalog) Skills() []Skill

type Skill

type Skill struct {
	Name        string
	Description string
	Path        string
	Content     string
	Requires    []string
	Triggers    []string
}

func (Skill) MissingDependencies

func (s Skill) MissingDependencies() []string

Jump to

Keyboard shortcuts

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