Skip to content

Support path negation with custom instructions applyTo paths #1856

@majaeger

Description

@majaeger

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions