[codex] Add required skill frontmatter#1
Conversation
|
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information |
There was a problem hiding this comment.
Code Review
This pull request adds frontmatter metadata, including a name and description, to the top of the SKILL.md file. The review feedback suggests formatting the long description using a folded block scalar (>-) to improve readability and maintainability, and points out an inconsistency with the description in the main body of the document.
| @@ -1,3 +1,8 @@ | |||
| --- | |||
| name: fetch-skill | |||
| description: 用于抓取、转换或归档 URL 内容的技能。自动识别普通网页、X/Twitter 单条推文、回复、用户时间线、X Article 和微信公众号文章,并路由到合适后端,输出干净的 Markdown、JSON 或纯文本;默认零依赖,按需使用 Camofox 或 wechat-article-exporter 增强。 | |||
There was a problem hiding this comment.
The description in the frontmatter is very long (over 200 characters) on a single line, which can make it difficult to read and maintain. It is recommended to use a folded block scalar (>-) to break the text into multiple lines for better readability.
Additionally, please note that this description is inconsistent with the **Description:** section in the main body of the document (lines 10-11). Consider updating the main body description to match this new, more detailed version to ensure consistency.
| description: 用于抓取、转换或归档 URL 内容的技能。自动识别普通网页、X/Twitter 单条推文、回复、用户时间线、X Article 和微信公众号文章,并路由到合适后端,输出干净的 Markdown、JSON 或纯文本;默认零依赖,按需使用 Camofox 或 wechat-article-exporter 增强。 | |
| description: >- | |
| 用于抓取、转换或归档 URL 内容的技能。自动识别普通网页、X/Twitter 单条推文、回复、用户时间线、X Article 和微信公众号文章,并路由到合适后端,输出干净的 Markdown、JSON 或纯文本;默认零依赖,按需使用 Camofox 或 wechat-article-exporter 增强。 |
|
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information |
|
Updated the frontmatter description to use a folded block scalar ( The remaining |
Summary
Why
SKILL.md was missing frontmatter delimited by triple dashes, so skill loaders that require name and description metadata may fail to discover it.
Validation