PulseAugur
中
实时 11:51:06
中文(ZH) description 里一个冒号,3 条命令直接搜不到:一次 YAML 解析失败的实测

Claude Code技能因描述中的YAML解析错误而隐藏

发现了一个技术问题,其中包含五个Claude Code技能的`agent-skills-en`包,在通过`npx skills add`添加时,仅显示了五个命令中的两个。根本原因追溯到`SKILL.md`文件中的`description`字段,其中未加引号的ASCII冒号后跟一个空格被YAML解析器误解为分隔符,导致整行解析失败。这实际上使该工具无法发现这些技能。通过将有问题的描述用双引号括起来,确保了正确的YAML解析,并使所有五个技能都可被发现。 AI

影响 确保了AI驱动的命令行工具的正常功能和可发现性。

排序理由 这是针对与解析技能描述相关的特定工具功能的错误修复。

在 dev.to — Claude Code tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Claude Code技能因描述中的YAML解析错误而隐藏

本文如何被排名

Signal score
20 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
这是针对与解析技能描述相关的特定工具功能的错误修复。
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, other
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — Claude Code tag TIER_1 中文(ZH) · alapha888 ·

    描述中出现冒号,3条命令搜索失败:YAML解析失败的真实测试

    <h2> 现象:5 条 skill,只搜到 2 条 </h2> <p>2026-10-01,英文 skill 包 agent-skills-en(5 个 skill)上线后实测 <code>npx skills add</code>:只能发现 2 个——code-review-checklist 和 tech-writing-proofread。另外 3 个(deep-research-framework、git-commit-message、meeting-notes)搜不到。</p> <p>第一反应可能是“名字写错了”或“仓库没推上去”。都不是:5 …