Documentation
¶
Overview ¶
Package builtin provides embedded builtin skills for Holon. Builtin skills are embedded in the binary using Go's embed package and can be loaded by reference (in this repo, builtin skill refs are flat names like "ghx").
DEPRECATED: Embedded builtin skills are deprecated. Please use remote skill sources via catalog references (skills:, gh:) or direct URLs instead. Configure BuiltinSkillsSource in .holon/config.yaml or use --builtin-skills-source flag. The embedded path will be removed in a future release.
Index ¶
Constants ¶
const (
// DeprecationWarning is the warning message shown when using embedded builtin skills
DeprecationWarning = "Embedded builtin skills are deprecated. " +
"Please use remote skill sources via catalog references (skills:, gh:) or direct URLs. " +
"Configure BuiltinSkillsSource in .holon/config.yaml or use --builtin-skills-source flag. " +
"See https://github.com/holon-run/holon/issues/562 for migration details."
)
Variables ¶
This section is empty.
Functions ¶
func FS ¶
FS returns the embedded skills filesystem, rooted at the skills directory. The returned FS provides access to all builtin skills.
func GitCommit ¶ added in v0.11.0
func GitCommit() string
GitCommit returns the git commit SHA at which the builtin skills were generated. Returns empty string if the commit information is not available.
func Has ¶
Has checks if a builtin skill exists at the given reference. The reference is the skill directory path within the embedded skills FS (in this repo, typically a flat name like "ghx"). Returns true if the skill directory exists and contains SKILL.md.
func List ¶
List returns all builtin skill references. A skill reference is returned if the directory contains a SKILL.md file.
Types ¶
This section is empty.