| name | codebase-onboard |
| description | Use when asked to understand, tour, or onboard to a codebase. Triggers on: 'onboard', 'explain codebase', 'walk me through the code', 'new to this project', 'codebase overview', 'how is this structured', 'give me a tour', 'tổng quan codebase', 'giải thích project', 'entry point', 'where to start reading'. |
Codebase Onboard Skill
Source: Lum1104/Understand-Anything (MIT) — 6-agent pipeline pattern adapted for YAMTAM
Tier: TIER 3 — PRODUCTIVITY
Tạo guided tour của codebase bằng pipeline 4 bước tuần tự.
Không đọc tất cả file — đọc đúng file, đúng thứ tự, đủ để hiểu.
Pipeline (sequential — mỗi bước dùng output của bước trước)
Step 1: project-scanner → structure map + entry points
Step 2: architecture-analyzer → patterns + key abstractions + data flow
Step 3: dependency-mapper → internal call graph + external deps
Step 4: tour-builder → guided narrative + reading order
Khi nào dùng
- Người mới vào project lần đầu
- Claude Code session mới trên repo chưa quen
- "What is this codebase / where do I start?"
- Onboard agent mới vào YAMTAM workflow
Do NOT use for: debugging cụ thể, code review, refactor. Dùng /debug hoặc /code-review.
Step 1 — Project Scanner
Mục tiêu: Map cấu trúc thư mục + tìm entry points thực sự (không đoán).
find . -maxdepth 2 -not -path '*/node_modules/*' -not -path '*/.git/*' \
-not -path '*/.claude/*' | sort | head -80
grep -r package.json 2>/dev/null | -10
find . -name -o -name -o -name 2>/dev/null | -5
find . -maxdepth 2 -name -perm /111 2>/dev/null | -10
-la .* tsconfig* pyproject* Makefile Dockerfile* 2>/dev/null
find . -not -path -not -path \
-name -o -name -o -name -o -name \
| sed | | -c | -rn | -10