C
context-map
by @githubv
4.5(297)
在进行代码更改前,生成与任务相关的所有文件映射,以便全面了解上下文。
安装方式
npx skills add github/awesome-copilot --skill context-mapcompare_arrows
Before / After 效果对比
1 组使用前
在进行代码更改前,难以快速全面了解相关文件的上下文。这导致修改时容易遗漏依赖,引入新问题,增加调试和修复时间。
使用后
自动生成与任务相关的所有文件映射,提供全面上下文视图。开发者能更准确地进行代码修改,降低出错率,显著提升效率。
SKILL.md
Context 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.
用户评价 (0)
发表评价
效果
易用性
文档
兼容性
暂无评价
统计数据
安装量9.0K
评分4.5 / 5.0
版本
更新日期2026年5月19日
对比案例1 组
用户评分
4.5(297)
5
23%
4
51%
3
23%
2
2%
1
0%
为此 Skill 评分
0.0
兼容平台
🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI
时间线
创建2026年3月16日
最后更新2026年5月19日