Skip to content
Back to skills

Aio Map

ASecurity

Trace dependencies, call graphs, and blast radius for a file/function/module via GitNexus + LSP. Step 2 of the codeflow discover → map → plan trio (after aio-discover, before aio-plan).

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 20, 2026
ai-agentstypescriptrustgogit

Works with

  • mcp

Security analysis

A100/100

Scanned November 20, 2026

npx -y skills add aiocean/claude-plugins --skill aio-map --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aio Map?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aio Map
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiocean-aio-map/badge)](https://www.skillsdirectory.com/skills/aiocean-aio-map)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aio-map
description: |
  Trace dependencies, call graphs, and blast radius for a file/function/module via GitNexus + LSP. Step 2 of the codeflow discover → map → plan trio (after aio-discover, before aio-plan).
when_to_use: map dependencies, show structure, who calls this, blast radius, trace references, impact analysis, dependency graph, call graph, symbol map, structural analysis, reference tracing
effort: medium
argument-hint: "File, function, or module to map dependencies for"
context: fork
agent: oh-my-claudecode:explore
---

# Map — Structural Analysis

## Environment
- GitNexus: !`npx gitnexus status 2>/dev/null && echo "AVAILABLE" || echo "NOT INSTALLED"`

Build a dependency and symbol map for files identified by `/discover`. Uses GitNexus for overview, LSP for precision.

## Prerequisites

- GitNexus indexed (`npx gitnexus analyze`) — verify with `npx gitnexus status`
- LSP servers running (TypeScript/Rust)

## Workflow

### Step 1: Symbol inventory (GitNexus) — run in parallel

For each relevant file from discovery, use the GitNexus MCP `context` tool:

```
context(file)
```

Fast overview of symbols and dependencies without reading the full file.

### Step 2: File dependencies (GitNexus) — run in parallel

```
context(file)  → imports and dependents for the file
impact(file)   → what does changing this file affect?
```

**Note:** GitNexus tracks TS imports well. For Rust modules, fall back to LSP.

### Step 3: Precise references (LSP)

For key functions that will be modified:

```
lsp_find_references(file, line, character)  → all call sites
lsp_goto_definition(file, line, character)  → where defined
lsp_hover(file, line, character)            → type info
```

LSP is authoritative — always trust LSP over GitNexus for caller/callee data.

### Step 4: Output structural map

```
## Map: [feature area]

### File: `path/file.ts` (N functions)
**Key functions:** fn1, fn2, fn3
**Imports:** file-a.ts, file-b.ts
**Imported by:** file-c.tsx, file-d.tsx
**References:**
- `fn1` called from: file-c.tsx:42, file-d.tsx:88

### Dependency Graph
file-a → file-b → file-c
                 ↘ file-d

### Blast Radius
Changing `fn1` affects: [list of downstream files]

### Next Step
Run `/plan` to synthesize into implementation plan.
```

## Tool priority

1. **GitNexus `context`** — fast file overview (always works)
2. **GitNexus `impact`** — blast radius / downstream effects
3. **LSP `lsp_find_references`** — precise function-level tracing
4. **LSP `lsp_hover`** — type information when needed

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.