omh-codebase-onboarding
它能做什么
它探索一个陌生的代码仓库,生成仓库地图、建议的阅读顺序、关键术语列表和风险地图。适合刚接触某个代码库的开发者。
适用场景
- ✓当你加入一个项目,需要了解它的组织方式时。
- ✓当你想要一次对陌生代码仓库的引导式浏览时。
- ✓当你想在一个新代码库中挑选一个安全的第一个任务时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-codebase-onboarding/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我刚接触这个仓库。请梳理它的结构、主要模块、测试,并为我推荐一个合适的第一个任务。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体阅读仓库中的文件,并把每项论断标记为已观察或推断。然后它会写出地图、阅读顺序、术语表和建议的第一批任务。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Codebase Onboarding
This is an OMH codebase-onboarding workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
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
ulw-workoromh-idea-to-deploy. - The user needs a whole-workspace capability inventory; use
omh-workspace-audit. - The user wants a code diff review; use
omh-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
- repo_map/v1 cites an observed path for every directory, entrypoint, generated surface, and test location it names; what was inferred is marked inferred, and what was never opened is listed as unread.
- reading_path/v1 is an ordered list of real files, each with why it comes at that point and what the reader knows after it.
- Every domain_glossary/v1 term points to where it is defined or used; a term with no source is an open question, not an entry.
- risk_and_unknowns_map/v1 keeps observed risks, each with the file or command that shows it, apart from unknowns, each with how it would be resolved.
- Every first_task_runway/v1 task names the files it touches and its verification command, and says whether that command was run during onboarding.
- The stop condition named at the start is met, or the reply names what was left unread.
Recovery Notes
- If the repository is too large for the stated depth, narrow to the entrypoint the audience touches first and record the rest as unread rather than summarizing it from file names.
- If a build, test, or setup command could not run (read-only mode, missing toolchain, secrets), list it in first_task_runway/v1 as not run with the reason, never as a known-good command. A command that installs or syncs dependencies as a side effect (
npm ci,uv sync, anduv run, which syncs first) counts as setup and stays not run. - If docs and code disagree, report what the code does, cite both, and add the disagreement to risk_and_unknowns_map/v1 instead of trusting the docs.
- If the user names a concrete task mid-tour, stop at the current reading_path/v1 entry and hand the runway so far to
omh-plan, or toulw-workoromh-idea-to-deploywhen the task already has acceptance criteria.
When to Use
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
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.
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 bounda
常见问题
它会猜测代码是如何设计的吗?
不会。该技能会把架构论断标记为未观察,直到源文件予以确认。
它会修改项目吗?
不会。它只阅读项目,以建立对项目的整体了解。
它是用来规划一个全新功能的吗?
不是。它用于建立整体了解;具体任务属于单独的工作流程。
详情
作者的原始描述
[omh] Unfamiliar repository needing a guided tour: 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.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15085
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
omh-accessibility-audit
5.1k帮你的智能体检查某个界面或流程是否存在无障碍问题,例如键盘使用、屏幕阅读器标签、对比度和触控目标大小。
omh-adversarial-consensus
5.1k在你做出决定之前,帮你的智能体从几个独立角度质疑一个技术方案,然后总结哪些观点经得起推敲。
omh-agent-debug
5.1k帮你的智能体找出另一个 AI 智能体为何卡住、陷入循环或偏离任务,并提出最小且安全的恢复方法。
omh-agent-instructions
5.1k帮你的智能体编写或更新指令文件,例如 AGENTS.md 或 CLAUDE.md,告诉 AI 工具如何在项目中工作。