Clarify startup message "No copilot-instructions.md found" to specify it means the repo-scoped file
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 1/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 72/100
Direção de pesquisa
Comece pelo caminho de início de sessão da CLI que emite "No copilot-instructions.md found." e rastreie como as instruções com escopo de repositório são verificadas. Atualize o texto para identificar o arquivo com escopo de repositório ausente, preservando o comportamento do escopo de usuário e de outras fontes de instruções; verifique o resultado durante a inicialização e com /env ou /instructions.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/copilot-cli
-
triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
github/copilot-cli#4729 ·
-
area:sessions
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
github/copilot-cli#4712 ·
-
triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
github/copilot-cli#4638 ·
-
Expose large_output_file_path on TaskShellProgress so clients can read complete shell-task output Abertaarea:tools
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
github/copilot-cli#4630 · 1 comentário ·
Todas as issues de github/copilot-cli
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
-
technical-debt
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
ll7/robot_sf_ll7#9560 ·
-
Update ghgrab to 2.1.0 Abertapackage-update
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comentário ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100