github / github/copilot-cli

argument-hint format validation issue

未關閉 適合新手
#3,929 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:plugins
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

The skills now failed to load with:
✖ .../SKILL.md: argument-hint must be a string

This is my setting:
argument-hint: [regression directory]

And from both vscode and claude spec:
https://code.visualstudio.com/docs/agent-customization/agent-skills

argument-hint | No | Hint text shown in the chat input field when the skill is invoked as a slash command. Helps users understand what additional information to provide (for example, [test file] [options]).
-- | -- | --

https://code.claude.com/docs/en/skills

argument-hint | No | Hint shown during autocomplete to indicate expected arguments. Example: [issue-number] or [filename] [format].
-- | -- | --

### Affected version

GitHub Copilot CLI 1.0.65.

### Steps to reproduce the behavior

Add this to SKILL.md frontmatter:
argument-hint: [regression directory]

### Expected behavior

Success to load the skill

### Additional context

Linux x64

貢獻指南

開啟貢獻指南

研究方向

將 `argument-hint: [regression directory]` 加入 `SKILL.md` 檔案的 frontmatter,並在 Linux x64 上使用 GitHub Copilot CLI 1.0.65 載入 skill,以重現失敗。追蹤 `argument-hint` 的驗證;當這個文件化的方括號提示被接受且 skill 成功載入時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
yaml
領域
cli
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
冷清
描述清晰度
描述清楚
新手友好度
68/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。