github / github/app

Plugin details hide shadowed skills without explaining source precedence

未關閉
#3,003 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
沒有語言資料
星號
2.1k
分支
153
PR 合併指標
30 天內沒有已合併 PR

描述

### Short summary

When plugin skills overlap with standalone user-installed skills, the plugin details page counts and displays only the unshadowed skills without explaining that other declared skills were shadowed.

### Affected version or release

GitHub Copilot app 1.1.10.

### Installation context

A user-scoped marketplace plugin was installed after matching skills had already been installed in the standard user skill location.

### What happened?

A plugin declared six skills. Five matching skills already existed in the user skill location.

After installing the plugin, its details page reported **Provides 1 skill** and displayed only the uniquely named skill. The installed plugin package and manifest still contained all six skills.

After removing the five standalone copies and reloading the app, the plugin details page displayed all six skills.

The UI therefore presented the resolved, unshadowed skill set as though it were the plugin's complete package contents. It provided no indication that additional skills existed, were shadowed, or came from another source.

### Steps to reproduce

1. Install several skills into the standard user skill location.
2. Open a valid installation link for a test marketplace plugin declaring those same skills plus one uniquely named skill.
3. Complete the installation.
4. In the plugin view opened by the installation flow, select the newly installed plugin to open its details.
5. Observe that the details page counts and displays only the unique skill.
6. Confirm that every declared skill exists in the installed plugin directory.
7. Remove the standalone skill copies and reload the app.
8. Observe that all plugin skills now appear.

### Expected behavior

The plugin details page should show every skill declared by the plugin.

Each skill should indicate whether it is:

- Active
- Disabled
- Shadowed by another source
- Failed to load

When shadowed, the UI should identify the source taking precedence. Counts should distinguish total declared skills from currently active skills.

### Additional context

Related issues:

- https://github.com/github/app/issues/2814 discusses confusion caused by skills adopted from other harnesses.
- https://github.com/github/app/issues/2718 requests consistent plugin provenance in the slash-command menu.
- https://github.com/github/copilot-cli/issues/4430 reports duplicate repository and plugin skills.

This report is specifically about the plugin details page presenting the resolved active set as the plugin's complete inventory without exposing shadowing or source precedence.

貢獻指南

開啟貢獻指南

研究方向

首先重現插件安裝流程,並在存在重疊的獨立 skills 時開啟插件詳細頁面。檢查頁面如何取得已宣告的 skills 與已解析的 skills,以及來源優先順序如何表示。完成的標準是:所有已宣告的 skills 都以 active、disabled、shadowed 或 failed 狀態顯示,能識別被遮蔽的來源,且計數能區分已宣告的 skills 與 active skills。

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

評估

領域
desktop, frontend
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
48/100

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

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