github / github/copilot-cli

Allow plugins to include instruction files

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

描述

### Describe the feature or problem you'd like to solve

In order to share instruction files, you would have to send it to your team (eg through git) then they would need to add it to their ~/.copilot/ folder and perform that task every time you made an update to the instruction.

### Proposed solution

Allow plugins to include instruction files that are automatically loaded into agent context when the plugin is installed.
Organisations can share internal best practises through instruction files and update them through plugins.

### Example prompts or workflows

Language specific plugins (eg C#) could include an instruction file that explains best practices and code formatting.
The current C# plugin from awesome-copilot uses skills instead, which are not always invoked by the agent.

Organisations can write instruction files that detail company specific best practices. The instruction files can be kept up to date and managed through an internal marketplace repo.

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

issue 中沒有指定檔案、測試或進入點。首先追蹤 plugin 的安裝方式,以及目前如何探索或載入指示檔案,然後確定涉及的 plugin 中繼資料與載入邊界。完成的標準是:已安裝的 plugin 可以提供指示檔案,這些檔案會自動包含在 agent context 中,並且仍可透過 plugin 更新。

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

評估

技術堆疊
shell
領域
cli, tooling
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
45/100

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

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