Command "/skills reload" not always work
- 主要語言
- 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