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_

贡献指南

打开贡献指南

调研方向

No file, test, or entry point is named in the issue. Start by tracing how plugins are installed and how instruction files are currently discovered or loaded, then determine the plugin metadata and loading boundaries involved. Done means an installed plugin can provide instruction files that are automatically included in agent context and remain updateable through the plugin.

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

评估

技术栈
shell
领域
cli, tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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