skill

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSkillTemplate added in v0.2.0

func CreateSkillTemplate(name, destDir string) error

CreateSkillTemplate creates a new skill directory with template files

func FindSkillMD

func FindSkillMD(skillPath string) bool

FindSkillMD checks if a skill has a SKILL.md file

Types

type SkillMeta

type SkillMeta struct {
	Name         string   `yaml:"name"`
	Description  string   `yaml:"description"`
	Version      string   `yaml:"version"`
	Author       string   `yaml:"author"`
	Dependencies []string `yaml:"dependencies"`
	Tags         []string `yaml:"tags"`
}

SkillMeta represents metadata parsed from SKILL.md

func ParseSkillMD

func ParseSkillMD(skillPath string) (*SkillMeta, error)

ParseSkillMD parses a SKILL.md file and extracts frontmatter metadata

type SkillTemplateData added in v0.2.0

type SkillTemplateData struct {
	Name        string
	Description string
	Author      string
}

SkillTemplateData holds data for the skill template

Jump to

Keyboard shortcuts

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