codebase-onboarding
БесплатноБез исполняемых скриптовНе проверенUse this skill when the user asks to "explore this codebase", "understand this repo", "map the architecture", "review our stack", "get up to speed", "break…
от neuromechanist★ 61 звезда на GitHubОб этом скилле
Codebase and Field Onboarding
Build a verified map of an unfamiliar codebase, project, or research area before planning or editing anything. The output is a reconnaissance report that separates verified facts from assumptions, ending in a one-paragraph diagnosis.
The bootstrap sequence (run in this order)
- Date and inventory. Run
date. List the tree (source dirs, configs, docs). Note the largest files with line counts; they are usually where the complexity lives. - Intent docs before code. Read
AGENTS.md/CLAUDE.md,README,.context/(plan.md, research.md, decisions/), design docs. These say what the project is SUPPOSED to be. - Code next. Read entry points, the main loop or route table, and the one or two central types. Do not read everything; read what the intent docs point at.
- History.
git log --oneline -20, open issues and PRs (gh issue list,gh pr list). What was recently worked on, what is planned, what is stuck. - What is ACTUALLY running. Processes, containers (
docker ps -a), data directories on disk, deployed endpoints, cron entries. This step distinguishes "designed" from "operated": if the design exists in code and issues but there is no runtime data on disk, the true next step is "turn it on and calibrate", not "design more". - Verify the specific claim. Whatever question triggered this onboarding ("does compaction work?", "is the migration done?"): grep the source and check live state for it directly. Absence of a script is not absence of work; completed one-off scripts get deleted.
- Probe third-party surfaces. Before planning against any SDK or API, run one cheap introspection command against the INSTALLED version (import it, list the dataclass fields, hit the version endpoint). Treat your trained-in knowledge of library internals as a hypothesis.
- Diagnose in one paragraph. State plainly what exists, what runs, what is broken or missing, and what that implies, before proposing any action.
Delegating exploration (2+ independent areas)
Split "where is X" (mechanical mapping, delegate it) from "what does X actually say" (judgment docs such as ADRs and strategy docs; read those yourself). When the area is larger than one context can hold:
Use the worker/intermediate tier for bounded scouts (Codex Luna/Terra or
Claude Haiku at max or Opus at medium), but keep diagnosis, keystone verification, and synthesis on
the lead tier (Codex Sol or Claude Opus at xhigh). Close/remove each one-off scout
after its report is incorporated. See agent-fanout for escalation rules.
- Partition by architectural domain (backend / CLI / web / data / infra) with disjoint file ownership, one read-only explorer per domain, all spawned in parallel. Agent count = number of genuinely independent domains, within the fan-out cap (see the agent-fanout skill).
- For a planned file decomposition: one explorer maps the target file's internal structure (symbol inventory with line ranges, module-level mutable state), a second maps external dependents (importers, test doubles, dynamic imports), and a third reads the merged precedent of a prior similar change, to mirror it.
- Every explorer prompt: numbered falsifiable questions naming the suspected
files/symbols, an explicit READ-ONLY instruction, and the output contract
"file:line references for load-bearing facts; conclusion-oriented; no file
dumps". Template in
references/exploration-prompts.md. - Re-verify the keystone fact yourself. Before any explorer conclusion becomes a headline claim or a plan premise, spot-check the single most load-bearing fact directly (one grep or file read). Explorer reports are hypotheses with citations, not ground truth.
Field / literature onboarding (research areas)
- Run broad searches yourself first and save the raw corpus (queries and results) to files; then delegate one summarizer per topic family with a hard reading list, exact deliverable path, and a bounded return summary.
- Prefer primary sources (specs, papers, official policy pages); use general web search only as a fallback when a primary source is unreachable.
- Record per-family findings in
research/<family>.md, synthesize into one survey doc, and record the resulting decision as an Architecture Decision Record (ADR) with a dated log line in.context/research.md("Problem, To investigate, Decision (date), Rationale"). - If the project's own docs name a preferred tool or skill for surveys and you choose differently, say so in one sentence at the point of choice.
Output contract: the onboarding report
## Diagnosis
[One blunt paragraph: what exists, what runs, what is missing/broken, what it implies.]
## Architecture map
[Components, how they connect, entry points; file:line for each claim.]
## Conventions observed
[Naming, testing, error handling, commit style; where
Установить codebase-onboarding в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл codebase-onboarding?
Use this skill when the user asks to "explore this codebase", "understand this repo", "map the architecture", "review our stack", "get up to speed", "break ground" on an unfamiliar project or research field, "what is the state of this project", "audit the architecture", or before planning changes in a codebase you have not worked in. Produces a verified reconnaissance report before any design or edit.
Как установить скилл codebase-onboarding?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл codebase-onboarding запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic