skills

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrSkillNameRequired reports missing bundled skill identifiers.
	ErrSkillNameRequired = errors.New("bundled skills: skill name is required")
	// ErrInvalidSkillName reports bundled skill identifiers that are not a single clean path component.
	ErrInvalidSkillName = errors.New("bundled skills: invalid skill name")
	// ErrResourcePathRequired reports a missing skill resource path.
	ErrResourcePathRequired = errors.New("bundled skills: resource path is required")
	// ErrInvalidResourcePath reports a skill resource path that escapes or is not clean.
	ErrInvalidResourcePath = errors.New("bundled skills: invalid resource path")
)

Functions

func FS

func FS() fs.FS

FS returns the bundled skills filesystem compiled into the AGH binary.

func LoadContent

func LoadContent(name string) (string, error)

LoadContent returns the markdown body for one embedded bundled skill.

func LoadResource

func LoadResource(name string, relativePath string) (string, error)

LoadResource returns the raw content of a bundled skill resource file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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