context-map

tarafından github

Kod tabanlarını analiz eder ve değişiklikleri uygulamadan önce görevle ilgili dosyaları haritalandırır. İlgili dosyaları, bağımlılıkları, testleri ve benzer kod kalıplarını otomatik olarak arayarak tam bağlam oluşturur. Değiştirilecek dosyalar, bağımlılık ilişkileri, test kapsamı ve referans kalıpları içeren yapılandırılmış markdown çıktısı üretir. Kırıcı değişiklikler, geçişler ve yapılandırma güncellemeleri için risk değerlendirme kontrol listesi içerir. Kaçırılan bağımlılıkları ve istenmeyen yan etkileri önlemek için uygulama öncesi bir

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

Context Map

Before implementing any changes, analyze the codebase and create a context map.

Task

{{task_description}}

Instructions

  1. Search the codebase for files related to this task
  2. Identify direct dependencies (imports/exports)
  3. Find related tests
  4. 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.