Support discovering custom agents from subdirectories in monorepos
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### 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_
贡献指南
调研方向
Start by tracing how Copilot CLI discovers custom agents from the Git repository root, then compare that behavior with the existing discovery of prompts, instructions, and skills in a subdirectory. Verify the behavior from a monorepo subdirectory containing .github/agents, and consider the work complete when agents there are discovered consistently with the other customizations.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github, shell
- 领域
- cli, developer-experience
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100