vesalius-code-map — скилл для Claude Code: карта кода
Скилл vesalius-code-map для Claude Code отвечает на вопросы о связях и устройстве кодовой базы через инструменты Vesalius. Он подключается, когда нужно найти вызовы, место функции или циклические импорты.
MIT ★ 81 обновлён 2026-11-06
/plugin marketplace add haplollc/Vesalius
/plugin install vesalius@haploЧто делает vesalius-code-map
vesalius-code-map обращается к графу кода репозитория через MCP-инструменты Vesalius, а не ищет совпадения в тексте. Инструмент usages показывает места вызова и использования, feature_map связывает функции и типы с ролями, а outline перечисляет объявления и вызовы в файле. Все инструменты доступны только для чтения.
architecture описывает структуру проекта и зависимости, а dependency_cycles находит циклы импорта с указанием строк. В профиле MCP full доступен также repo_report с диагностикой, горячими точками и обзором репозитория. Сервер Vesalius должен обслуживать репозиторий, с которым работает Claude Code; выбрать его можно через vesalius mcp --repo /path/to/repo или переменную VESALIUS_REPO.
Какие задачи решает
- найти функции, которые вызывают выбранный символ
- определить, где расположена функция нужной возможности
- посмотреть объявления и вызовы внутри файла
- проверить направление зависимостей между частями проекта
- найти циклические импорты и строки, где они возникают
Примеры запросов агенту
- Покажи, какие функции вызывают
createUser, и где они находятся. - Найди, в каких файлах обрабатываются покупки и как сохраняются данные.
- Проверь проект на циклические импорты и укажи строки зависимостей.
Как установить vesalius-code-map
1Через маркетплейс плагинов
/plugin marketplace add haplollc/Vesalius/plugin install vesalius@haploКоманда ставит плагин vesalius целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add haplollc/Vesalius --skill vesalius-code-map -a claude-code3Вручную: положить файлы
~/.claude/skills/vesalius-code-map/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/vesalius-code-map/
1Через Skills CLI (Vercel)
npx skills add haplollc/Vesalius --skill vesalius-code-map -a codex2Вручную: положить файлы
.agents/skills/vesalius-code-map/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add haplollc/Vesalius --skill vesalius-code-map -a cursor2Вручную: положить файлы
.cursor/skills/vesalius-code-map/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install haplollc/Vesalius plugins/vesalius/skills/vesalius-code-map2Вручную: положить файлы
.github/skills/vesalius-code-map/SKILL.md1Через Skills CLI (Vercel)
npx skills add haplollc/Vesalius --skill vesalius-code-map -a gemini-cli2Командой платформы
gemini skills install https://github.com/haplollc/Vesalius --path plugins/vesalius/skills/vesalius-code-mapВручную: положить файлы
.devin/skills/vesalius-code-map/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о vesalius-code-map
Как установить vesalius-code-map в Claude Code?
Добавьте маркетплейс командой /plugin marketplace add haplollc/Vesalius, затем установите скилл: /plugin install vesalius@haplo.
Что делает vesalius-code-map?
Скилл использует MCP-инструменты Vesalius, чтобы исследовать вызовы, структуру файлов и зависимости репозитория. Инструменты работают только на чтение.
Что нужно для работы vesalius-code-map?
Нужен MCP-сервер Vesalius, который обслуживает репозиторий Claude Code. Репозиторий задаётся командой vesalius mcp --repo /path/to/repo или переменной VESALIUS_REPO.
Исходный текст
SKILL.md · MIT
--- name: vesalius-code-map description: Ask Vesalius about a codebase through its MCP tools instead of grepping: usages, feature_map, outline, architecture, and dependency_cycles. Use when answering questions about who calls or uses something, where a feature lives, what a file contains, how a project is put together, or whether circular imports exist. --- # Vesalius code map Vesalius is a precomputed, on-device code graph of the repository. Its tools return file and line evidence, usually in one call. Every tool is read-only. Use Grep for literal text or regex instead. ## Tools | Tool | Ask it | What comes back | | --- | --- | --- | | `usages` | Who calls X? What uses this file? What breaks if I rename X? | Uses as file and line plus code, grouped by the function they sit in, plus a completeness check. With a change of rename, signature, or remove: the edit list and the tests to run. | | `feature_map` | Where are purchases handled? How is data persisted? | The core types and functions grouped by role, with decisive lines, framework and input/output calls, config links, and call sites. | | `outline` | What is in this file, type, or function? | Declarations with signatures and line ranges, first doc sentences, and calls in order. Cheaper than reading the file. | | `architecture` | How is this project put together? | Targets and their product types, packages, folders, dependency direction, cycles, and cross-target links. | | `dependency_cycles` | Do we have circular imports? | Every cycle in scope with each edge's import line and where the imported names are used, plus what was scanned. | Under the `full` MCP profile there is a sixth tool, `repo_report`, for health score, diagnostics, hotspots, unused code, overview, and finding files by name. ## Notes - If a `usages` result says complete, do not re-grep it. If it lists unresolved sites, check only those. - The server serves the repository Claude Code is working in. Pin one repository with `vesalius mcp --repo /path/to/repo` in a manual registration, or set `VESALIUS_REPO`. - `vesalius doctor` checks the connection any time. `vesalius stats` shows what Claude asked.
© Haplo · MIT · haplollc/Vesalius