Omh codebase uml

From rlaope/oh-my-hermes · View interactive version

Omh codebase uml is an AI agent skill from the GitHub repository rlaope/oh-my-hermes. [omh] Architecture picture of a codebase: turn a repository into one readable, interface-level PlantUML architecture picture - packages or modules, the public symbols other units actually import, bounded import edges - and get it rendered to a single PNG a chat surface can show. Use when the user sa

How to use this skill

Skill file

Codebase Uml

Required: repo root or current workspace, view: whole repo at package level, one area by --focus <path>, or module level for a subsystem, delivery target (chat attachment, PR, doc) which fixes the format: PNG for chat, SVG only when asked, renderer readiness from the command's render plan (plantuml on PATH, or PLANTUML_JAR plus java). Output: codebase_uml/v1 model (units, interfaces, edges, omissions) via omh codegraph uml --json, PlantUML source written by omh codegraph uml --output <file>.puml, uml_render_plan/v1 naming the exact render command or the blocker, one rendered PNG (or SVG on request) attached to the reply, with the omissions legend visible, not-evidence boundary.

Do Not Use When: The user describes a system, cloud, or infrastructure architecture in words and wants it drawn as a styled diagram, with no repository to read the structure from; load Hermes' bundled architecture-diagram skill instead of this one.

Why This Exists

codebase-uml exists so 'visualize our codebase' produces one deterministic, readable picture instead of a hand-drawn guess: the interface each unit exposes is ranked by who imports it, the layout is bounded before PlantUML sees it, and every omission the bounding made is printed on the image.

Contract: references/full-contract.md (examples, sibling boundaries, full artifact details).

Workflow Lane

When to Use

Use when the user wants to see the shape of a codebase as one picture - a package, module, or focused-area diagram they can drop into Slack, Discord, a PR, or a doc - rather than a prose tour or a refreshed code index.

Strong routing signals: codebase-uml, codebase uml, uml, plantuml, uml diagram, class diagram, package diagram, module diagram, architecture diagram, dependency diagram, module dependency diagram, visualize the codebase, visualize this codebase, visualize the code, visualize the architecture, codebase visualization, code visualization, diagram of the codebase, diagram the codebase, draw the architecture, draw the codebase, architecture picture, codebase picture, picture of the codebase, 코드베이스 시각화, 코드베이스 시각화해줘, 코드베이스를 시각화, 아키텍처 다이어그램, UML 다이어그램, 패키지 다이어그램, 클래스 다이어그램, 코드베이스 다이어그램, 코드 구조 그림, 코드베이스 그림으로, 코드 구조도, диаграмма архитектуры, нарисуй архитектуру кода, схема кодовой базы, визуализируй кодовую базу, uml диаграмма, диаграмма классов, архитектурная диаграмма

Catalog Metadata

Category: planning

Phase: codebase-uml

Hermes role: planner

Quality tier: codegraph-gated

Reasoning demand: standard

Quality bar:

Handoff policy:

Keep diagram scoping, the omh codegraph uml source generation, and the render command in Hermes; the render runs through Hermes' own terminal tool and the image is attached by the chat surface. A generated .puml is prepared context; the picture exists only when the render command's exit status and output file are observed, and neither is architecture proof, review, CI, or merge evidence.

Safety rules:

Completion Checklist

Recovery Notes

Runtime Evidence

Record observed delegation results; otherwise return not_available or not_observed.

Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.

Preserve workflow intent and stop conditions; verify before claiming completion.

Reply in the user's own words and the host's own voice: its SOUL.md persona owns reply language, tone, speech level, and sentence endings, progress updates included (where it sets no language, use the one the user wrote in), and OMH shapes structure and content only. When the requested output is delivered, put any open points inside the result and end with no question or offer; only when the person asked to choose or decide and that choice is still theirs, end with one specific question about it, not a list, a generic offer, or a footer; the shared rail's Reply Language And Host Voice and Turn Ending sections hold the full rule.

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: skill_view(name='omh-routing', file_path='references/skill-common-rail.md'). Load it when applicable; otherwise name an unavailable capability.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.