首页/AI 大模型工程/what-context-needed
W

what-context-needed

by @githubv
4.5(291)

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

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

Before / After 效果对比

1
使用前

Copilot在回答问题时可能缺乏必要的上下文信息,导致回答不准确或不完整。需要多次交互才能获得满意结果。

使用后

提示Copilot主动询问所需文件,获取必要上下文信息。显著提升Copilot回答的准确性和相关性,减少交互次数。

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.

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量8.8K
评分4.5 / 5.0
版本
更新日期2026年7月7日
对比案例1 组

用户评分

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

为此 Skill 评分

0.0

兼容平台

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

时间线

创建2026年3月16日
最后更新2026年7月7日
🎁 Agent 知识卡片
调研问卷