Generated banner for Context Map
Generated logo for Context Map

Context Map

GitHubOfficialOriginally contributed by @vfaraji89 as prompts/context-map.prompt.md; moved into a skill by pull request #761Distributed by GitHub

  • Skill
  • Research and analysis
  • Software development
  • MIT
  • No issues found

From the author

Generate a map of all files relevant to a task before making changes
— the description by vfaraji89

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The context-map skill provides a systematic approach to pre-development planning. By requiring a comprehensive analysis of the codebase, dependencies, and testing requirements, it helps developers visualize the scope of a task and identify potential risks before writing code. The skill enforces a standardized output format that captures modified files, dependency impacts, relevant tests, and reference patterns, ensuring that changes are well-planned and documented.

What it does

  • Analyzes the codebase to identify files relevant to a specific task.
  • Maps direct dependencies and imports that may require updates.
  • Locates associated test files to ensure functional coverage.
  • Identifies existing code patterns to serve as implementation references.
  • Performs a structured risk assessment for breaking changes or infrastructure needs.

When to use it

  • Before starting a new feature implementation or bug fix.
  • When working in a complex codebase with many interdependencies.
  • When you need to ensure all affected areas are covered by tests.
  • When you want to minimize the risk of breaking existing functionality.

Advantages

  • Reduces the likelihood of missing side effects in dependent code.
  • Standardizes the planning phase of development tasks.
  • Provides a clear checklist of requirements before implementation begins.
  • Helps in identifying necessary database or configuration changes early.

Usage examples

“Create a context map for adding a new user authentication endpoint.”
The agent will scan the codebase for existing authentication logic, identify dependent API files, list relevant test suites, and provide a risk assessment table.
“I need to refactor the payment processing module. Generate a context map.”
The agent will produce a table of files to modify, identify downstream services that import the payment module, and highlight potential breaking changes.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/github/context-map/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip context-map.zip -d .agents/skills

Documentation by vfaraji89

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.

Files

ATTRIBUTION.md

Attribution

This folder is an unmodified copy of the Agent Skill "context-map", distributed by AutoGineer (https://autogineer.com/agent-skills).

The skill's own files are unmodified copies. AutoGineer is not affiliated with or endorsed by the author or the publisher.

Files added by AutoGineer

  • ATTRIBUTION.md: this file, written by AutoGineer

  • LICENSE: copied from LICENSE

Requirements and compatibility

Written for: GitHub Copilot

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Originally contributed by
GitHub avatar of vfaraji89@vfaraji89as prompts/context-map.prompt.mdmoved into a skill by pull request #761
Publisher
GitHub (Official)
Distributed by
GitHub
Source
github/awesome-copilot · skills/context-map · commit 797337f
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Contributors
vfaraji89

AutoGineer is not affiliated with or endorsed by vfaraji89 or GitHub.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download context-map.zip