Files
zhengwr e26d5d5bfb fix(cli): SKILL.md frontmatter 用 YAML 引号标量,防 description 破坏解析
runInit 此前裸拼 `description: <raw>`,含 ASCII 冒号或前导 */#/& 等的
description 会破坏 Claude 读取 SKILL.md frontmatter。改为 yamlScalar 双引号
+ 转义 \ 与 "(name 同处理)。当前 7 个 description 用全角冒号本无碍,此为加固。
测试 +1(tricky description 含冒号/星号仍输出合法引号标量)。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 09:57:05 +08:00
..