skills

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 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 SkillInfo

type SkillInfo struct {
	Name        string
	Description string
	Path        string
}

SkillInfo holds parsed metadata for a single skill.

func ListDir

func ListDir(root string) ([]SkillInfo, error)

ListDir scans a directory for subdirectories containing a SKILL.md file with valid YAML frontmatter (name + description). Dot-prefixed dirs are skipped.

func ParseSkillMD

func ParseSkillMD(path string) (*SkillInfo, error)

ParseSkillMD reads a SKILL.md file and extracts YAML frontmatter name/description. Returns nil if the file has no valid frontmatter.

Jump to

Keyboard shortcuts

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