skills

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package skills provides the embedded skill pack for LLM-driven agents.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(name string) (string, bool)

Get returns the markdown content for the named skill. The name should not include the .md extension. Returns the content and true if found, or empty string and false otherwise.

func Names

func Names() []string

Names returns the sorted list of skill names.

func ParseFrontmatter

func ParseFrontmatter(md string) map[string]string

ParseFrontmatter extracts YAML frontmatter fields from markdown content. It returns key-value pairs from the --- delimited header.

Types

type Metadata

type Metadata struct {
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Type        string   `json:"type"`
	AppliesTo   []string `json:"applies_to"`
}

Metadata describes a bundled skill.

func List

func List() []Metadata

List returns all skills defined in index.json.

Jump to

Keyboard shortcuts

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