Add persistent per-user exclusion for duplicate Copilot instruction files
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
Describe the feature or problem you'd like to solve
Add persistent per-user exclusion for duplicate Copilot instruction files
Proposed solution
Summary:
GitHub Copilot CLI automatically loads supported instruction files such as CLAUDE.md and AGENTS.md . When both contain duplicate or overlapping instructions, Copilot may load the same guidance twice.
The /instructions command can disable one file, but the change applies only to the current Copilot CLI session. There is currently no documented persistent, user-specific ignore list for excluding one repository instruction file without modifying the shared repository.
This would be useful for teams sharing repositories across multiple people and agents, including Copilot, CloudA, and Codex. A per-user configuration option to permanently exclude selected instruction files—without affecting other users or agents—would prevent duplicate instruction loading while preserving the repository structure.
Example prompts or workflows
My Claude.md file just mentions/loads Agents.md. All the instruction gets loaded twice and bloat the context..
Additional context
No response
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 未指出实现文件、测试或配置入口,因此首先定位 /instructions 如何存储会话排除项,以及用户配置在哪里加载。完成标准是:按用户持久化的忽略列表能够排除选定的 repository 指令文件,同时不会更改 repository 或影响其他用户。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100