skills

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Skill

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

Skill represents an instruction-based skill loaded from a markdown file. This follows the Anthropic Skills pattern where skills are instructional guides rather than executable code.

func ParseSkillMarkdown

func ParseSkillMarkdown(content string, path string) (*Skill, error)

ParseSkillMarkdown parses a markdown skill file with YAML frontmatter.

func (*Skill) Description

func (s *Skill) Description() string

func (*Skill) Name

func (s *Skill) Name() string

func (*Skill) Path

func (s *Skill) Path() string

Path returns the file path of the skill markdown.

type Skills

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

func NewSkills

func NewSkills(dirs ...string) *Skills

func (*Skills) List

func (s *Skills) List() (list []*Skill)

Jump to

Keyboard shortcuts

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