The prompt
# What Context Do You Need?
Before answering my question, tell me what files you need to see.
## My Question
{{question}}
## Instructions
1. Based on my question, list the files you would need to examine
2. Explain why each file is relevant
3. Note any files you've already seen in this conversation
4. Identify what you're uncertain about
## Output Format
```markdown
## 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. What it is
Before answering a code question, the assistant lists the files it must see, the files that would help, what it already has and what it is unsure about. The {{question}} placeholder takes your question. You then supply the files and ask again. The prompt text is copied unmodified from the github/awesome-copilot repository (MIT licence, Copyright GitHub, Inc.), leaving out only the file's YAML metadata header. Original author: github/awesome-copilot contributors.
Who it's for
- Developers using AI code assistants
قبل الإجابة عن سؤال برمجي، يسرد المساعد الملفات التي يحتاجها والمفيدة والمتوفرة لديه وما هو غير متأكد منه.