context-map
What it does
This tool creates a visual map of all important files in a programming project before you make any changes. It helps you understand which parts of the code are connected and what might be affected.
When to use it
- ✓When starting a new programming task.
- ✓Before fixing a bug.
- ✓When you need to understand a project's structure.
Skill link
https://github.com/github/awesome-copilot/blob/main/skills/context-map/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Create a context map for the task of adding a new login button.”
5 new skills a week. 1 minute to read.
How it works
The tool searches for files related to your task, identifies how they connect (imports/exports), finds associated tests, and looks for similar examples in the code. The result is an organized report showing which files to modify, which dependencies might change, which tests are relevant, and patterns to follow.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.
FAQ
Why do I need a context map?
It prevents you from changing something without knowing the impact on other parts of the code, preventing errors and saving time.
What do 'dependencies' mean?
These are other files or code parts that use or are used by the code you are going to modify.
What is 'risk assessment'?
It's a checklist to warn about potential serious issues your changes might cause, like breaking existing features or requiring database changes.
Details
Original description by the author
Generate a map of all files relevant to a task before making changes
repo: github/awesome-copilot
Popularity
- GitHub stars
- 40k
- Ranking position
- #7119
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
acquire-codebase-knowledge
40kHelps your agent understand and document an existing code project. It's useful for onboarding new people or getting an overview of the architecture.
acreadiness-assess
40kEnables your agent to assess a project's readiness for AI and generate a report. It's useful for understanding how well a project is prepared to use AI tools.
acreadiness-generate-instructions
40kHelps your agent create instructions for AI tools based on an assessment. It's useful for improving how AI interacts with code and closing identified gaps.
acreadiness-policy
40kEnables your agent to help define or apply policies for AI project assessment. It's useful for standardizing how projects are evaluated and ensuring compliance.
Similar skills
technical-documentation
394kHelps your agent write and review clear technical docs and agent instruction files, so people and AI tools can follow them easily.
architecture-decision-records
280kHas your agent record important project structure decisions. It helps to understand the reasoning behind choices and maintain a clear history of changes.
code-tour
280kLets your agent create step-by-step code walkthroughs with exact file and line references. Useful for intros, explanations, and reviews.