github / github/copilot-cli

Support @ file includes in instruction files (like Claude Code)

Đang mở
#1,530 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
area:configuration
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

Support @ inclusion in copilot-instructions.md

### Proposed solution

Copilot CLI should support @ file references inside instruction files (e.g., .github/copilot-instructions.md) to include content from other files,
similar to how Claude Code handles includes in its instruction files.

Currently, @ references only work in chat input, not in instruction files. This forces users to either duplicate content across multiple instruction files or use
symlinks/build steps as workarounds.

Use case: A repo with a shared instructions.md that should be included by both .github/copilot-instructions.md (for Copilot) and .claude/instructions.md (for Claude
Code). Without includes, maintaining consistency requires manual duplication or external tooling.

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

Đánh giá

Issue này chưa được đánh giá.

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.