recon · prathamdby — скилл для Claude Code: что делает и установка
recon читает сохранённую карту репозитория, строит её заново или обновляет после изменений. Пригодится для навигации по незнакомой кодовой базе.
npx skills add prathamdby/skills --skill recon -a claude-codeЧто делает recon
recon выбирает режим по запросу: читает сохранённый отчёт, строит карту репозитория с нуля или обновляет существующую. Карта содержит структуру проекта, точки входа, модули, потоки данных, команды, соглашения, известные проблемы и ссылки на свидетельства. Для чтения исходные файлы не проверяются заново и не меняются.
Скилл хранит память в каталоге memory/ за пределами репозитория, сверяет HEAD, изменённые пути и общий Git-каталог. При построении он ведёт журнал, сохраняет снимки и атомарно заменяет временные файлы. В отчёте отмечаются покрытие, устаревшие данные, дрейф и незакоммиченные изменения. Если в запросе одновременно сказано читать и пересобирать карту, результатом будет BLOCKED.
Какие задачи решает
- прочитать сохранённую карту кодовой базы
- построить карту текущего репозитория
- обновить карту после изменений
- сверить сохранённый
HEADс текущим - показать незакоммиченные изменения поверх карты
Примеры запросов агенту
- Прочитай сохранённую карту кодовой базы и покажи её ограничения.
- Обнови карту репозитория после последних изменений.
- Пересобери карту текущего репозитория с нуля и укажи подтверждающие файлы.
Как установить recon
1Через Skills CLI (Vercel)
npx skills add prathamdby/skills --skill recon -a claude-code2Вручную: положить файлы
~/.claude/skills/recon/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/recon/
1Через Skills CLI (Vercel)
npx skills add prathamdby/skills --skill recon -a codex2Вручную: положить файлы
.agents/skills/recon/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add prathamdby/skills --skill recon -a cursor2Вручную: положить файлы
.cursor/skills/recon/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install prathamdby/skills recon2Вручную: положить файлы
.github/skills/recon/SKILL.md1Через Skills CLI (Vercel)
npx skills add prathamdby/skills --skill recon -a gemini-cli2Командой платформы
gemini skills install https://github.com/prathamdby/skills --path skills/engineering/reconВручную: положить файлы
.devin/skills/recon/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add prathamdby/skills --skill recon -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о recon
Как установить recon в Claude Code?
Выполните npx skills add prathamdby/skills --skill recon -a claude-code. Файл скилла будет доступен по пути ~/.claude/skills/recon/SKILL.md.
Что делает recon?
Скилл читает сохранённую карту, создаёт карту репозитория или обновляет её после изменений. Он связывает утверждения с доказательствами и показывает покрытие карты.
Что произойдёт при конфликте команд чтения и пересборки?
Такой запрос получает статус BLOCKED. Отдельно заданное чтение не запускает обновление и не меняет файлы.
Исходный текст
SKILL.md · MIT
--- name: recon description: > recon to read a saved codebase map, map the current repo, or refresh it after changes. --- # Recon ## Route and memory Default: patch existing memory, otherwise map cold. "Read the existing report" or "show the saved map" selects **read**, never refresh or rebuild. "Refresh", "rebuild", or "from scratch" selects rebuild. A named area is the focus. Conflicting read/rebuild or rebuild/patch wording is `BLOCKED`. Resolve `<anchor>` as this skill's absolute directory; memory stays in `<anchor>/memory/`, outside the target repo. Resolve repo root, HEAD, dirty paths, and the real absolute Git common directory. A shared-checkout key is `<label>-<hash8>.md`: hash the common directory with SHA-256; take eight digits. Label is its parent's basename for `.git`, otherwise its own basename. Try that key first, then legacy keys hashing the current root and the primary checkout root from `git worktree list --porcelain`. For each candidate, verify frontmatter `repo` resolves to this same common directory. A matching SHA alone does not establish repository identity. Unverifiable identity is `BLOCKED`. Prefer the shared key; multiple legacy candidates with different heads require an explicit path. A supplied report path must pass the same identity check. Frontmatter: `repo` (primary checkout root), full commit `head`, ISO `updated`. Sections: Layout, Entry points, Modules, Data flows, Commands, Conventions, Gotchas, Evidence. Every claim cites evidence; at most ten bullets per section and 200 lines total. Validate, write a sibling `.tmp`, then rename atomically. ## 1. Locate Record `route | memory | stored head | HEAD | dirty | current | pending | terminal`. For **read**, open only existing memory: create no directory, ledger, or snapshot. For map/rebuild, persist the ledger at `<memory>.ledger` through atomic rename after each item; delete it on success. Done when route and candidates are fixed. ## 2. Read or map **Read:** return the saved map with snapshot path/date/head, coverage, and dirty overlay. Compare stored head to HEAD; disclose stale or unresolvable metadata, but do not repair it or inspect source to refresh claims. No report → `NO_REPORT`, naming searched paths. Done with `READ` when the saved map and limitations are presented and no file changed. **Map:** use `references/mapping.md` for cold/rebuild exploration or committed warm drift. A missing/unresolvable head takes the cold path. Reuse verified legacy memory, but write new snapshots to the shared key; leave legacy files untouched. Done when every section has evidence or `None found`, limits hold, and the stored head equals current HEAD. ## 3. Resume and report After interruption, recompute HEAD and changed paths; restart affected work when the ledger differs. Resume the first pending item. Present the map in thread, labeling sections rebuilt, patched, or representative-only; cite its path, focus, drift, unverified areas, and dirty overlay. Warm maps end with `Drift since last recon`. Done when each claim's coverage is disclosed. Terminals: `READ`, `NO_REPORT`, `SUCCESS`, `BLOCKED`. Stored `head` always names a real commit on writes. Memory is a map, not an inventory or history.
© prathamdby · MIT · prathamdby/skills
Похожие скиллы
Каталог скиллов SKILL.md →Сначала — recon от других авторов.