Class SkillFrontmatterStructureRule

java.lang.Object
io.github.duckasteroid.agentdocs.publish.validation.SkillFrontmatterStructureRule
All Implemented Interfaces:
AgentDocsValidationRule

public final class SkillFrontmatterStructureRule extends Object implements AgentDocsValidationRule
Ensures SKILL.md frontmatter, when present, is well-formed. Frontmatter itself is optional per the Agent Docs convention (the resolver generates it at extraction time when absent) — this rule only rejects a frontmatter block that was opened with --- but never closed, since the resolver would silently fail to rewrite that file.