code-cartographer

Installation
SKILL.md

Code Cartographer

Map the architecture, data flow, and risks in legacy codebases. Transform complex, untested code into visual diagrams and actionable guidance.

Core Analysis Workflow

Given a function name or file path:

  1. Find the entry point - Locate the target in the codebase using Glob/Grep
  2. Map call relationships - Trace callers (who uses this) and callees (what this uses)
  3. Detect side effects - Identify hidden state changes and external dependencies
  4. Filter signal from noise - Exclude vendor/node_modules, focus on custom logic
  5. Visualize and summarize - Generate Mermaid diagram, risk list, and plain English summary

Step 1: Locate the Target

Use Glob to find files, then Grep to locate the specific function/class:

Installs
1
GitHub Stars
681
First Seen
14 days ago