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★ 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 withoma 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 renderproduces 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-anythingroute. - Another skill or workflow delegates "explain this as a document" output.
- The
/explainworkflow 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 thereviewworkflow); this skill narrates a change educationally, it does not evaluate it
Expected inputs
- Route:
understand-anythingwhen 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 namesUnderstand-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):
topicwhen the request names a subject and no ref resolves from it; otherwisechange. 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:
- Explicit argument — PR number (
#640, viagh pr diff), branch (git diff main...{branch}), or SHA range (a..b/a...b) - Staged changes (
git diff --cached) - Dirty working tree (
git diff) - Fallback
HEAD~1..HEAD
- Explicit argument — PR number (
- Reader level (HTML route):
onboarding(default — full deep background) |reviewer(condensed background) - Output language: i18n-guide order — prompt language →
.agents/oma-config.yamllanguage→ 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-configtimezone, else the s
Установить oma-explanation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic