github avatar

Context Map

Before you start coding, this generates a structured map of every file that might be affected by your changes. It searches for direct dependencies, related tests, similar patterns you can reference, and flags potential breaking changes or required migrations. Think of it as mandatory reconnaissance before touching anything important. The output is a markdown table that forces you to actually understand the blast radius of your changes instead of diving in blind. Honestly saves more time than it costs, especially on unfamiliar codebases where you'd otherwise spend hours tracking down mysterious test failures.

skills.sh installs
9.7K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill context-map --agent claude-code

Installs into .claude/skills of the current project.

Files

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.

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, AI & Agent Building

More from github/awesome-copilot

All 318
1github avataref-coregithub/awesome-copilotGet best practices for Entity Framework Core9.7Kskills.sh installs
2github avatarazure-deployment-preflightgithub/awesome-copilotPerforms comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks. Use th9.6Kskills.sh installs
3github avatarwrite-coding-standards-from-filegithub/awesome-copilotWrite a coding standards document for a project using the coding styles from the file(s) and/or folder(s) passed as arguments in the prompt.9.6Kskills.sh installs
4github avatarmy-issuesgithub/awesome-copilotList my issues in the current repository9.6Kskills.sh installs
5github avatarcreate-spring-boot-java-projectgithub/awesome-copilotCreate Spring Boot Java Project Skeleton9.6Kskills.sh installs
6github avatarappinsights-instrumentationgithub/awesome-copilotInstrument a webapp to send useful telemetry data to Azure App Insights9.5Kskills.sh installs