Home/AI LLM Engineering/what-context-needed
W

what-context-needed

by @githubv
4.5(291)

Before answering a question, ask Copilot which files it needs to review for necessary context.

llm-context-windowprompt-engineeringcontextual-aiinformation-retrievalGitHub
Installation
npx skills add https://github.com/github/awesome-copilot --skill what-context-needed
compare_arrows

Before / After Comparison

1
Before

Copilot may lack necessary context when answering questions, leading to inaccurate or incomplete responses. Multiple interactions are often required to achieve satisfactory results.

After

Prompt Copilot to proactively ask for necessary files to gather essential context. This significantly enhances the accuracy and relevance of Copilot's answers, reducing the number of interactions.

SKILL.md

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

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

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs8.8K
Rating4.5 / 5.0
Version
Updated2026年7月7日
Comparisons1

User Rating

4.5(291)
5
23%
4
51%
3
23%
2
2%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

Timeline

Created2026年3月16日
Last Updated2026年7月7日
🎁 Agent Knowledge Cards
Survey