context-map
작성자: github
코드베이스를 분석하고 변경 사항을 구현하기 전에 작업 관련 파일을 매핑합니다. 관련 파일, 종속성, 테스트 및 유사한 코드 패턴을 자동으로 검색하여 전체 컨텍스트를 구축합니다. 수정할 파일, 종속성 관계, 테스트 커버리지 및 참조 패턴이 포함된 구조화된 마크다운 출력을 생성합니다. 주요 변경 사항, 마이그레이션 및 구성 업데이트에 대한 위험 평가 체크리스트를 포함합니다. 누락된 종속성과 의도하지 않은 부작용을 방지하기 위한 사전 구현 단계로 설계되었습니다...
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.