Directory Structure Mapper (ds-mapper)
Scans any repository and produces an annotated ASCII directory tree plus a module table and suggested entry points.
Dev & CodingBeginner★ 817⑂ 85AI score 8/10Last updated: Sep 4, 2026
What it does
- Scans the repo root with
find/ls, then reads manifest files (package.json,Cargo.toml,pyproject.toml,go.mod) to detect language, framework and package manager. - Recursively maps main directories up to 3 levels deep and prints an ASCII tree with a one-line note for each folder.
- Adds a module responsibility table (directory / role / key files) and "start reading here" suggestions for entry point, docs and config.
- Skips noise directories (
node_modules,.git,vendor,__pycache__) and splits monorepos into per-package sections.
Who it's for
- Developers onboarding onto an unfamiliar codebase or inherited project.
- Anyone exploring an open-source repo who wants to find the core modules fast.
- Maintainers who need a "Project structure" section for README or onboarding docs.
Examples
- "How is this repo organized?" → stack summary + 3-level tree + module table.
- Freshly cloned Next.js app: "show me the directory tree" → roles of
src/app,components,liband the startup file. - Monorepo: "break it down per package" → separate trees and responsibilities for each
packages/*.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/laolaoshiren/claude-code-skills-zh/HEAD/skills/ds-mapper/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/ds-mapper folder from the GitHub repo laolaoshiren/claude-code-skills-zh into my ~/.claude/skills/ds-mapper/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/laolaoshiren/claude-code-skills-zh.git /tmp/ccs-zh && mkdir -p ~/.claude/skills && cp -r /tmp/ccs-zh/skills/ds-mapper ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/laolaoshiren/claude-code-skills-zh.git - Create the skills folder if needed:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r claude-code-skills-zh/skills/ds-mapper ~/.claude/skills/ - Restart Claude Code and confirm
ds-mapperappears in your skill list. - From a project directory, ask "show me this project's structure" to trigger it (add "annotate in English" if you don't want Chinese comments).
View source on GitHub ↗License: MIT