module

Smith::Frontmatter

The ----delimited header that skills and agent definitions both use.

Deliberately not YAML: a line is key: value, values are flat strings, and lists are comma-separated. That covers everything either format needs, and keeps a malformed header from being able to fail a run.

Constants

HEADER = /\A---\s*\n(.*?)\n---\s*\n?(.*)\z/m

Class methods

parse(content : String) : Document
Source

Nested types