Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

codebase-onboarding

БесплатноЗапускает вложенные скриптыНе проверен

Gathers facts about a codebase (stack, layers, entry points, setup gaps) and turns them into onboarding docs: architecture overview, file map, setup guide…

borgheiот borghei★ 1 250 звёзд на GitHub

Об этом скилле

Codebase Onboarding

Analyze any codebase and generate production-quality onboarding documentation tailored to the audience. Produces architecture overviews with system diagrams, annotated key file maps, step-by-step local setup guides, common developer task runbooks, debugging guides with real error solutions, and contribution guidelines. Supports Markdown, Notion, and Confluence output formats.

Core Capabilities

  • Architecture analysis — tech stack identification from manifests/lockfiles, system boundary mapping, Mermaid data-flow diagrams, dependency graphs, module ownership.
  • Key file annotation — surface the 20 most important files and why they matter; mark entry points, config hubs, shared utilities, and files dangerous to modify without coordination.
  • Setup guide generation — prerequisites with exact versions, git clone-to-tests steps, env-var docs, infra setup (Docker/DB/cache), and a verification checklist.
  • Task runbooks — add an API endpoint, run/write tests, create & apply migrations, deploy to staging/production, add a dependency safely.
  • Debugging guide — common errors with exact messages and fixes, log locations by environment, diagnostic SQL/CLI queries, local reproduction of production issues.
  • Audience-aware output — tailored additions for junior developers, senior engineers, and contractors; Markdown / Notion / Confluence formats.

Keywords: codebase onboarding, developer experience, documentation, architecture overview, setup guide, debugging guide, contribution guidelines, code walkthrough, new hire onboarding

When to Use

  • Onboarding a new team member (junior, senior, or contractor)
  • After a major refactor that made existing docs stale
  • Before open-sourcing a project
  • Creating a team wiki page for a service you own
  • Self-documenting before a long vacation or team transition
  • Preparing for a compliance audit that requires documentation

Clarify First

Before generating the docs, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • Target codebase path: which project to analyze (the input all three scripts scan).
  • Audience: junior developer, senior engineer, or contractor (tailors which sections appear and at what depth).
  • Where the docs live: repo Markdown, Notion or Confluence (changes headings, links and how much goes in one page).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Quick Start Workflow

The scripts gather facts. onboarding_generator.py --format markdown turns them into a draft guide: sections the repo can answer (README summary, stack, declared run commands, env variables, entry points, layout) are filled in, and everything it cannot know is a > **TODO (owner):** line. The finished guide is yours: replace every TODO from reading the code and asking the owners, using the templates in references/documentation-templates.md.

# 1. Facts report: stack, frameworks, entry points, key files, file-type spread
#    (manifests first; without one it counts source files by extension)
python scripts/onboarding_generator.py /path/to/project
#    Draft guide with TODO placeholders (sample: package.json scripts, .env keys, README summary)
python scripts/onboarding_generator.py assets/sample_project --format markdown > /tmp/ONBOARDING.md

# 2. Architecture patterns and layers by directory, with dependency hints
python scripts/architecture_mapper.py /path/to/project --json

# 3. Setup completeness: README, .env template, lockfile, CI, lint config, tests, licence; 0-100 score
python scripts/setup_validator.py /path/to/project

Tools Overview

Tool Gives you Use it for
onboarding_generator.py Stack, frameworks, entry points, key files, top-level dirs, package.json scripts, Makefile targets, env-template keys, README summary; --format text|json|markdown The draft guide (markdown) and the key file map
architecture_mapper.py Detected pattern (monorepo, microservices, MVC, layered) and per-directory layer roles The architecture overview and its diagram
setup_validator.py Pass/warn/fail on README, .env template, lockfile, CI, lint config, tests, CONTRIBUTING and LICENSE, with fixes and a health score The setup guide, and the gaps to fix before the guide is honest

All take a directory (default .) and --json. Exit codes: 0 report printed; 2 the directory does not exist. A low setup score does not change the exit code.

For an ordered reading path through the code (stop-by-stop tour), use engineering/code-tour instead; this skill produces the reference documents a newcomer keeps open.

Done when:

  1. No TODO (owner) line is left in the guide.
  2. A newcomer can go fr
Полный SKILL.md на GitHub

Установить codebase-onboarding в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/sample_project/.env.exampleassets/sample_project/README.mdassets/sample_project/package.jsonassets/sample_project/src/index.tsreferences/documentation-templates.mdreferences/fact-gathering-and-patterns.mdreferences/quality-and-best-practices.mdscripts/architecture_mapper.pyscripts/onboarding_generator.pyscripts/setup_validator.py

FAQ

Что делает скилл codebase-onboarding?

Gathers facts about a codebase (stack, layers, entry points, setup gaps) and turns them into onboarding docs: architecture overview, file map, setup guide, debugging guide. Use when onboarding engineers or re-documenting after a refactor.

Как установить скилл codebase-onboarding?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл codebase-onboarding запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить codebase-onboarding с