Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractFallbackDescription ¶
ExtractFallbackDescription returns the first prose paragraph in body.
It skips headings, list items, blockquotes, tables, and fenced code blocks. The returned paragraph has collapsed whitespace.
Types ¶
type Doc ¶
Doc is the parsed and normalized view of a SKILL.md file.
func Normalize ¶
Normalize parses SKILL.md content and returns a canonical representation.
It rewrites frontmatter deterministically, preserving unrelated keys while normalizing name and description. Missing name is filled from dirName and missing description is filled from the first prose paragraph in the body.
Click to show internal directories.
Click to hide internal directories.