fix: codex 校验补 skill frontmatter name/description 非空判断 (#17) - #20
Merged
Merged
Conversation
缺 name 的 SKILL.md 此前三方全绿放行(claude --strict、本脚本), 只有 codex 权威 validate_plugin.py 拒收——装到 ChatGPT 桌面侧才暴露。 在 checkSkills() 的 frontmatter 行匹配上补两字段非空检查,措辞对齐 权威输出。 镜像权威 yaml.safe_load + strip() 的常见拼法:冒号后只吃水平空白 (\s 会跨行把下一行捕成空 name 的值,code review 抓出),未引号值 剔尾注释、null/~ 按空处理,带引号空串按空处理;块标量、重复键等 深水区不镜像,注释里划界,权威仍是最终裁定。 新 fixture skill-missing-name 红证 name 一半(description 一半已有 strict 模式与既有 fixture 兜着),description 用占位文案,不与生产 skill 的文本耦合。 Closes #17 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
缺 name 的 SKILL.md 此前三方全绿放行(claude --strict、本脚本),
只有 codex 权威 validate_plugin.py 拒收——装到 ChatGPT 桌面侧才暴露。
在 checkSkills() 的 frontmatter 行匹配上补两字段非空检查,措辞对齐
权威输出。
镜像权威 yaml.safe_load + strip() 的常见拼法:冒号后只吃水平空白
(\s 会跨行把下一行捕成空 name 的值,code review 抓出),未引号值
剔尾注释、null/~ 按空处理,带引号空串按空处理;块标量、重复键等
深水区不镜像,注释里划界,权威仍是最终裁定。
新 fixture skill-missing-name 红证 name 一半(description 一半已有
strict 模式与既有 fixture 兜着),description 用占位文案,不与生产
skill 的文本耦合。
Closes #17
Co-Authored-By: Claude Fable 5 noreply@anthropic.com