What Context Needed
Ask Copilot what files it needs to see before answering a question
CopilotpromptBuilt-inFeatured
What Context Do You Need?
Before answering my question, tell me what files you need to see.
My Question
{{question}}
Instructions
Output Format
## Files I Need
Must See (required for accurate answer)
path/to/file.ts — [why needed]
Should See (helpful for complete answer)
path/to/file.ts — [why helpful]
Already Have
path/to/file.ts — [from earlier in conversation]
Uncertainties
- [What I'm not sure about without seeing the code]
After I provide these files, I'll ask my question again.
Details
Tools
codebase
Filecopilot-contribution/prompts/what-context-needed.prompt.md
How to Use
In Copilot
Add this .prompt.md file to your .github/prompts/ directory and invoke it from Copilot Chat.