Global instructions.md AGENTS.md CLAUDE.md documentation clarification
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the feature or problem you'd like to solve
Provide clear documentation about default behavior of Global instruction md files utilization
### Proposed solution
Provide clear documentation about default behavior of Global instruction md files utilization
This will avoid confusion for end users
There is currently some documentation around this (https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-custom-instructions#agent-instructions) although seems to be slightly unclear/inaccurate in comparison to observed behavior of CLI
example (running on Windows os, WSL Ubuntu):
running `/env`:
however, I only have AGENTS.md in ~/.agents and CLAUDE.md in ~/.claude
_additionally for the above, a nice enhancement with respect to release notes of version 1.0.26 - 2026-04-14 "Avoid sending duplicate custom instruction files (e.g. copilot-instructions.md and CLAUDE.md with identical content) to reduce wasted tokens per turn", it would be nice here on the `/env` to demark as "(duplicate)" label suffix or something equivalent there to alleviate user concerns that these may bloat context/instructions sent and that they are properly being de-duplicated by copilot harness_
### Example prompts or workflows
_No response_
### Additional context
_No response_
貢獻指南
研究方向
先比較觀察到的 /env 輸出與連結的 GitHub Copilot CLI 代理指示文件,並確定全域指示檔案的預設探索行為。完成的標準是文件準確說明會使用哪些檔案,以及如何處理重複指示,包括 /env 是否表示已進行去重。
由索引模型根據 Issue 內容生成。
評估
- 領域
- cli, documentation
- Issue 類型
- 文件
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100