Frontmatter
data class Frontmatter(val name: String, val description: String, val license: String? = null, val compatibility: String? = null, val allowedTools: String? = null, val metadata: Map<String, String> = emptyMap())
Represents the frontmatter of a skill, containing metadata about the skill.
Validation is enforced at construction time: any attempt to instantiate a Frontmatter with fields that violate the specification (e.g. invalid name characters, oversized description) will fail with IllegalArgumentException. As a result, every Frontmatter instance is guaranteed to be well-formed.
Throws
if any field violates the frontmatter specification.