Clarify startup message "No copilot-instructions.md found" to specify it means the repo-scoped file
Dieses Issue hat noch niemand übernommen.
- 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
On session start, the CLI prints "No copilot-instructions.md found." This wording is ambiguous.
Proposed solution
On session start, the CLI prints "No copilot-instructions.md found." This wording is ambiguous — it reads as though NO custom instructions were loaded at all, when in fact it only means the repository-scoped file (.github/copilot-instructions.md in the git root/cwd) is absent.
A user-scope file at $HOME/.copilot/copilot-instructions.md (and other supported sources like AGENTS.md, CLAUDE.md, $HOME/.copilot/instructions/**) may still be fully loaded and active. The current message caused me to believe none of my instructions were in effect, when my user-scope instructions actually were loaded.
Requested change / proposed solution: reword the message to name the specific missing file/scope, e.g. "No repository-scoped .github/copilot-instructions.md found" — and ideally note that user-scope or other instruction sources may still be active.
Benefits to GitHub Copilot CLI and its users:
- Removes a misleading signal that makes users think their instructions aren't loaded.
- Reduces confusion and wasted time spent debugging a non-issue.
- Sets accurate expectations about which instruction scope is missing vs. active.
- Encourages correct use of layered instruction sources (repo-scoped vs. user-scoped).
Example prompts or workflows
- User has a populated $HOME/.copilot/copilot-instructions.md with personal workflows.
- User starts a session in a repo that has no .github/copilot-instructions.md.
- CLI prints "No copilot-instructions.md found."
- User reasonably concludes NONE of their instructions loaded — but the user-scope file is active.
- Running /env confirms the user-scope instructions ARE loaded, contradicting the startup message.
Suggested improved message:
"No repository-scoped .github/copilot-instructions.md found. (User-scope and other instruction sources, if present, are still active — see /env or /instructions.)"
Additional context
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne beim CLI-Pfad zum Sitzungsstart, der "No copilot-instructions.md found." ausgibt, und verfolge, wie Anweisungen mit Repository-Gültigkeitsbereich geprüft werden. Aktualisiere die Formulierung, um die fehlende Datei mit Repository-Gültigkeitsbereich zu benennen, und bewahre dabei das Verhalten für den Benutzer-Gültigkeitsbereich und andere Anweisungsquellen; überprüfe das Ergebnis während des Starts sowie mit /env oder /instructions.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- shell
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 72/100