Skills Development Codebase Context Map Generator

Codebase Context Map Generator

v20260410
context-map
This tool generates a comprehensive context map of a codebase before making any modifications. It guides developers to systematically analyze all relevant files, dependencies, existing tests, and common patterns. Use it to assess the full scope of a task, identify potential breaking changes, and ensure a robust and stable development cycle.
Get Skill
245 downloads
Overview

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.

Info
Category Development
Name context-map
Version v20260410
Size 1.12KB
Updated At 2026-04-12
Language