what-context-needed
作成者: github
AIアシスタントに、質問に答える前に必要なファイルを尋ねます。アシスタントが回答を試みる前に、必要なファイルと任意のファイルを特定するよう促します。出力を4つのカテゴリに構造化します:必見ファイル、参考ファイル、既読ファイル、未確定事項。開発者が関連コードを事前に確認することで不完全な回答を避けるのに役立ちます。実際の質問の前に依存関係やコンテキストのギャップを明確にすることで、やり取りの往復を減らします。
npx skills add https://github.com/github/awesome-copilot --skill what-context-neededWhat Context Do You Need?
Before answering my question, tell me what files you need to see.
My Question
{{question}}
Instructions
- Based on my question, list the files you would need to examine
- Explain why each file is relevant
- Note any files you've already seen in this conversation
- 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.