context-map

Map codebase files, dependencies, tests, and risks for a development task.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/xabierlameiro/price-tracker --skill context-map-xabierlameiro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-map
Source: https://github.com/xabierlameiro/price-tracker/tree/main/.agents/skills/context-map
Command: npx skills add https://github.com/xabierlameiro/price-tracker --skill context-map-xabierlameiro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you understand the full scope of changes required for a task by mapping out relevant files, dependencies, and tests before implementation.

Core Features & Use Cases

  • Codebase Analysis: Identifies all files pertinent to a given task.
  • Dependency Mapping: Shows direct imports and exports between files.
  • Test Identification: Locates existing tests related to the task.
  • Pattern Recognition: Finds similar code patterns for guidance.
  • Risk Assessment: Highlights potential breaking changes, migrations, or configuration needs.
  • Use Case: Before refactoring a user authentication module, use this Skill to identify all files involved in login, registration, session management, and their corresponding tests, ensuring no critical functionality is overlooked.

Quick Start

Generate a context map for the task of implementing a new user profile page.

Frequently Asked Questions about context-map

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

FAQPage Schema
How do I map code dependencies before refactoring a module?

To map code dependencies before refactoring, you need to identify direct imports, exports, and related test files. This process generates a comprehensive context map of files to modify and highlights potential breaking changes.

What is the best way to identify all files needed for a codebase change?

The best way to identify all files for a codebase change is to perform codebase analysis that locates pertinent files, recognizes existing code patterns, and maps their dependencies to ensure no critical functionality is overlooked.

How do I assess the risk of breaking changes before modifying code?

To assess the risk of breaking changes before modifying code, generate a risk assessment that highlights potential impacts like required migrations or configuration needs alongside the dependency mapping of the affected files.

How do I find existing test files related to a specific development task?

Finding existing test files related to a development task requires test identification, which locates all corresponding tests for the files involved in the task and ensures no critical functionality is overlooked during implementation.

Can I use code analysis to recognize similar code patterns for guidance?

Yes, you can use code analysis to perform pattern recognition, which finds similar code patterns across the codebase for guidance. This helps you understand the full scope of changes required before implementation.

Does impact analysis help with identifying required database migrations?

Yes, impact analysis helps identify required database migrations by highlighting potential breaking changes and configuration needs. This risk assessment is included when mapping out relevant files and dependencies before implementation.