context-map
โดย github
วิเคราะห์ฐานโค้ดและสร้างแผนผังไฟล์ที่เกี่ยวข้องกับงานก่อนดำเนินการเปลี่ยนแปลง ค้นหาไฟล์ที่เกี่ยวข้อง การพึ่งพา การทดสอบ และรูปแบบโค้ดที่คล้ายกันโดยอัตโนมัติเพื่อสร้างบริบทที่สมบูรณ์ สร้างผลลัพธ์ markdown ที่มีโครงสร้างพร้อมไฟล์ที่ต้องแก้ไข ความสัมพันธ์ของการพึ่งพา ความครอบคลุมของการทดสอบ และรูปแบบอ้างอิง รวมถึงรายการตรวจสอบความเสี่ยงสำหรับการเปลี่ยนแปลงที่ทำให้ระบบเสียหาย การย้ายระบบ และการอัปเดตการกำหนดค่า ออกแบบมาเป็นขั้นตอนก่อนการดำเนินการเพื่อป้องกันการพลาดการพึ่งพาและผลข้างเคียงที่ไม่ตั้งใจ...
npx skills add https://github.com/github/awesome-copilot --skill context-mapContext Map
Before implementing any changes, analyze the codebase and create a context map.
Task
{{task_description}}
Instructions
- Search the codebase for files related to this task
- Identify direct dependencies (imports/exports)
- Find related tests
- Look for similar patterns in existing code
Output Format
## Context Map
### Files to Modify
| File | Purpose | Changes Needed |
|------|---------|----------------|
| path/to/file | description | what changes |
### Dependencies (may need updates)
| File | Relationship |
|------|--------------|
| path/to/dep | imports X from modified file |
### Test Files
| Test | Coverage |
|------|----------|
| path/to/test | tests affected functionality |
### Reference Patterns
| File | Pattern |
|------|---------|
| path/to/similar | example to follow |
### Risk Assessment
- [ ] Breaking changes to public API
- [ ] Database migrations needed
- [ ] Configuration changes required
Do not proceed with implementation until this map is reviewed.