Skip to content

refactor(frontmatter): unify YAML parsing with js-yaml#32

Merged
marcusrbrown merged 1 commit into
mainfrom
blush-supposed-vicuna
Jan 28, 2026
Merged

refactor(frontmatter): unify YAML parsing with js-yaml#32
marcusrbrown merged 1 commit into
mainfrom
blush-supposed-vicuna

Conversation

@marcusrbrown
Copy link
Copy Markdown
Owner

Replace manual frontmatter parsers with robust js-yaml implementation. Add FrontmatterResult interface with generic type support. Refactor agents, commands, and skills modules to use new parser. Add comprehensive unit tests covering edge cases and error handling.

Benefits: hyphenated keys support, proper type parsing (bool/number), CRLF handling, type safety, security via JSON_SCHEMA.

Replace manual frontmatter parsers with robust js-yaml implementation.
Add FrontmatterResult<T> interface with generic type support.
Refactor agents, commands, and skills modules to use new parser.
Add comprehensive unit tests covering edge cases and error handling.

Benefits: hyphenated keys support, proper type parsing (bool/number),
CRLF handling, type safety, security via JSON_SCHEMA.
@marcusrbrown marcusrbrown enabled auto-merge (squash) January 28, 2026 10:11
@marcusrbrown marcusrbrown self-assigned this Jan 28, 2026
@marcusrbrown marcusrbrown merged commit db88f5b into main Jan 28, 2026
8 checks passed
@marcusrbrown marcusrbrown deleted the blush-supposed-vicuna branch January 28, 2026 10:12
@fro-bot fro-bot mentioned this pull request Apr 6, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant