Context Map
Generate a map of all files relevant to a task before making changes
by github · MIT
The skill
Generate a map of all files relevant to a task before making changes
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.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: github/context-map-21995800804.
Details
- Publisher
- github
- Category
- Software Development › Developer docs & tooling
- License
- MIT
- Updated
- 2026-10-16
References
More from github
- Agentic Workflows Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.
- Code Review Review pull requests for repository fit, meaningful value, trustworthy provenance, differentiatio…
- Create Canvas Extension Create or register a canvas extension in the awesome-copilot repository.
- Acquire Codebase Knowledge Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase.