Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Directory Structure Mapper (ds-mapper)

Scans any repository and produces an annotated ASCII directory tree plus a module table and suggested entry points.

Dev & CodingBeginner81785AI 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

  1. "How is this repo organized?" → stack summary + 3-level tree + module table.
  2. Freshly cloned Next.js app: "show me the directory tree" → roles of src/app, components, lib and the startup file.
  3. 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/laolaoshiren/claude-code-skills-zh.git
  3. Create the skills folder if needed: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r claude-code-skills-zh/skills/ds-mapper ~/.claude/skills/
  5. Restart Claude Code and confirm ds-mapper appears in your skill list.
  6. 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).