Enhance auto-injected copilot instructions to have more relevant instructions for scope
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
### Describe the feature or problem you'd like to solve
The applyTo glob pattern is not enough to scope down an instruction in large codebases with possibly hundreds of agent docs to read
### Proposed solution
Support domain/category "tags" as an addition to applyTo glob patterns in .instructions.md frontmatter, so instructions can be auto-injected based on a semantic tag assigned to files, in combination with or independently of path-based glob matching. For example, a repo currently maintaining a separate, hand-curated library of convention docs (because many conventions are cross-cutting and don't map to a clean glob) could instead express every one of those conventions as a plain .instructions.md file tagged by concern (e.g. error-handling , security ) — removing the need for a parallel documentation system just to work around glob's path-only scoping.
### Example prompts or workflows
_No response_
### Additional context
_No response_
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Verarbeitung des Frontmatters in .instructions.md und das bestehende applyTo-Glob-Matching-Verhalten zu lesen. Verfolge, wo Dateien einem scope zugewiesen werden und wo Anweisungen automatisch eingefügt werden; done sollte semantische Tags umfassen, die unabhängig von oder zusammen mit dem Pfad-Matching funktionieren, mit Abdeckung für die vorgeschlagenen Beispiele zur Fehlerbehandlung und Sicherheit.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- markdown
- Bereich
- cli, documentation
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100