Skip to main content

Module assets

Module assets 

Source
Expand description

Embedded skill assets and small accessors over them.

The SKILL_FILES / COMMAND_FILES tables are generated by build.rs from the canonical skill source under assets/skill and assets/plugin-commands.

Constants§

SKILL_ENTRY
The relative path of the skill’s entry file within SKILL_FILES.

Statics§

COMMAND_FILES
Slash-command files: (file name, contents).
SKILL_FILES
Skill tree files: (relative path, contents).

Functions§

skill_description
The description: field from the skill frontmatter, if present.
skill_file
Look up an embedded skill file by its relative path.
skill_md_body
The SKILL.md body with any leading YAML frontmatter removed.
skill_md_raw
The raw SKILL.md (with its YAML frontmatter), as authored.