builtin

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltinSkillFS added in v0.13.0

func BuiltinSkillFS() fs.FS

BuiltinSkillFS returns the embedded filesystem containing builtin skills and agents. Callers that need only skill directories should skip subtrees that lack a SKILL.md.

func EnsureBuiltinSkills added in v0.13.0

func EnsureBuiltinSkills(skillsDir string) error

EnsureBuiltinSkills extracts builtin skills once per process for callers that need a lazy, idempotent fallback outside normal app startup.

func ExtractAgents added in v0.13.0

func ExtractAgents(agentsDir string) error

ExtractAgents writes builtin agent preset files directly into agentsDir. Individual files are overwritten; other content in agentsDir is preserved. Result: agentsDir/coder.md, agentsDir/researcher.md, etc.

func ExtractSkills added in v0.13.0

func ExtractSkills(skillsDir string) error

ExtractSkills writes the builtin anna skill into skillsDir. Only the anna/ subdirectory is replaced; other content in skillsDir is preserved. Result: skillsDir/anna/SKILL.md, skillsDir/anna/references/*.md

Types

This section is empty.

Jump to

Keyboard shortcuts

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