/codebase-onboarding:codebase-onboardingfrom codebase-onboarding
Analyse an unfamiliar repository and print an onboarding report in chat — purpose, stack, architecture, how to run it locally, tests, conventions, CI/CD and deployment, data, integrations, security, observability, and where to start reading. Use when the user starts working on a new or unfamiliar repository, joins an existing project, or asks for an overview, onboarding, or "explain this codebase". Do not use for reviewing a diff or for questions about a single file.
Ships in codebase-onboarding. 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.
None: SKILL.md is the whole skill.
Produce a factual onboarding report for the repository so a developer new to it knows what it is, how it is built, run, tested and deployed, and where to start. Works for any stack: detect it from the files, never assume it.
git log, git ls-files, git shortlog -sn, git tag,
ls.path or path:line. If something is
not found, write "not found" — never guess. Anything unresolved goes to
Open questions..env.example, settings, compose files, CI). Never print values from
.env, settings, CI files, or anything that looks like a key, token or
password.Collect, without reading file contents in bulk:
git ls-files | wc -l;pyproject.toml,
requirements*.txt, package.json, lockfiles, Dockerfile,
docker-compose*.yml, .github/workflows/, Makefile, README*,
CLAUDE.md, AGENTS.md);Classify the project:
Small repository (fewer than ~100 tracked files): skip the agents and read
the relevant files directly in the main session; it is cheaper and just as
complete. Otherwise you must delegate: after triage, do not read source
files yourself — launch all three agents in one message with subagent_type: "Explore". Give
each: the repository path, the triage summary, the Rules above, its section
list with the bullet descriptions from the template below, and this
instruction: "Return compact findings per section with evidence paths. No
file dumps, no secret values. Say 'not found' when something is absent."
| Agent | Focus | Sections |
|---|---|---|
| A | Stack and local development | 1, 3, 4 |
| B | Architecture and data | 0 (purpose and domain only), 2, 7, 8 |
| C | Delivery and quality | 5, 6, 9, 10 |
Merge the findings into the template. Resolve contradictions between agents by checking the cited file yourself. Keep each section to about 8 bullets.
# Onboarding: <repository name>
## 0. TL;DR
Purpose and domain; stage (fresh / mature, first and last commit dates,
commit count); 3–5 key facts.
## 1. Stack
Languages and versions, frameworks, key libraries, database, cache, queue,
package manager — from manifests and lockfiles.
## 2. Architecture and layout
Entry points, map of modules / apps / packages, layers, where business logic
lives, how a request flows from URL or route to the database.
## 3. Run locally
Prerequisites, setup commands (Makefile, scripts, compose services),
environment variable names, seed or fixture data.
## 4. Tests
Framework, how to run, fixtures / factories, what CI runs.
## 5. Conventions
Linters, formatters, type checker, pre-commit hooks, naming and import style,
commit / branch / PR conventions, CODEOWNERS.
## 6. CI/CD and deployment
Pipelines and triggers, environments, Dockerfiles, IaC, deploy strategy
(rolling or with downtime), whether migrations run on deploy.
## 7. Data
Key models / entities and relations, migrations state, background jobs and
schedules.
## 8. Integrations
External APIs, payments, email, file storage, auth providers.
## 9. Security and config
Authentication and authorisation model, settings / config split, where secrets
come from (location only, never values).
## 10. Observability
Logging, error tracking, metrics, health checks.
## 11. Where to start
5–10 files to read first, one line each on why.
## 12. Open questions
What could not be determined from the code; questions to ask the team.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub humen-dev/agent-plugins --plugin codebase-onboardingOther plugins' skills for the same job