github / github/copilot-cli

Hooks cannot be scoped at a project-specific level in a monorepo

未关闭
#3,579 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:plugins
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the feature or problem you'd like to solve

Have hooks be able to be scoped at a sub-directory level within a repo, so that projects in a monorepo setup can setup project-specific hooks

### Proposed solution

Currently, a sub-directory .github folder can pick up skills scoped to that directory. This allows monorepo users to setup skills that apply to their project only. Having this apply to hooks will allow monorepo users to utilize hooks functionality as well, which will be a big functionality boost for AI-assisted workflows.

### Example prompts or workflows

- Have a hook that updates an execution plan whenever certain files are updated, so that the execution plan is an accurate source of truth for a given feature, instead of drifting as AI development continues.

### Additional context

This was originally filed as a bug - reclassifying as a feature request after feedback from GH Copilot team: https://github.com/github/copilot-cli/issues/3561

贡献指南

打开贡献指南

调研方向

No implementation files or tests are named. Start by reading how sub-directory .github skills are discovered, then trace the existing hook discovery and scoping behavior; done means project-specific hooks work in monorepos without affecting other projects.

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。