From 5359250b70789f5244e6d37e006f1cc2c5badebf Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Fri, 14 Aug 2026 17:04:57 +0300 Subject: [PATCH] fix: quote argument-hint to prevent Copilot CLI loading failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wrap `argument-hint` values in double quotes. Bare brackets previously parsed as YAML arrays, causing GitHub Copilot CLI ≥1.0.65 to silently reject the skills. This aligns with the documented string type. Patch generated by qwen3.6-35b-a3b via local API. --- commands/cc/changelog.md | 2 +- commands/cc/create-command.md | 2 +- commands/gh/fix-issue.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/cc/changelog.md b/commands/cc/changelog.md index 74102dc..5079afd 100644 --- a/commands/cc/changelog.md +++ b/commands/cc/changelog.md @@ -1,6 +1,6 @@ --- description: 智能管理项目 CHANGELOG.md 文件,自动添加版本条目并遵循 Keep a Changelog 规范 -argument-hint: [] +argument-hint: "[]" allowed-tools: [Read, Write, Edit, Bash] --- diff --git a/commands/cc/create-command.md b/commands/cc/create-command.md index cd66363..f3d15b6 100644 --- a/commands/cc/create-command.md +++ b/commands/cc/create-command.md @@ -1,6 +1,6 @@ --- description: 创建新的 Claude Code 自定义命令 -argument-hint: [command-name] [description] +argument-hint: "[command-name] [description]" allowed-tools: Write, Read, LS, Bash(mkdir:*), Bash(ls:*), WebSearch(*) --- diff --git a/commands/gh/fix-issue.md b/commands/gh/fix-issue.md index b1b83cf..878437f 100644 --- a/commands/gh/fix-issue.md +++ b/commands/gh/fix-issue.md @@ -1,6 +1,6 @@ --- description: 修复 GitHub Issue -argument-hint: [issue-number] +argument-hint: "[issue-number]" allowed-tools: Write, Read, LS, Glob, Grep, Bash(gh:*), Bash(git:*) ---