what-context-needed

oleh github

Tanyakan kepada asisten AI file apa yang dibutuhkan sebelum menjawab pertanyaan Anda. Meminta asisten untuk mengidentifikasi file yang diperlukan dan opsional untuk konteks sebelum mencoba menjawab. Menyusun output ke dalam empat kategori: file yang harus dilihat, file yang membantu, file yang sudah dilihat, dan ketidakpastian yang tersisa. Membantu pengembang menghindari jawaban yang tidak lengkap dengan memastikan asisten telah memeriksa kode yang relevan sejak awal. Mengurangi bolak-balik dengan memperjelas dependensi dan celah dalam konteks sebelum pertanyaan sebenarnya diajukan...

npx skills add https://github.com/github/awesome-copilot --skill what-context-needed

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.