Codebase Onboarding
This is a Hermes-native codebase-onboarding workflow skill.
Why This Exists
codebase-onboarding adapts ECC's code-tour and onboarding surfaces into an OMH-native first-read workflow so unfamiliar repos become navigable before implementation pressure starts.
Do Not Use When
- The user already named a concrete implementation task and acceptance criteria; use
ultrawork or idea-to-deploy.
- The user needs a whole-workspace capability inventory; use
workspace-audit.
- The user wants a code diff review; use
code-review.
Examples
Good example:
- Prompt: codebase-onboarding 처음 보는 레포라서 구조, 주요 모듈, 테스트, 첫 작업 후보를 잡아줘.
- Expected behavior: Prepare repo_map/v1, reading_path/v1, domain_glossary/v1, risk map, and first_task_runway/v1 from observed files.
- Why: The request is repo orientation before implementation.
Bad example:
- Prompt: codebase-onboarding 파일 안 읽고 이 레포 아키텍처를 확정해줘.
- Expected behavior: Mark architecture as unobserved and inspect source evidence before making claims.
- Why: Onboarding is only useful when grounded in current repo evidence.
Completion Checklist
- The plan names goals, non-goals, assumptions, acceptance criteria, and verification shape.
- Draft recommendations, accepted decisions, and executor handoffs are separate states.
- Rejected options or unresolved tradeoffs are recorded before handoff.
Recovery Notes
- If acceptance criteria or verification are missing, route back to clarification before handoff.
- If assumptions materially affect the plan, keep them visible and avoid treating the plan as accepted.
Workflow Lane
- Current lane: Intent -> plan (
oh-my-hermes, meta-router, deep-interview, context, plan, ralplan, adversarial-consensus, codebase-onboarding, +9 more) - clarify, plan, ship, or loop goals.
- If intent belongs to another lane, hand back to
oh-my-hermes or name the adjacent workflow.
- Shared product, routing, compatibility, and evidence rules:
omh-routing/references/skill-common-rail.md.
Use When
Use when Hermes should help an operator or coding executor understand an unfamiliar repository before planning implementation.
Strong routing signals: `codebase-onboarding`, `codebase onboarding`, `repo onboarding`, `repository onboarding`, `codebase tour`, `code tour`, `new repo orientation`, `understand this repo`, `how this repo works`, `first task runway`, `개발자 온보딩`, `레포 온보딩`, `코드베이스 온보딩`, `처음 보는 레포`, `레포 구조 설명`
Catalog Metadata
Category: planning
Phase: codebase-onboarding
Hermes role: planner
Quality tier: onboarding-gated
Reasoning demand: standard
Quality bar:
- Name the audience, depth, repo root, read-only boundary, and stop condition.
- Separate observed files and commands from inferred architecture and unknowns.
- Produce a practical reading path and first-task runway rather than a flat file tour.
- Route follow-up implementation to plan, ultrawork, verification-gate, or workspace-audit as needed.
Handoff policy:
Keep codebase orientation in Hermes as prepared local context. File reads, generated maps, and first-task recommendations need observed repo evidence; code edits and executor handoffs happen only after onboarding identifies a concrete task.
Required inputs:
- repo root or supplied source context
- target audience: operator, new contributor, maintainer, or executor
- desired depth: quick map, architecture tour, first issue, or handoff pack
- known constraints such as no network, no secrets, or read-only mode
Expected outputs:
- codebase_onboarding_plan/v1
- repo_map/v1
- reading_path/v1
- domain_glossary/v1
- risk_and_unknowns_map/v1
- first_task_runway/v1
- not-evidence boundary
Artifact expectations:
- repo_map/v1 with observed directories, entrypoints, generated surfaces, tests, docs, scripts, and runtime artifacts
- reading_path/v1 ordered from product direction to architecture, core modules, tests, and operational docs
- domain_glossary/v1 with repo-specific terms, owners, artifacts, and evidence references
- first_task_runway/v1 with low-risk starter tasks, verification commands, and handoff readiness
Safety rules:
- Do not invent architecture, ownership, maturity, or runtime behavior without observed repo evidence.
- Do not mutate files, run setup, install dependencies, or dispatch an executor from onboarding alone.
- Keep onboarding findings, inferred risks, first-task suggestions, and implementation handoffs separate.
- Never expose secrets from config or environment files; record only redacted paths and risk categories.
Structural Code Search
When the target is a syntactic shape rather than a string, load omh-routing/references/structural-code-search.md before searching. If ast-grep is not on PATH, use grep/ripgrep exactly as today. Cap exploration to a few bounded, targeted queries before reading a full file, escalate to a wider query only when a bounded pass finds nothing or stays ambiguous, and stop once the target is found.
Runtime Evidence
Preferred harness for this skill: codebase-onboarding.
omh runtime record --skill codebase-onboarding --harness codebase-onboarding --status started
Record observed delegation results; otherwise return not_available or not_observed.
Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.
- Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes.
Preserve workflow intent and stop conditions; verify before claiming completion.
Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.
Shared product, compatibility, topology, memory, harness, and execution rules: omh-routing/references/skill-common-rail.md. Load it when applicable; otherwise name an unavailable capability.
1---2name: omh-codebase-onboarding3description: [omh] Hermes Codebase Onboarding workflow: create a repo map, reading path, glossary, risk map, and first-task runway for unfamiliar codebases. Use when the user says: codebase-onboarding, codebase onboarding, repo onboarding, repository onboarding, codebase tour, code tour, new repo orientation, understand this repo.4---5
6# Codebase Onboarding
7
8This is a Hermes-native `codebase-onboarding` workflow skill.
9
10## Why This Exists
11
12`codebase-onboarding` adapts ECC's code-tour and onboarding surfaces into an OMH-native first-read workflow so unfamiliar repos become navigable before implementation pressure starts.
13
14## Do Not Use When
15
16- The user already named a concrete implementation task and acceptance criteria; use `ultrawork` or `idea-to-deploy`.
17- The user needs a whole-workspace capability inventory; use `workspace-audit`.
18- The user wants a code diff review; use `code-review`.
19
20## Examples
21
22Good example:
23
24- Prompt: codebase-onboarding 처음 보는 레포라서 구조, 주요 모듈, 테스트, 첫 작업 후보를 잡아줘.
25- Expected behavior: Prepare repo_map/v1, reading_path/v1, domain_glossary/v1, risk map, and first_task_runway/v1 from observed files.
26- Why: The request is repo orientation before implementation.
27
28Bad example:
29
30- Prompt: codebase-onboarding 파일 안 읽고 이 레포 아키텍처를 확정해줘.
31- Expected behavior: Mark architecture as unobserved and inspect source evidence before making claims.
32- Why: Onboarding is only useful when grounded in current repo evidence.
33
34## Completion Checklist
35
36- The plan names goals, non-goals, assumptions, acceptance criteria, and verification shape.
37- Draft recommendations, accepted decisions, and executor handoffs are separate states.
38- Rejected options or unresolved tradeoffs are recorded before handoff.
39
40## Recovery Notes
41
42- If acceptance criteria or verification are missing, route back to clarification before handoff.
43- If assumptions materially affect the plan, keep them visible and avoid treating the plan as accepted.
44
45## Workflow Lane
46
47- Current lane: **Intent -> plan** (`oh-my-hermes`, `meta-router`, `deep-interview`, `context`, `plan`, `ralplan`, `adversarial-consensus`, `codebase-onboarding`, `+9 more`) - clarify, plan, ship, or loop goals.
48- If intent belongs to another lane, hand back to `oh-my-hermes` or name the adjacent workflow.
49- Shared product, routing, compatibility, and evidence rules: `omh-routing/references/skill-common-rail.md`.
50
51## Use When
52
53Use when Hermes should help an operator or coding executor understand an unfamiliar repository before planning implementation.
54
55 Strong routing signals: `codebase-onboarding`, `codebase onboarding`, `repo onboarding`, `repository onboarding`, `codebase tour`, `code tour`, `new repo orientation`, `understand this repo`, `how this repo works`, `first task runway`, `개발자 온보딩`, `레포 온보딩`, `코드베이스 온보딩`, `처음 보는 레포`, `레포 구조 설명`
56
57## Catalog Metadata
58
59Category: `planning`
60Phase: `codebase-onboarding`
61Hermes role: `planner`
62Quality tier: `onboarding-gated`
63Reasoning demand: `standard`
64
65Quality bar:
66
67- Name the audience, depth, repo root, read-only boundary, and stop condition.
68- Separate observed files and commands from inferred architecture and unknowns.
69- Produce a practical reading path and first-task runway rather than a flat file tour.
70- Route follow-up implementation to plan, ultrawork, verification-gate, or workspace-audit as needed.
71
72Handoff policy:
73
74Keep codebase orientation in Hermes as prepared local context. File reads, generated maps, and first-task recommendations need observed repo evidence; code edits and executor handoffs happen only after onboarding identifies a concrete task.
75
76Required inputs:
77
78- repo root or supplied source context
79- target audience: operator, new contributor, maintainer, or executor
80- desired depth: quick map, architecture tour, first issue, or handoff pack
81- known constraints such as no network, no secrets, or read-only mode
82
83Expected outputs:
84
85- codebase_onboarding_plan/v1
86- repo_map/v1
87- reading_path/v1
88- domain_glossary/v1
89- risk_and_unknowns_map/v1
90- first_task_runway/v1
91- not-evidence boundary
92
93Artifact expectations:
94
95- repo_map/v1 with observed directories, entrypoints, generated surfaces, tests, docs, scripts, and runtime artifacts
96- reading_path/v1 ordered from product direction to architecture, core modules, tests, and operational docs
97- domain_glossary/v1 with repo-specific terms, owners, artifacts, and evidence references
98- first_task_runway/v1 with low-risk starter tasks, verification commands, and handoff readiness
99
100Safety rules:
101
102- Do not invent architecture, ownership, maturity, or runtime behavior without observed repo evidence.
103- Do not mutate files, run setup, install dependencies, or dispatch an executor from onboarding alone.
104- Keep onboarding findings, inferred risks, first-task suggestions, and implementation handoffs separate.
105- Never expose secrets from config or environment files; record only redacted paths and risk categories.
106
107## Structural Code Search
108
109When the target is a syntactic shape rather than a string, load `omh-routing/references/structural-code-search.md` before searching. If ast-grep is not on PATH, use grep/ripgrep exactly as today. Cap exploration to a few bounded, targeted queries before reading a full file, escalate to a wider query only when a bounded pass finds nothing or stays ambiguous, and stop once the target is found.
110
111## Runtime Evidence
112
113Preferred harness for this skill: `codebase-onboarding`.
114
115```sh
116omh runtime record --skill codebase-onboarding --harness codebase-onboarding --status started
117```
118
119Record observed delegation results; otherwise return `not_available` or `not_observed`.
120Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.
121- Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes.
122Preserve workflow intent and stop conditions; verify before claiming completion.
123
124Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.
125
126Shared product, compatibility, topology, memory, harness, and execution rules: `omh-routing/references/skill-common-rail.md`. Load it when applicable; otherwise name an unavailable capability.