/engineering-advanced-skills:codebase-onboardingfrom engineering-advanced-skills
Analyzes a codebase to generate onboarding documentation: architecture overview, file map, setup guide, debugging guide, and runbooks. Supports Markdown, Notion, and Confluence output.
Ships in engineering-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
git clone-to-tests steps, env-var docs, infra setup (Docker/DB/cache), and a verification checklist.Keywords: codebase onboarding, developer experience, documentation, architecture overview, setup guide, debugging guide, contribution guidelines, code walkthrough, new hire onboarding
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.
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.
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
| 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:
TODO (owner) line is left in the guide.setup_validator.py reports are fixed or listed as known issues.Mistake: Pasting the scripts' output as the onboarding guide. Why it happens: It looks complete and took seconds. Instead: Use the output as a checklist of facts to confirm, then read the entry points and write the guide in plain language.
Mistake: Setup steps written from memory, missing the one environment variable everyone already has. Why it happens: The author's machine has been set up for years. Instead: Follow the guide in a clean container or fresh checkout and fix every step that fails.
Mistake: A key file map with two hundred entries. Why it happens: Completeness feels safer than choosing. Instead: List the ten to twenty files a newcomer touches in the first week, each with one line on why it matters.
scripts/onboarding_generator.py, scripts/architecture_mapper.py, scripts/setup_validator.py — the three fact-gathering CLIs above.assets/sample_project/ — small Node service (package.json scripts, .env.example, README) for the draft-guide demo.references/ — fact-gathering commands and pattern table, document templates, quality checklist.Load the reference that matches the task — keep this file lean and pull detail on demand:
This skill covers:
This skill does NOT cover:
engineering/changelog-generator for release-oriented docs or engineering/api-design-reviewer for API qualityengineering/ci-cd-pipeline-builder for pipeline automationengineering/skill-security-auditor for security auditingengineering/runbook-generator for operational runbooksengineering/code-tour — a guided, ordered walk through the code for a first read.engineering/runbook-generator — production runbooks beyond onboarding tasks.engineering/ci-cd-pipeline-builder — fix CI gaps that setup_validator.py reports.assets/sample_project/README.md (opens in a new tab)assets/sample_project/package.json (opens in a new tab)assets/sample_project/src/index.ts (opens in a new tab)assets/sample_project/tests/orders.test.ts (opens in a new tab)references/documentation-templates.md (opens in a new tab)references/fact-gathering-and-patterns.md (opens in a new tab)references/quality-and-best-practices.md (opens in a new tab)scripts/architecture_mapper.py (opens in a new tab)scripts/onboarding_generator.py (opens in a new tab)scripts/setup_validator.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
onboarding, documentation, architecture, runbooks, developer-experience
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
Other plugins' skills for the same job