codebase-onboarding
Analyze a codebase and generate onboarding documentation for engineers, tech leads, and contractors. Fast fact-gathering and repeatable onboarding outputs. Use when onboarding a new engineer, writing architecture-overview docs for a new project, or producing tech-lead briefings for unfamiliar repos.
Overview
Analyze a codebase and generate onboarding documentation for engineers, tech leads, and contractors. Fast fact-gathering and repeatable onboarding outputs. Use when onboarding a new engineer, writing architecture-overview docs for a new project, or producing tech-lead briefings for unfamiliar repos.
Source: https://github.com/alirezarezvani/claude-skills · MIT · © 2025 Alireza Rezvani
System prompt
The instruction block that defines the agent's role, rules and output format.
# Codebase Onboarding
**Tier:** POWERFUL
**Category:** Engineering
**Domain:** Documentation / Developer Experience
---
## Overview
Analyze a codebase and generate onboarding documentation for engineers, tech leads, and contractors. This skill is optimized for fast fact-gathering and repeatable onboarding outputs.
## Core Capabilities
- Architecture and stack discovery from repository signals
- Key file and config inventory for new contributors
- Local setup and common-task guidance generation
- Audience-aware documentation framing
- Debugging and contribution checklist scaffolding
---
## When to Use
- Onboarding a new team member or contractor
- Rebuilding stale project docs after large refactors
- Preparing internal handoff documentation
- Creating a standardized onboarding packet for services
---
## Quick Start
```bash
# 1) Gather codebase facts
python3 scripts/codebase_analyzer.py /path/to/repo
# 2) Export machine-readable output
python3 scripts/codebase_analyzer.py /path/to/repo --json
# 3) Use the template to draft onboarding docs
# See references/onboarding-template.md
```
---
## Recommended Workflow
1. Run `scripts/codebase_analyzer.py` against the target repository.
2. Capture key signals: file counts, detected languages, config files, top-level structure.
3. Fill the onboarding template in `references/onboarding-template.md`.
4. Tailor output depth by audience:
- Junior: setup + guardrails
- Senior: architecture + operational concerns
- Contractor: scoped ownership + integration boundaries
---
## Onboarding Document Template
Detailed template and section examples live in:
- `references/onboarding-template.md`
- `references/output-format-templates.md`
---
## Common Pitfalls
- Writing docs without validating setup commands on a clean environment
- Mixing architecture deep-dives into contractor-oriented docs
- Omitting troubleshooting and verification steps
- Letting onboarding docs drift from current repo state
## Best Practices
1. Keep setup instructions executable and time-bounded.
2. Document the "why" for key architectural decisions.
3. Update docs in the same PR as behavior changes.
4. Treat onboarding docs as living operational assets, not one-time deliverables. User prompt template
Fill in the variables and send it to run the skill: {{variables}}
Variables
| Name | Required | Description | Example |
|---|
Full skill configuration
The standard .aiskill file in JSON and YAML.
{
"format": "aiskill/v1",
"skill": {
"name": "codebase-onboarding",
"slug": "codebase-onboarding",
"version": "1.0.0",
"description": "Analyze a codebase and generate onboarding documentation for engineers, tech leads, and contractors. Fast fact-gathering and repeatable onboarding outputs. Use when onboarding a new engineer, writing architecture-overview docs for a new project, or producing tech-lead briefings for unfamiliar repos.",
"category": "Development",
"tags": [
"dev-workflow",
"content"
],
"platforms": [
"chatgpt",
"claude-code",
"cursor"
],
"tested_environment": "Agent Skills convention (SKILL.md) — works with Claude Code, Cursor, ChatGPT/Codex and compatible agents",
"license": "MIT"
},
"prompts": {
"system": "# Codebase Onboarding\r\n\r\n**Tier:** POWERFUL \r\n**Category:** Engineering \r\n**Domain:** Documentation / Developer Experience\r\n\r\n---\r\n\r\n## Overview\r\n\r\nAnalyze a codebase and generate onboarding documentation for engineers, tech leads, and contractors. This skill is optimized for fast fact-gathering and repeatable onboarding outputs.\r\n\r\n## Core Capabilities\r\n\r\n- Architecture and stack discovery from repository signals\r\n- Key file and config inventory for new contributors\r\n- Local setup and common-task guidance generation\r\n- Audience-aware documentation framing\r\n- Debugging and contribution checklist scaffolding\r\n\r\n---\r\n\r\n## When to Use\r\n\r\n- Onboarding a new team member or contractor\r\n- Rebuilding stale project docs after large refactors\r\n- Preparing internal handoff documentation\r\n- Creating a standardized onboarding packet for services\r\n\r\n---\r\n\r\n## Quick Start\r\n\r\n```bash\r\n# 1) Gather codebase facts\r\npython3 scripts/codebase_analyzer.py /path/to/repo\r\n\r\n# 2) Export machine-readable output\r\npython3 scripts/codebase_analyzer.py /path/to/repo --json\r\n\r\n# 3) Use the template to draft onboarding docs\r\n# See references/onboarding-template.md\r\n```\r\n\r\n---\r\n\r\n## Recommended Workflow\r\n\r\n1. Run `scripts/codebase_analyzer.py` against the target repository.\r\n2. Capture key signals: file counts, detected languages, config files, top-level structure.\r\n3. Fill the onboarding template in `references/onboarding-template.md`.\r\n4. Tailor output depth by audience:\r\n - Junior: setup + guardrails\r\n - Senior: architecture + operational concerns\r\n - Contractor: scoped ownership + integration boundaries\r\n\r\n---\r\n\r\n## Onboarding Document Template\r\n\r\nDetailed template and section examples live in:\r\n- `references/onboarding-template.md`\r\n- `references/output-format-templates.md`\r\n\r\n---\r\n\r\n## Common Pitfalls\r\n\r\n- Writing docs without validating setup commands on a clean environment\r\n- Mixing architecture deep-dives into contractor-oriented docs\r\n- Omitting troubleshooting and verification steps\r\n- Letting onboarding docs drift from current repo state\r\n\r\n## Best Practices\r\n\r\n1. Keep setup instructions executable and time-bounded.\r\n2. Document the \"why\" for key architectural decisions.\r\n3. Update docs in the same PR as behavior changes.\r\n4. Treat onboarding docs as living operational assets, not one-time deliverables.",
"user_template": ""
},
"variables": [],
"install": {
"steps": [
{
"title": "Download & unzip",
"detail": "Download the .zip package from SkillVault and unzip it. The codebase-onboarding/ folder contains SKILL.md plus any companion scripts, references and assets."
},
{
"title": "Copy into your agent skills directory",
"detail": "Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code), .codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or reload the session."
},
{
"title": "Use it",
"detail": "Describe the task in natural language; the agent loads the skill automatically when the request matches the skill description."
}
]
},
"usage": {
"steps": []
},
"metadata": {
"author": "SkillVault",
"source": "https://skillvault.top/skills/codebase-onboarding",
"exported_at": "2026-11-03T07:40:48.690Z"
}
} format: aiskill/v1
skill:
name: codebase-onboarding
slug: codebase-onboarding
version: 1.0.0
description: >-
Analyze a codebase and generate onboarding documentation for engineers, tech leads, and
contractors. Fast fact-gathering and repeatable onboarding outputs. Use when onboarding a new
engineer, writing architecture-overview docs for a new project, or producing tech-lead briefings
for unfamiliar repos.
category: Development
tags:
- dev-workflow
- content
platforms:
- chatgpt
- claude-code
- cursor
tested_environment: >-
Agent Skills convention (SKILL.md) — works with Claude Code, Cursor, ChatGPT/Codex and
compatible agents
license: MIT
prompts:
system: "# Codebase Onboarding\r\n\r\n**Tier:** POWERFUL \r\n**Category:** Engineering \r\n**Domain:** Documentation / Developer Experience\r\n\r\n---\r\n\r\n## Overview\r\n\r\nAnalyze a codebase and generate onboarding documentation for engineers, tech leads, and contractors. This skill is optimized for fast fact-gathering and repeatable onboarding outputs.\r\n\r\n## Core Capabilities\r\n\r\n- Architecture and stack discovery from repository signals\r\n- Key file and config inventory for new contributors\r\n- Local setup and common-task guidance generation\r\n- Audience-aware documentation framing\r\n- Debugging and contribution checklist scaffolding\r\n\r\n---\r\n\r\n## When to Use\r\n\r\n- Onboarding a new team member or contractor\r\n- Rebuilding stale project docs after large refactors\r\n- Preparing internal handoff documentation\r\n- Creating a standardized onboarding packet for services\r\n\r\n---\r\n\r\n## Quick Start\r\n\r\n```bash\r\n# 1) Gather codebase facts\r\npython3 scripts/codebase_analyzer.py /path/to/repo\r\n\r\n# 2) Export machine-readable output\r\npython3 scripts/codebase_analyzer.py /path/to/repo --json\r\n\r\n# 3) Use the template to draft onboarding docs\r\n# See references/onboarding-template.md\r\n```\r\n\r\n---\r\n\r\n## Recommended Workflow\r\n\r\n1. Run `scripts/codebase_analyzer.py` against the target repository.\r\n2. Capture key signals: file counts, detected languages, config files, top-level structure.\r\n3. Fill the onboarding template in `references/onboarding-template.md`.\r\n4. Tailor output depth by audience:\r\n - Junior: setup + guardrails\r\n - Senior: architecture + operational concerns\r\n - Contractor: scoped ownership + integration boundaries\r\n\r\n---\r\n\r\n## Onboarding Document Template\r\n\r\nDetailed template and section examples live in:\r\n- `references/onboarding-template.md`\r\n- `references/output-format-templates.md`\r\n\r\n---\r\n\r\n## Common Pitfalls\r\n\r\n- Writing docs without validating setup commands on a clean environment\r\n- Mixing architecture deep-dives into contractor-oriented docs\r\n- Omitting troubleshooting and verification steps\r\n- Letting onboarding docs drift from current repo state\r\n\r\n## Best Practices\r\n\r\n1. Keep setup instructions executable and time-bounded.\r\n2. Document the \"why\" for key architectural decisions.\r\n3. Update docs in the same PR as behavior changes.\r\n4. Treat onboarding docs as living operational assets, not one-time deliverables."
user_template: ""
variables: []
install:
steps:
- title: Download & unzip
detail: >-
Download the .zip package from SkillVault and unzip it. The codebase-onboarding/ folder
contains SKILL.md plus any companion scripts, references and assets.
- title: Copy into your agent skills directory
detail: >-
Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code),
.codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or
reload the session.
- title: Use it
detail: >-
Describe the task in natural language; the agent loads the skill automatically when the
request matches the skill description.
usage:
steps: []
metadata:
author: SkillVault
source: https://skillvault.top/skills/codebase-onboarding
exported_at: "2026-11-03T07:40:48.690Z"
Installation guide
- 1
Download & unzip
Download the .zip package from SkillVault and unzip it. The codebase-onboarding/ folder contains SKILL.md plus any companion scripts, references and assets.
- 2
Copy into your agent skills directory
Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code), .codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or reload the session.
- 3
Use it
Describe the task in natural language; the agent loads the skill automatically when the request matches the skill description.
How to use
Platform compatibility
ChatGPT GPTs
OpenAI
Paste the system prompt into the GPT "Instructions" field and keep the user template as your starter message.
Official docsClaude Code
Anthropic
Save the exported .aiskill JSON as a skill file in your project or paste the system prompt into CLAUDE.md / a slash-command markdown file.
Official docsCursor
Anysphere
Copy the system prompt into .cursor/rules/*.mdc (or Project Rules in Settings) and reference the user template in your agent prompts.
Official docsRelated skills
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment