Skip to content
Skillpedia
Documentation40k · #7119

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.md

Copy 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

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/context-map/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

  1. Search the codebase for files related to this task
  2. Identify direct dependencies (imports/exports)
  3. Find related tests
  4. 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills