Support path negation with custom instructions applyTo paths
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the feature or problem you'd like to solve
I want to provide broad instructions that apply to 90% of our monorepo. However they do not apply to a small subset. Rather than having to add every single path they DO apply to (hundreds), I want to be able to specify certain paths they do NOT apply to
### Proposed solution
Support negation pattern like:
```
applyTo: **/*.cpp, !/but/not/this/path/**
```
### Example prompts or workflows
I want to provide broad instructions that apply to 90% of our monorepo. However they do not apply to a small subset. Rather than having to add every single path they DO apply to (hundreds), I want to be able to specify certain paths they do NOT apply to
### Additional context
_No response_
贡献指南
调研方向
The issue names custom instructions' applyTo paths and proposes a negated pattern such as `! /but/not/this/path/**`. Start by locating the applyTo path-matching entry point and its existing pattern tests. Done means broad patterns still apply while explicitly negated paths are excluded.
由索引模型根据 Issue 内容生成。
评估
- 领域
- tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100