Documentation
¶
Overview ¶
Package skillmd is part of the GoFastr harness.
See docs/harness-architecture.md for the architecture this package implements.
Package skillmd parses SKILL.md files per the open spec at https://agentskills.io/specification.
Frontmatter: YAML between "---" delimiters. Required fields: name (≤64 chars, lowercase + hyphens) and description (≤1024 chars). Optional: triggers (list of strings).
We parse YAML by hand for the tiny subset SKILL.md uses (frontmatter is shallow: scalar strings and string lists).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Skill ¶
type Skill struct {
Name string
Description string
Triggers []string
Body string // markdown after frontmatter
Dir string // absolute path to the directory containing SKILL.md
SHA256 string // hash of the SKILL.md file for TOFU
Extra map[string]string // pass-through frontmatter fields
}
Skill is the parsed representation of a SKILL.md file (tier-1 + tier-2 from the progressive-disclosure model).
func ParseBytes ¶
ParseBytes parses SKILL.md content directly.