Skip to main content

Module frontmatter

Module frontmatter 

Source
Expand description

Canonical SKILL.md frontmatter.

Per the open Agent Skills spec (agentskills.io), name and description are required; everything else is conventional. We keep the shape flatlicense, author, version, category at the top level — so the existing hand-rolled parser in super::parse_simple_frontmatter (which deliberately avoids a full YAML dep) covers every field. The zeroclaw-labs/zeroclaw-skills registry nests these under a metadata: block; that registry is ours and follows this flat shape going forward.

The struct is the single source of truth: SkillFrontmatter::prop_fields enumerates the same field set that drives the dashboard form, CLI flags on zeroclaw skills add, and the TUI form. Adding a field here = all three surfaces gain it via prop_fields.

Structs§

SkillFrontmatter