← Back to list

map
by htlin222
my dotfile on macOS, include neovim, zshrc, .etc
⭐ 66🍴 4📅 Jan 23, 2026
SKILL.md
name: map description: Generate semantic codebase symbol map for precise code navigation. Use when starting work on unfamiliar codebase, before refactoring, or when you need to understand where classes/functions/interfaces are defined instead of using rg text-matching.
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
rgtext-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
| Symbol | Location |
| -------------- | ------------------------- |
| `AuthProvider` | `src/auth/provider.ts:15` |
### Functions
| Symbol | Location |
| ------------ | ---------------------- |
| `formatDate` | `src/utils/date.ts:42` |
Usage After Generation
After running /map, use the symbol locations directly:
- "Read
src/auth/provider.ts:15to check AuthProvider" - "The
formatDatefunction atsrc/utils/date.ts:42needs modification"
No more grepping and guessing.
Score
Total Score
55/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


