Skip to main content

Module skill

Module skill 

Source
Expand description

Unified skill definition types.

Skills are reusable LLM instruction bundles that can be loaded from two formats:

  • Legacy: skill.json metadata + prompt.md instructions (per the original SkillsLoader convention).
  • SKILL.md: A single markdown file with YAML frontmatter containing metadata and the body containing LLM instructions.

The SkillDefinition struct is the unified representation regardless of source format.

Structs§

SkillDefinition
Unified skill definition.

Enums§

SkillFormat
How the skill was loaded.