github / github/copilot-cli

Support discovering custom agents from subdirectories in monorepos

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

Copilot CLI does not discover custom agents from a subdirectory’s .github/agents folder in monorepos, even when CLI is started from that subdirectory. The same agent works in VS Code and other CLI customizations (prompts, instructions, skills) in that subdirectory can still be recognized.

### Proposed solution

Allow Copilot CLI to discover custom agents from the current working directory’s .github/agents folder, not only from the Git repository root. This would make custom agent behavior more consistent with prompts, instructions, and skills, improve monorepo support, and reduce confusion when VS Code and Copilot CLI behave differently.

### Example prompts or workflows

root - .git
- app1
- .github
- agents
- app2
- .github
- agents

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