---
id: ssh-what-context-needed
name: "what-context-needed"
url: https://skills.yangsir.net/skill/ssh-what-context-needed
author: github
domain: ai-llm-engineering
tags: ["llm-context-window", "prompt-engineering", "contextual-ai", "information-retrieval"]
install_count: 8800
rating: 4.50 (291 reviews)
github: https://github.com/github/awesome-copilot
---

# what-context-needed

> 在回答问题前，询问Copilot需要查看哪些文件以获取必要的上下文信息。

**Stats**: 8,800 installs · 4.5/5 (291 reviews)

## Before / After 对比

### 询问Copilot所需上下文，提升回答准确性

## Readme

# 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.


---
*Source: https://skills.yangsir.net/skill/ssh-what-context-needed*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh-what-context-needed/markdown*