Agent skill

mapping-codebases

Generate navigable code maps for unfamiliar codebases. Extracts exports/imports via AST (tree-sitter) to create _MAP.md files per directory showing classes, functions, methods with signatures and line numbers. Use when exploring repositories, understanding project structure, analyzing unfamiliar code, or before modifications. Triggers on "map this codebase", "explore repo", "understand structure", "what does this project contain", or when starting work on an unfamiliar repository.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill mapping-codebases-oaustegard-claude-skills-3 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Version: 0.7.1
Path: skills/analysis/mapping-codebases-oaustegard-claude-skills-3/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Mapping Codebases Generate `_MAP.md` files providing hierarchical code structure views. Maps show function signatures, class methods, imports, and line numbers—enabling API understanding without reading full source files. ## Installation ```bash uv venv /home/claude/.venv uv pip install tree-sitter-language-pack --python /home/claude/.venv/bin/python ``` **Bundled parsers**: The skill includes pre-built parsers for all 10 supported languages (Python, JavaScript, TypeScript, TSX, Go, Rust, Ruby, Java, HTML, Markdown) in `parsers/`. These are used automatically when the tree-sitter-language-pack runtime download fails (e.g., in proxied environments). No network access needed for supported languages. ## Generate Maps ```bash /home/claude/.venv/bin/python /mnt/skills/user/mapping-codebases/scripts/codemap.py /path/to/repo --skip tests,.github,locale ``` Common skip patterns: `tests,.github,.husky,locale,migrations,__snapshots__,coverage,target,docs` ## Navigate Via Maps After generating maps, use them for navigation—read `_MAP.md` files, not source files directly. **Workflow:** 1. Read root `_MAP.md` for high-level structure 2. Follow subdirectory links to drill into relevant areas 3

What's inside
Steps it walks through
  1. Installation
  2. Generate Maps
  3. Navigate Via Maps
  4. Map Contents
  5. Commands
  6. Supported Languages
  7. Limitations
Ships with 1 file
  • metadata.json
Commands it runs
uv venv /home/claude/.venv
uv pip install tree-sitter-language-pack --python /home/claude/.venv/bin/python
Generate maps
Skip directories
Clean maps
Dry run
Verbose (debug output)
More from claude-skill-registry
All skills →
About this skill
What does the mapping-codebases skill do?

Generate navigable code maps for unfamiliar codebases. Extracts exports/imports via AST (tree-sitter) to create _MAP.md files per directory showing classes, functions, methods with signatures and line numbers. Use when exploring repositories, understanding project structure, analyzing unfamiliar code, or before modifications. Triggers on "map this codebase", "explore repo", "understand structure", "what does this project contain", or when starting work on an unfamiliar repository.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill mapping-codebases-oaustegard-claude-skills-3 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going