github / github/copilot-cli

Command "/skills reload" not always work

未关闭
#3,643 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:plugins
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

I create a new Skill by just describing the Skill to the Agent, it creates the Skill, write it in the global skill folder. When I use the command "`/skills reload`", it says there is 1 more Skill than before, however if I use "`/skills list`" the Skill is not listed.

### Affected version

1.0.59

### Steps to reproduce the behavior

For example, let's say I have 2 Skills (Skill A and Skill B),
1. I run "/skills reload" it says 2 Skills,
2. I add Skill C,
3. execute "/skills reload" and it says there are 3 Skills, but
4. if I run "`/skills list`", it only shows 2 Skills.

### Expected behavior

In Step 4. if I run "`/skills list`", it should display all 3 Skills.

### Additional context

**Workaround**: I have to exit Copilot, start it again and the new Skill now appears with "`/skills list`".

贡献指南

打开贡献指南

调研方向

Start at the CLI entry points for `/skills reload` and `/skills list`, then reproduce the sequence with two existing Skills and a newly created global Skill. Trace why reload reports the new count while list still omits the Skill; done means `/skills list` displays all Skills immediately after reload without restarting Copilot.

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
58/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。