context-map

Generate a map of all files relevant to a task before making changes

23 stars

Best use case

context-map is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Generate a map of all files relevant to a task before making changes

Teams using context-map should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/context-map/SKILL.md --create-dirs "https://raw.githubusercontent.com/christophacham/agent-skills-library/main/skills/tooling/context-map/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/context-map/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How context-map Compares

Feature / Agentcontext-mapStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Generate a map of all files relevant to a task before making changes

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

```markdown
## 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.

Related Skills

what-context-needed

23
from christophacham/agent-skills-library

Ask Copilot what files it needs to see before answering a question

context-management-context-save

23
from christophacham/agent-skills-library

Use when working with context management context save

context7-auto-research

23
from christophacham/agent-skills-library

Automatically fetch latest library/framework documentation for Claude Code via Context7 API

context-optimization

23
from christophacham/agent-skills-library

Apply compaction, masking, and caching strategies

context-driven-development

23
from christophacham/agent-skills-library

Use this skill when working with Conductor's context-driven development methodology, managing project context artifacts, or understanding the relationship between product.md, tech-stack.md, and...

hig-project-context

23
from christophacham/agent-skills-library

Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

context-compress

23
from christophacham/agent-skills-library

Compresses the current session context by identifying relevant info, summarizing key findings, and discarding noise. Produces a compact briefing that replaces long conversation history. The mid-session equivalent of generate-handover.

audit-context-building

23
from christophacham/agent-skills-library

Enables ultra-granular, line-by-line code analysis to build deep architectural context before vulnerability or bug finding.

context-manager

23
from christophacham/agent-skills-library

Elite AI context engineering specialist mastering dynamic context management, vector databases, knowledge graphs, and intelligent memory systems.

mcp:setup-context7-mcp

23
from christophacham/agent-skills-library

Guide for setup Context7 MCP server to load documentation for specific technologies.

context-management-context-restore

23
from christophacham/agent-skills-library

Use when working with context management context restore

code-refactoring-context-restore

23
from christophacham/agent-skills-library

Use when working with code refactoring context restore