Skip to content

Fix skill frontmatter YAML parsing#1

Open
PanJiaChen wants to merge 1 commit into
nolangz:mainfrom
PanJiaChen:codex/fix-skill-frontmatter-yaml
Open

Fix skill frontmatter YAML parsing#1
PanJiaChen wants to merge 1 commit into
nolangz:mainfrom
PanJiaChen:codex/fix-skill-frontmatter-yaml

Conversation

@PanJiaChen

@PanJiaChen PanJiaChen commented Jun 14, 2026

Copy link
Copy Markdown

Summary

  • Quote the long description field in SKILL.md frontmatter.
  • Prevent YAML parsers from treating v2: also handles as an invalid mapping.

Why

Codex-style skill indexers parse the frontmatter as YAML. The unquoted description contains : , which can make standard YAML parsers reject the file and skip the skill during indexing.

Validation

  • Parsed the frontmatter with Ruby's YAML parser successfully after the change.
  • Verified this is a one-line metadata-only change.

@PanJiaChen PanJiaChen marked this pull request as ready for review June 14, 2026 06:34
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