github / github/copilot-cli

Global instructions.md AGENTS.md CLAUDE.md documentation clarification

Đang mở
#3,983 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
area:configuration area:context-memory
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### 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`:

Image

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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách so sánh đầu ra /env quan sát được với tài liệu hướng dẫn agent của GitHub Copilot CLI được liên kết, rồi xác định hành vi khám phá mặc định đối với các tệp hướng dẫn toàn cục. Được xem là hoàn thành khi tài liệu giải thích chính xác những tệp nào được sử dụng và các hướng dẫn trùng lặp được xử lý như thế nào, bao gồm cả việc /env có cho thấy quá trình loại bỏ trùng lặp hay không.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
cli, documentation
Loại issue
Tài liệu
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
52/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.