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.