repo-map SKILL.md skillA
repo-map from chainlesschain/chainlesschain is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add chainlesschain/chainlesschain/repo-map@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- chainlesschain/chainlesschain
- Path
desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/repo-map/SKILL.md- Versions recorded
- 3
- Latest version
- v1.0.0, committed Aug 28, 2026
- First version recorded
- Jun 3, 2026
- Size
- 4,276 bytes
- Repository stars
- 11
- License
- a license file GitHub does not identify
代码库结构映射 - AST级符号索引、全局代码感知、依赖可视化.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 代码库结构映射技能
## 描述
创建代码库的 AST 级结构映射,提取所有文件的类、函数、导出、导入符号,生成压缩的全局代码感知索引。让 AI 在不加载完整文件内容的情况下了解整个项目结构,实现跨文件推理。
## 使用方法
```
/repo-map [目录路径] [选项]
```
## 选项
- `--depth <n>` - 扫描深度层级 (默认: 全部)
- `--exports` - 仅显示导出符号
- `--imports` - 显示导入依赖关系图
- `--find <symbol>` - 查找特定符号的定义和引用位置
- `--format <type>` - 输出格式: tree, flat, mermaid (默认: tree)
- `--filter <pattern>` - 文件过滤模式 (如 `*.ts`)
## 执行步骤
1. **扫描目录**: 递归遍历指定目录,按语言分类文件
2. **AST 解析**: 解析每个文件的语法树,提取符号(类、函数、变量、导出、导入)
3. **构建索引**: 建立符号 → 文件位置的映射表
4. **依赖分析**: 追踪 import/require 关系,构建模块依赖图
5. **压缩输出**: 生成紧凑的符号摘要,控制 token 开销
## 输出格式
```
src/main/
├── database.js
│ ├── class DatabaseManager
│ │ ├── initialize()
│ │ ├── query(sql, params)
│ │ └── migrate()
│ └── exports: { DatabaseManager }
├── llm/
│ ├── session-manager.js
│ │ ├── class SessionManager
│ │ │ ├── createSession(options)
│ │ │ ├── compressContext(session)
│ │ │ └── exportSession(id)
│ │ └── exports: { SessionManager }
```
## 支持的语言
| 语言 | 文件类型 | 符号提取 |
| ----------- | --------------- | ------------------------------------ |
| JavaScript | .js, .jsx, .mjs | 函数、类、const/let 导出、CommonJS |
…Read the whole file at its exact version.
How to install
mdr add chainlesschain/chainlesschain/repo-map@sha256:eee368ed0f46ab0fThe line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_3viye3vswddtoftp)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jun 3, 2026 and Aug 28, 2026, about one every 43 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-08-28 | 44248c7 | 4,276 B | A | view · diff |
| v1.0.0 | 2026-08-28 | c29953e | 4,259 B | A | view · diff |
| v1.0.0 | 2026-06-03 | 3b0b2dc | 4,167 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4276 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
chainlesschain/chainlesschain · 11 stars · license a license file GitHub does not identify · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_3viye3vswddtoftp GET https://markdownregistry.com/api/v1/resolve?ref=chainlesschain/chainlesschain/repo-map GET https://markdownregistry.com/api/v1/blob/eee368ed0f46ab0fb31bf63a0210cf6e5efc791fdddebe42102730dd59d428f9
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from chainlesschain/chainlesschain
Every file in chainlesschain/chainlesschain