Clarify startup message "No copilot-instructions.md found" to specify it means the repo-scoped file
Personne n'a encore pris cette issue.
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 6
Description
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
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par le chemin de démarrage de session de la CLI qui émet "No copilot-instructions.md found." et suivez la manière dont les instructions limitées au dépôt sont vérifiées. Mettez à jour le texte pour identifier le fichier limité au dépôt manquant, tout en préservant le comportement de la portée utilisateur et des autres sources d’instructions ; vérifiez le résultat au démarrage et avec /env ou /instructions.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- shell
- Domaine
- cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 1/5
- Temps estimé
- 1-3 heures
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 72/100