what-context-needed
โดย github
ถามผู้ช่วย AI ว่าต้องใช้ไฟล์ใดบ้างก่อนตอบคำถามของคุณ กระตุ้นให้ผู้ช่วยระบุไฟล์ที่จำเป็นและไม่จำเป็นสำหรับบริบทก่อนพยายามตอบ โครงสร้างผลลัพธ์ออกเป็นสี่หมวดหมู่: ไฟล์ที่ต้องดู, ไฟล์ที่มีประโยชน์, ไฟล์ที่เคยเห็นแล้ว, และความไม่แน่นอนที่เหลือ ช่วยให้นักพัฒนาหลีกเลี่ยงคำตอบที่ไม่สมบูรณ์โดยมั่นใจว่าผู้ช่วยได้ตรวจสอบโค้ดที่เกี่ยวข้องล่วงหน้า ลดการโต้ตอบซ้ำซ้อนโดยชี้แจงการพึ่งพาและช่องว่างในบริบทย่อยก่อนที่คำถามจริงจะถูกถาม...
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.