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 摘要。