map

Codebase Symbol Map Generator

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "map" with this command: npx skills add htlin222/dotfiles/htlin222-dotfiles-map

Codebase Symbol Map Generator

Generate a semantic symbol map showing where all exports, classes, functions, and interfaces are defined. This eliminates guessing with rg by providing precise file:line locations.

When to Use

  • Starting work on an unfamiliar codebase

  • Before large-scale refactoring

  • When needing to understand code structure

  • To avoid rg text-matching confusion (same name in comments/strings)

Execution

Run the generator script:

python3 ~/.claude/skills/map/scripts/symbol_map.py

The script will:

  • Detect project language (TypeScript/JavaScript/Python/Rust/Go)

  • Extract all exported symbols with their locations

  • Generate a markdown map at ~/.claude/codebase-maps/{project}_symbols.md

Output Format

Symbol Index by Type

Classes

SymbolLocation
AuthProvidersrc/auth/provider.ts:15

Functions

SymbolLocation
formatDatesrc/utils/date.ts:42

Usage After Generation

After running /map , use the symbol locations directly:

  • "Read src/auth/provider.ts:15 to check AuthProvider"

  • "The formatDate function at src/utils/date.ts:42 needs modification"

No more grepping and guessing.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

devops

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

python

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-review

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

update-dev-docs

No summary provided by upstream source.

Repository SourceNeeds Review