Skip to main content

Module skill

Module skill 

Source
Expand description

Skill system — predefined prompt templates loaded from YAML frontmatter + Markdown body files.

Skills are declarative data (no trait, no execute method). They are loaded at startup, their descriptions are injected into the system prompt, and their full content is injected when a user triggers them via a slash command.

Re-exports§

pub use loader::load_skills;
pub use loader::parse_skill_file;
pub use loader::SkillLoadError;

Modules§

loader
Skill loading — each skill is a directory containing a SKILL.md file with YAML frontmatter + Markdown body.

Structs§

Skill
A fully parsed skill with its frontmatter and markdown body content.
SkillFrontmatter
YAML frontmatter fields parsed from the skill file header.
SkillRegistry
Registry of loaded skills with trigger command matching.