context-map

Generates a structured map of files, dependencies, and tests relevant to a coding task.

1|1|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/ultraviollettnympho/transit-ticket --skill context-map-ultraviollettnympho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-map
Source: https://github.com/ultraviollettnympho/transit-ticket/tree/main/.github/skills/context-map
Command: npx skills add https://github.com/ultraviollettnympho/transit-ticket --skill context-map-ultraviollettnympho

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers often start implementing changes without understanding which files, dependencies, and tests are affected, leading to missed updates and broken functionality. This Skill enforces a pre-implementation analysis step that maps the relevant codebase context before any code is modified. ## Core Features & Use Cases - File Discovery: Searches the codebase for files related to a given task and identifies direct import/export dependencies. - Test Identification: Locates test files covering the functionality that will be modified. - Pattern References: Finds similar existing code patterns to follow for consistency. - Risk Assessment: Produces a checklist covering breaking API changes, database migrations, and configuration updates. - Use Case: Before refactoring a shared utility module, run this Skill to list every file importing that module, the tests covering it, and similar implementations to mirror. ## Quick Start Ask the AI to generate a context map for your task, for example: create a context map before adding pagination to the user list endpoint.

Frequently Asked Questions about context-map

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze codebase impact before making changes?

Run a context map analysis that searches for files related to your task, traces import/export dependencies, and locates affected tests. The output is a structured Markdown table listing files to modify, dependencies, and risks before implementation begins.

What should a pre-implementation code analysis include?

It should include files to modify with their purposes, direct dependencies that may need updates, test files covering affected functionality, similar code patterns to follow, and a risk checklist for breaking changes, migrations, and configuration updates.

How do I find all files that import a module?

The context map workflow searches the codebase for import and export statements referencing the target module. These direct dependencies are listed in a dedicated table so you know which files may need updates when the module changes.

When should I skip creating a context map?

For trivial single-file changes with no external consumers, a full context map adds overhead without benefit. It is most valuable for changes touching shared modules, public APIs, or functionality covered by multiple tests.

Does the context map skill modify code automatically?

No, it only produces an analysis document and explicitly instructs not to proceed with implementation until the map is reviewed. Code changes happen separately after the context map is approved.