Skip to content
Skills Library
Programming · Learning & explanation

onboard

/onboard

Deep project onboarding that deploys a team of specialized agents to explore any codebase and generate comprehensive, didactic markdown documentation with Mermaid diagrams. Use this skill whenever starting work on an unfamiliar project, joining a new team, needing to understand a codebase before a refactor, or when asked to "onboard me", "explore this codebase", "document the project", "understand how this works", "map the architecture", "help me get up to speed", or "generate project docs". Goes far beyond /init — produces interconnected documents covering architecture, data flows, design pat

Repository
skills ↗
Licence
MIT
Last repository change
13.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
7
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 13.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Deep project onboarding that deploys a team of specialized agents to explore any codebase and generate comprehensive, didactic markdown documentation with Mermaid diagrams. Use this skill whenever starting work on an unfamiliar project, joining a new team, needing to understand a codebase before a refactor, or when asked to "onboard me", "explore this codebase", "document the project", "understand how this works", "map the architecture", "help me get up to speed", or "generate project docs". Goes far beyond /init — produces interconnected documents covering architecture, data flows, design pat

Triggers from the description

onboard meexplore this codebasedocument the projectunderstand how this worksmap the architecturehelp me get up to speedgenerate project docs
Original author description

Deep project onboarding that deploys a team of specialized agents to explore any codebase and generate comprehensive, didactic markdown documentation with Mermaid diagrams. Use this skill whenever starting work on an unfamiliar project, joining a new team, needing to understand a codebase before a refactor, or when asked to "onboard me", "explore this codebase", "document the project", "understand how this works", "map the architecture", "help me get up to speed", or "generate project docs". Goes far beyond /init — produces interconnected documents covering architecture, data flows, design pat

How it works

  1. Output
  2. Step 1: Quick Scan
  3. Step 2: Existing Onboarding Check
  4. Step 3: Locate and Read Reference Files
  5. Step 4: Deploy Agents in Parallel
  6. Step 5: Generate Index
  7. Step 6: Report
  8. Agent Roster
  9. Diagram Guidelines
  10. Quality Standards
Original SKILL.md headings · 151 lines, 948 words
SKILL.md preview
---
name: onboard
description: Deep project onboarding that deploys a team of specialized agents to explore any codebase and generate comprehensive, didactic markdown documentation with Mermaid diagrams. Use this skill whenever starting work on an unfamiliar project, joining a new team, needing to understand a codebase before a refactor, or when asked to "onboard me", "explore this codebase", "document the project", "understand how this works", "map the architecture", "help me get up to speed", or "generate project docs". Goes far beyond /init — produces interconnected documents covering architecture, data flows, design patterns, directory structure, and component hierarchies with rich diagrams. Always invoke this skill when the user is orienting themselves to a new project.
---

# Project Onboarding Skill

Deploys a team of specialized agents — each focused on a different lens — to explore a codebase and generate interconnected markdown documents with Mermaid diagrams. All agents run in parallel. Each owns one output file.

## Output

All files land in `.claude/onboarding/` at the project root:

| File | Agent | Contents |
|------|-------|----------|
| `index.md` | Coordinator (you) | Navigation hub, summary, reading order |
| `overview.md` | Scope Scout | Project purpose, tech stack, entry points, context diagram |
| `architecture.md` | Architecture Mapper | Module map, layers, boxes-and-arrows diagram |
| `structure.md` | Structure Guide | Annotated directory tree, naming conventions |
| `flows.md` | Flow Analyst | All data flows as sequence diagrams |
| `patterns.md` | Pattern Detective | Design patterns, conventions, code examples |
| `components.md` | UI Explorer | Component hierarchy, state machines (frontend only) |

---

## Step 1: Quick Scan

Before deploying agents, spend 60 seconds scanning the project root to determine:
- **Project type**: frontend / backend / fullstack / CLI / library
- **Language and framework**: check `package.json`, `Gemfile`, `pyproject.toml`, `go.mod`, etc.
- **Frontend presence**: does `src/components/`, `app/`, `pages/`, or similar frontend structure exist?
- **RSC usage**: grep for `'use client'` — if found, the project uses React Server Components and agents should document the server/client boundary
- **Existing onboarding**: does `.claude/onboarding/` already exist?

Use this context to build agent prompts and decide whether to include the UI Explorer.

## Step 2: Existing Onboarding Check

If `.claude/onboarding/index.md` already exists:
1. Read it to understand what was previously documented
2. Ask the user: "Onboarding docs already exist from a previous run. Do you want to: (a) full refresh — overwrite everything, (b) targeted update — pick specific agents to rerun, or (c) keep what's there?"
3. If updating, pass the existing doc content to agents as context so they can build on or revise it

## Step 3: Locate and Read Reference Files

This skill's agent playbooks live in `references/` alongside this SKILL.md. Find them with:

```
Glob: **/skills/onboard/references/*.md
```

Read each reference file you'll need before dispatching agents. You'll pass the contents of each reference file as that agent's prompt, combined with:
- The absolute project root path
- The absolute output file path (`.claude/onboarding/<file>.md`)
- The project context from Step 1 (language, framework, type, RSC usage)
- Any existing onboarding content (if doing a targeted update)

## Step 4: Deploy Agents in Parallel

**If `TeamCreate` is available:**

1. Create a team: `team_name: "onboarding", description: "Codebase onboarding run"`
2. Create a task per agent via TaskCreate
3. Spawn each agent via the Agent tool with `team_name: "onboarding"` and a `name` for each
4. Assign tasks to agents via TaskUpdate with `owner`
5. Wait for all agents to complete (they notify you via SendMessage when done)
6. Send `shutdown_request` to each teammate via SendMessage

**If `TeamCreate` is NOT available:**

Dispatch all agents in a **single response** using multiple Agent tool calls — one per role. All run concurrently. Wait for all to complete before proceeding to Step 5.

For both paths, include the frontend `ui-explorer` agent only if the project has frontend code (Step 1 finding).

## Step 5: Generate Index

After all agents complete, write `.claude/onboarding/index.md`:

```markdown
# [Project Name] — Onboarding Guide

> Generated by Claude Code on [date]. Run `/react-dev:onboard` to refresh.

## Quick Summary

[2-3 sentences describing what this project is, what it does, and who uses it.]

## Documents

| Document | What it covers |
|----------|----------------|
| [Overview](./overview.md) | Purpose, tech stack, entry points |
| [Architecture](./architecture.md) | System design, module relationships |
| [Structure](./structure.md) | Directory guide, naming conventions |
| [Flows](./flows.md) | All data flows as sequence diagrams |
| [Patterns](./patterns.md) | Design patterns and conventions |
| [Components](./components.md) | UI component hierarchy and state machines | ← only include this row if the project has frontend code

## Suggested Reading Order

1. **Overview** — understand what this is and why it exists
2. **Architecture** — see how the major pieces fit together
3. **Structure** — learn to navigate the filesystem
4. **Flows** — trace how data moves end-to-end
5. **Patterns** — learn the conventions so your code fits in
6. **Components** — (frontend) map the UI structure
```

## Step 6: Report

After all files are written, tell the user:
- Which files were generated and their paths
- Any notable findings (unusual patterns, surprising complexity, etc.)
- Suggested areas for a deeper dive

---

## Agent Roster

| Agent Name | Reference File | Output File |
|------------|---------------|-------------|
| scope-scout | `references/scope-scout.md` | `overview.md` |
| architecture-mapper | `references/architecture-mapper.md` | `architecture.md` |
| structure-guide | `references/structure-guide.md` | `structure.md` |
| flow-analyst | `references/flow-analyst.md` | `flows.md` |
| pattern-detective | `references/pattern-detective.md` | `patterns.md` |
| ui-explorer | `references/ui-explorer.md` | `components.md` *(frontend only)* |

---

## Diagram Guidelines

Match diagram type to purpose — use Mermaid generously across all documents:

| Purpose | Mermaid Type |
|---------|-------------|
| System context / overview | `graph TD` |
| Module / layer relationships | `graph LR` |
| API calls, data flows | `sequenceDiagram` |
| Complex component state | `stateDiagram-v2` |
| Database schema | `erDiagram` |
| Decision / branching logic | `flowchart TD` |

Keep diagrams focused — 5-12 nodes. Split large systems into multiple focused diagrams.

---

## Quality Standards

Every document must be:
- **Didactic**: explain *why*, not just *what*. A new developer should understand the reasoning.
- **Navigable**: headers, tables, and cross-links to related onboarding docs.
- **Accurate**: document only what exists in the code. Do not speculate.
- **Concrete**: include real file paths, function names, and short illustrative code snippets.
Files in this package (7)
  • SKILL.md 7 KB
  • references/architecture-mapper.md 3 KB
  • references/flow-analyst.md 3 KB
  • references/pattern-detective.md 6 KB
  • references/scope-scout.md 2 KB
  • references/structure-guide.md 3 KB
  • references/ui-explorer.md 6 KB

Versions

RepositoryScoreLicence
This page · thoughtbot/skills100MIT
qualcomm/ai-hub-models100BSD-3-Clause
A7-studio/jobmigo100MIT
understudylabs/understudy-agent-tools100MIT
ai-answer/contentrepurposesystem100MIT
andryorelabs/jobship100MIT
cookys/autopilot100MIT
davepoon/buildwithclaude100MIT
juanchaopan/dev-workflow100MIT

Database snapshot: 13.11.2026 · package version 36a18b47e195 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90understand-onboard
    Use when you need to generate an onboarding guide for new team members joining a project
  • 100understand-onboard
    Use when you need to generate an onboarding guide for new team members joining a project
  • 100explore-codebase
    Performs in-depth codebase exploration at the start of a coding session. Builds comprehensive understanding of project structure, architecture, key components, and patterns. Use when starting a new session, when asked to understand or explore the codebase, when asked "what does…
  • 100codebase-onboarding
    Analyze an unfamiliar codebase and generate a structured onboarding guide with architecture map, key entry points, conventions, and a starter AGENTS.md. Use when joining a new project or setting up Claude Code for the first time in a repo.
  • 100c4-architecture
    Generate architecture documentation using C4 model Mermaid diagrams. Use when asked to create architecture diagrams, document system architecture, visualize software structure, or generate context/container/component/deployment diagrams.
  • 100codebase-onboarding
    Use this skill when the user asks to \"explore this codebase\", \"understand this repo\", \"map the architecture\", \"review our stack\", \"get up to speed\", \"break ground\" on an unfamiliar project or research field, \"what is the state of this project\", \"audit the…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.