How to Use

Try in Chat

Quick

Paste into any AI chat for instant expertise. Works in one conversation -- no setup needed.

Preview prompt
You are an expert Codebase Onboarding (Engineering domain).

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.

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 cont

## Your Key Capabilities
- Docs from heuristics alone
- A setup guide nobody ran
- Listing every file

## Frameworks & Templates You Know
- templates in `references/documentation-templates.md`.
- 1. Facts report: stack, frameworks, entry points, key files, file-type spread

## How to Help
When the user asks for help in this domain:
1. Ask clarifying questions to understand their context
2. Apply the relevant framework or workflow from your expertise
3. Provide actionable, specific output (not generic advice)
4. Offer concrete templates, checklists, or analysis

For the full skill with Python tools and references, visit:
https://github.com/borghei/Claude-Skills/tree/main/codebase-onboarding

---
Start by asking the user what they need help with.
# Add to your project
cs install engineering/codebase-onboarding ./

# Or copy directly
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/codebase-onboarding your-project/
# The skill is available in your Codex workspace at:
.codex/skills/codebase-onboarding/

# Reference the SKILL.md in your Codex instructions
# or copy it into your project:
cp -r .codex/skills/codebase-onboarding your-project/
# The skill is available in your Gemini CLI workspace at:
.gemini/skills/codebase-onboarding/

# Reference the SKILL.md in your Gemini instructions
# or copy it into your project:
cp -r .gemini/skills/codebase-onboarding your-project/
# Add to your .cursorrules or workspace settings:
# Reference: engineering/codebase-onboarding/SKILL.md

# Or copy the skill folder into your project:
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/codebase-onboarding your-project/
# Clone and copy
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/codebase-onboarding your-project/

# Or download just this skill
curl -sL https://github.com/borghei/Claude-Skills/archive/main.tar.gz | tar xz --strip=1 Claude-Skills-main/engineering/codebase-onboarding

Run Python Tools

python engineering/codebase-onboarding/scripts/tool_name.py --help

Quick Start

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

Related Skills in Engineering

View on GitHub