“项目目录结构地图 - 生成带说明的可视化目录树,快速理解任意代码库”

— description from SKILL.md by laolaoshiren
MITAuto-check passed

Install Ds Mapper

skills CLI
$ npx skills add laolaoshiren/claude-code-skills-zh --skill ds-mapper -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install laolaoshiren/claude-code-skills-zh ds-mapper --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/laolaoshiren/claude-code-skills-zh.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ds-mapper .claude/skills/ds-mapper && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ds-mapper
GitHub stars
880
Token cost
~330 tokens
SKILL.md length
69 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
MIT

At a glance

  • Works in 4 steps: 扫描根目录 — 使用 Bash find 和 ls 获取顶层结构 → 分析关键目录 — 读取关键文件(package.json,… → 递归扫描 — 深入扫描主要目录,理解各模块职责 → …
  • SKILL.md covers 触发条件, 工作流程, 输出格式 and 注意事项
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Ds Mapper is a skill in laolaoshiren/claude-code-skills-zh (880 stars). Its SKILL.md is about 330 tokens. Licence: MIT.

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 扫描根目录 — 使用 Bash find 和 ls 获取顶层结构
  2. 分析关键目录 — 读取关键文件(package.json, Cargo.toml, pyproject.toml, go.mod 等)获取项目元信息
  3. 递归扫描 — 深入扫描主要目录,理解各模块职责
  4. 生成结构图 — 输出 ASCII 目录树 + 中文注释说明

What it can do on your machine

Read from SKILL.md and the folder at commit 633f21c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ds Mapper loads about 330 tokens when it runs. Until then it costs about 11 tokens; SKILL.md has 69 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~11
When it runs · the whole SKILL.md, loaded when a task matches
~330

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from laolaoshiren/claude-code-skills-zh at commit 633f21c, republished under its MIT licence (© laolaoshiren). 69 words, ~330 tokens.

Download SKILL.mdSave it as .claude/skills/ds-mapper/SKILL.md (or your agent's skills folder).
name
ds-mapper
description
项目目录结构地图 - 生成带说明的可视化目录树,快速理解任意代码库

项目目录结构地图(Directory Structure Mapper)

触发条件

当用户说「带我看看项目结构」「这个仓库怎么组织的」「目录树」「帮我理解这个代码库」或类似需求时激活此技能。

工作流程

  1. 扫描根目录 — 使用 Bash find 和 ls 获取顶层结构
  2. 分析关键目录 — 读取关键文件(package.json, Cargo.toml, pyproject.toml, go.mod 等)获取项目元信息
  3. 递归扫描 — 深入扫描主要目录,理解各模块职责
  4. 生成结构图 — 输出 ASCII 目录树 + 中文注释说明

输出格式

markdown
## 📂 项目结构地图

### 🔧 项目信息
- 语言:TypeScript / Python / Go / ...
- 框架:Next.js / FastAPI / Gin / ...
- 包管理:pnpm / pip / go mod

### 🌳 目录树

project-root/ ├── src/ # 📦 核心源码 │ ├── components/ # 🧩 UI 组件 │ ├── services/ # 🔌 业务逻辑层 │ ├── utils/ # 🔧 工具函数 │ └── index.ts # 🚀 入口文件 ├── tests/ # 🧪 测试文件 ├── docs/ # 📖 文档 ├── .github/ # 🔄 CI/CD 配置 ├── package.json # 📋 依赖管理 └── README.md # 📝 项目说明


### 🗺️ 模块说明

| 目录 | 职责 | 关键文件 |
|------|------|----------|
| `src/` | 核心源码 | index.ts, app.ts |
| `src/components/` | UI 组件 | Button.tsx, Modal.tsx |

### 💡 入口建议
- 🚀 启动入口:`src/index.ts`
- 📖 入门文档:`README.md`
- ⚙️ 配置文件:`config.yaml`

注意事项

  • 跳过 node_modules, .git, vendor, pycache 等常见忽略目录
  • 对每个关键目录给出一行中文说明
  • 如果项目有 monorepo 结构,分别列出各 packages
  • 最多展示 3 层深度,避免输出过长

© laolaoshiren, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/ds-mapper of laolaoshiren/claude-code-skills-zh.

Open the folder on GitHubat commit 633f21c

Compare with similar skills

Ds Mapper next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ds Mapper compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ds Mapper this skilllaolaoshiren/claude-code-skills-zh880—~330Automated safety check: PassMIT
Process Mapperalirezarezvani/claude-skills28k—~2.2kAutomated safety check: PassMIT
Awareness Stage Mappersickn33/agentic-awesome-skills47k2 repos~1.5kAutomated safety check: PassMIT
User Journey Mapperjeremylongshore/tons-of-skills-marketplace2.8k—~558Automated safety check: PassMIT
Ontology MapperFreedomIntelligence/OpenClaw-Medical-Skills3.1k1 repos~1.9kAutomated safety check: NotesNone
Audience Mapperaaron-he-zhu/aaron-marketing-skills2.9k—~3.7kAutomated safety check: PassApache-2.0

Similar skills

  • Process Mapper

    alirezarezvani/claude-skills

    A skill your agent uses when a BizOps lead, COO, or process-improvement owner needs to document an end-to-end business process (procurement, employee onboarding, incident handoff…

    28k GitHub stars~2.2k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Awareness Stage Mapper

    sickn33/agentic-awesome-skills

    One sentence - what this skill does and when to invoke it. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~1.5k tokens
    Auto-check passed
  • User Journey Mapper

    jeremylongshore/tons-of-skills-marketplace

    Manage user journey mapper operations. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~558 tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Ontology Mapper

    FreedomIntelligence/OpenClaw-Medical-Skills

    Map materials science terms, crystal structures, and sample descriptions to ontology classes and properties.

    3.1k GitHub starsUsed in 1 repo~1.9k tokens
    Research & ScienceAuto-check: notes
  • Audience Mapper

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "analyze my target audience", "build an audience profile for influencer targeting", "research a niche community", or "deep-dive a subculture before…

    2.9k GitHub stars~3.7k tokensUpdated today
    Marketing & SEOAuto-check passed
  • Positioning Mapper

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "map our positioning", "name our competitive alternatives", or "pick a beachhead segment for the launch"; produces a Dunford-style positioning canvas —…

    2.9k GitHub stars~3.3k tokensUpdated today
    Marketing & SEOAuto-check passed

More from laolaoshiren/claude-code-skills-zh

All 19 skills in this repo
  • API Tester

    laolaoshiren/claude-code-skills-zh

    依据真实 OpenAPI、路由实现和现有测试生成并验证 API 测试。用于用户要求测试接口、补集成测试、验证 API 契约、生成回归用例或排查接口兼容性时;区分“生成测试”和“执行请求”的授权,不猜测状态码、响应结构或 SLA,不在未确认环境中发送写请求。

    880 GitHub stars~614 tokensUpdated 5 days ago
    Auto-check passed
  • Dep Auditor

    laolaoshiren/claude-code-skills-zh

    审计 Node.js、Python、Go、Rust、JVM、Ruby 项目的依赖漏洞、版本健康度与许可证事实;当用户要求检查 package.json、lockfile、requirements、go.mod、Cargo.toml、pom.xml、Gemfile.lock,或生成不改依赖的中文审计报告时使用

    880 GitHub stars~895 tokensUpdated 5 days ago
    Auto-check passed
  • Eslint Fix

    laolaoshiren/claude-code-skills-zh

    安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。

    880 GitHub stars~436 tokensUpdated 5 days ago
    Auto-check passed
  • Git Workflow

    laolaoshiren/claude-code-skills-zh

    安全处理 Git 状态检查、提交信息、commit、分支、push、PR 和 rebase。用于用户要求检查改动、生成或创建提交、管理分支、推送、发起 PR 或整理历史时;严格区分每个动作的授权,并保护工作树中已有和无关的修改。

    880 GitHub stars~513 tokensUpdated 5 days ago
    Auto-check passed
  • GitHub Actions Gen

    laolaoshiren/claude-code-skills-zh

    分析真实项目并生成或修订安全、可验证的 GitHub Actions workflow;当用户要求创建 CI、测试矩阵、构建、Release、部署、缓存、Secrets、OIDC、PR 自动化或排查 workflow 配置时使用

    880 GitHub stars~1.1k tokensUpdated 5 days ago
    Auto-check: notes
  • Skill Curator

    laolaoshiren/claude-code-skills-zh

    中文 Skill 收录评估器。用于核验 GitHub 上的 Claude Code、Codex、Agent Skills、Plugin、MCP、CLI 或 Agent 工作流是否值得加入精选列表;检查真实资产、安装方式、活跃度、重复项和安全边界,并生成分类、中文描述与可追溯证据。

    880 GitHub stars~756 tokensUpdated 5 days ago
    Auto-check passed

Questions about Ds Mapper

How do I install Ds Mapper in Claude Code?

Run `npx skills add laolaoshiren/claude-code-skills-zh --skill ds-mapper -a claude-code`. Or copy the skill folder (skills/ds-mapper in laolaoshiren/claude-code-skills-zh) into .claude/skills/ds-mapper in your project. Claude Code loads it when a task matches its description.

How do I install Ds Mapper in Codex?

Run `npx skills add laolaoshiren/claude-code-skills-zh --skill ds-mapper -a codex`. Or copy the skill folder (skills/ds-mapper in laolaoshiren/claude-code-skills-zh) into .agents/skills/ds-mapper in your project. Codex loads it when a task matches its description.

Can I use Ds Mapper in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add laolaoshiren/claude-code-skills-zh --skill ds-mapper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ds-mapper, .gemini/skills/ds-mapper, .github/skills/ds-mapper and .opencode/skills/ds-mapper in your project.

What does Ds Mapper need to run?

SKILL.md names no scripts, command-line tools or credentials: Ds Mapper is instructions for the agent only.

Does Ds Mapper access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ds Mapper safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ds Mapper use?

Ds Mapper is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ds Mapper use?

About 330 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ds Mapper?

Skills that share tags, products or a category with Ds Mapper: Process Mapper (alirezarezvani/claude-skills, 28k stars), Awareness Stage Mapper (sickn33/agentic-awesome-skills, 47k stars), User Journey Mapper (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and Ontology Mapper (FreedomIntelligence/OpenClaw-Medical-Skills, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ds Mapper?

laolaoshiren (a GitHub user) maintains it in laolaoshiren/claude-code-skills-zh, which has 880 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 5, 2026.

Source: laolaoshiren/claude-code-skills-zh on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.