Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

oma-explanation

БесплатноБез исполняемых скриптовНе проверен

Create an offline HTML explanation of a code change (diff, PR, branch) or topic, or route codebase knowledge-graph, interactive dashboard, onboarding…

first-flukeот first-fluke★ 228 звёзд на GitHub

Об этом скилле

oma-explanation — Interactive HTML & Knowledge-Graph Explainer

Scheduling

Goal

Deliver clear, educational explanations through two routes:

  • HTML route (default) — generate a self-contained offline HTML document, saved under .agents/results/explain/ and validated with oma explain validate. Two modes:
    • Change mode — explains a code change: deep skippable background for newcomers, core intuition with toy data, a comprehension-ordered code walkthrough, and a five-question quiz.
    • Topic mode — explains a concept, a system, or the answer to a question as a one-page visual sheet: lead answer, then panels of diagrams, tables, and short prose. In both modes the model writes a Markdown draft and oma explain render produces the HTML. Layout, theme, diagram geometry, and the quiz script are the renderer's, not the model's.
  • Knowledge-graph route (understand-anything) — delegate whole-codebase interactive knowledge graphs, graph dashboards, onboarding tours, business domain flows, LLM wiki graphs, and graph-backed Q&A / deep-dives / blast-radius diff overlays to upstream Egonex-AI/Understand-Anything (resources/understand-anything.md).

Intent signature

  • User invokes /explain, names this skill, or asks for a rich explanation/walkthrough of a diff, PR, branch, or commit range (설명서, 해설, コード解説, 代码讲解).
  • User asks for a visual / HTML explanation of a topic that is not a diff: how a system works, a comparison, an answer worth keeping as a page (/explain how does the row planner work).
  • User asks for an interactive codebase knowledge graph, visual codebase dashboard, guided onboarding guide, business domain flow graph, Karpathy-pattern LLM wiki graph, blast-radius diff overlay, or names Understand-Anything → understand-anything route.
  • Another skill or workflow delegates "explain this as a document" output.
  • The /explain workflow starts from its slash command only. The skill hint matches explainer-specific phrases ("html explainer", "walkthrough document", "understand-anything"); the bare word "explain" is everyday vocabulary and never selects this skill.

When to use

  • Explaining a PR, branch, commit range, or the current staged/unstaged change as a document
  • Onboarding a teammate onto a change they did not write, or onto a whole codebase via a knowledge graph and guided tour
  • Producing a reviewable teaching artifact after a large or subtle change lands
  • Turning an architecture, a protocol, a comparison, or a long answer into one visual page
  • Exploring a codebase, business domain, or LLM wiki as an interactive knowledge graph or launching its visual dashboard (resources/understand-anything.md)

When NOT to use

  • Narrated explainer video → use oma-video (explainer mode); this skill produces HTML documents or interactive knowledge graphs
  • Checking whether docs still match the codebase → use oma-docs (drift detection)
  • Presentation deck / slides → use oma-slide (fixed 1920×1080 deck contract)
  • Finding defects or issuing review verdicts → use oma-qa (or the review workflow); this skill narrates a change educationally, it does not evaluate it

Expected inputs

  • Route: understand-anything when the user asks for an interactive codebase knowledge graph, graph dashboard, codebase onboarding guide/tour, business domain flow graph, Karpathy-pattern LLM wiki graph, explicitly names Understand-Anything, or asks for graph-backed Q&A / file deep-dive / blast-radius diff overlay while an existing .ua/knowledge-graph.json (or .understand-anything/knowledge-graph.json) is present and no offline HTML document or quiz is requested; otherwise HTML route (default).
  • Mode (HTML route): topic when the request names a subject and no ref resolves from it; otherwise change. An explicit ref always means change mode.
  • Topic (topic mode): the question or subject, plus the code or docs it is about. Explore them first; a topic page states facts from the repository, not from memory.
  • Target ref (change mode), resolved in this order:
    1. Explicit argument — PR number (#640, via gh pr diff), branch (git diff main...{branch}), or SHA range (a..b / a...b)
    2. Staged changes (git diff --cached)
    3. Dirty working tree (git diff)
    4. Fallback HEAD~1..HEAD
  • Reader level (HTML route): onboarding (default — full deep background) | reviewer (condensed background)
  • Output language: i18n-guide order — prompt language → .agents/oma-config.yaml language → en. Prose and quiz in the user's language; code, identifiers, and inline code always English.
  • Quiz question count (HTML route): default 5; changed only on explicit request.

Expected outputs

  • HTML route: one self-contained HTML file at .agents/results/explain/{YYYY-MM-DD}-{slug}.html (date in oma-config timezone, else the s
Полный SKILL.md на GitHub

Установить oma-explanation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

resources/document-structure.mdresources/draft-format.mdresources/html-contract.mdresources/understand-anything.md

FAQ

Что делает скилл oma-explanation?

Create an offline HTML explanation of a code change (diff, PR, branch) or topic, or route codebase knowledge-graph, interactive dashboard, onboarding, domain-flow, and wiki-graph requests to Understand-Anything.

Как установить скилл oma-explanation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл oma-explanation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить oma-explanation с