Skip to content
Skill

Codebase onboarding

Maps an unfamiliar codebase and drafts an onboarding guide and starter CLAUDE.md

Codebase onboarding is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
66
Last commit
License
MIT
Listing updated

Similar skills

About Codebase onboarding

This skill walks the agent through a structured survey of a repository it has not seen before. It starts with cheap reconnaissance: detecting package manifests, framework config files, entry points, a shallow directory snapshot, lint and CI tooling, and test layout, using search rather than reading every file. From those signals the agent works out the tech stack, architecture pattern, key directories and how a single request flows from entry point to database.

The workflow then looks for conventions the code already follows, covering file and test naming, error handling, async style and, when history is deep enough, branch, commit and pull request habits. It is meant to produce two artifacts: a scannable onboarding guide with tables of stack, entry points and common commands, and a concise project CLAUDE.md. If a CLAUDE.md already exists, the skill directs the agent to read it first and extend it while marking what changed.

No scripts are bundled; the skill relies on the agent's own file search and reading tools. It is written for Claude Code, and it assumes a local checkout of the project to analyze.

When your agent uses it

Analyze an unfamiliar codebase and generate a structured onboarding guide with architecture map, key entry points, conventions, and a starter CLAUDE.md. Use when joining a new project or setting up Claude Code for the first time in a repo.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (8 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath

Or copy only this skill to ~/.claude/skills/codebase-onboarding:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/codebase-onboarding &&
cp -R "$tmp/.agents/skills/codebase-onboarding" ~/.claude/skills/codebase-onboarding &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/codebase-onboarding inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/codebase-onboarding to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/codebase-onboarding &&
cp -R "$tmp/.agents/skills/codebase-onboarding" ~/.agents/skills/codebase-onboarding &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/codebase-onboarding inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/codebase-onboarding to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/codebase-onboarding &&
cp -R "$tmp/.agents/skills/codebase-onboarding" ~/.cursor/skills/codebase-onboarding &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/codebase-onboarding inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/codebase-onboarding

Or copy the folder to ~/.gemini/skills/codebase-onboarding yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/codebase-onboarding:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/codebase-onboarding &&
cp -R "$tmp/.agents/skills/codebase-onboarding" ~/.copilot/skills/codebase-onboarding &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/codebase-onboarding inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git

Then copy REA_Skill/.agents/skills/codebase-onboarding into your agent's skills folder as codebase-onboarding. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Reconnaissance sweep
Detects manifests, framework configs, entry points, CI files and test setup using targeted searches.
Architecture mapping
Identifies the tech stack, architecture style, key directories and request data flow.
Convention detection
Notes naming, error handling, async patterns and git habits the codebase already follows.
Onboarding guide output
Produces a structured guide with stack tables, entry points, common commands and a where-to-look table.
Starter CLAUDE.md
Drafts a concise project instructions file, or extends an existing one and flags the additions.

Good for

  • Onboard me to this repository before my first change
  • Generate a CLAUDE.md for a project that has none
  • Update CLAUDE.md with the conventions the code currently follows
  • Explain how a request moves through this codebase
  • Set up Claude Code for the first time in an existing repo

Codebase onboarding FAQ

What does the skill create?

An onboarding guide covering stack, architecture, entry points, conventions and common tasks, plus a starter CLAUDE.md written to the project root.

What happens if a CLAUDE.md already exists?

The skill reads the existing file first, keeps project-specific instructions and marks what it added or changed.

Does Codebase onboarding run any scripts?

No. The skill bundles no scripts and works through the agent's search and file reading.

What if the git history is shallow?

The skill skips git convention detection and notes that history was unavailable or too shallow.

How do I install Codebase onboarding in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/codebase-onboarding to use it in all your projects, or to .claude/skills/codebase-onboarding in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

Does Codebase onboarding run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Codebase onboarding?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Codebase onboarding?

The closest alternatives to Codebase onboarding are How, Acquire codebase knowledge, Setup repo skills, Agent hub init and Repo recon.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from smartworldarafath/REA_Skill

  1. Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android

    • Open source
    • 66 GitHub stars
    • Developer tools
  2. Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity

    • Open source
    • 66 GitHub stars
    • Developer tools
  3. Compare coding agents head-to-head on your own tasks by pass rate, cost and time

    • Open source
    • 66 GitHub stars
    • Developer tools
  4. Guides an agent to design tool sets, observations and error recovery for better completion

    • Open source
    • 66 GitHub stars
    • Developer tools
  5. Lets an AI agent make x402 payments within per-task budgets and spending policies

    • Open source
    • 66 GitHub stars
    • Finance and payments