Turn a code change (diff, PR, branch, commit range) into a rich, self-contained interactive HTML explainer with Background / Intuition / Code / Quiz sections. Use for explain, walkthrough, code-change explanation, diff/PR/branch explainer requests — 설명서, 해설, コード解説, 代码讲解. Produces a single offline-capable HTML file with diagrams, callouts, and an accessible quiz.
68
81%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Generate an educational, self-contained interactive HTML document that explains a code change to
a reader — deep skippable background for newcomers, core intuition with toy data, a comprehension-
ordered code walkthrough, and a five-question quiz — saved under .agents/results/explain/ and
validated against a deterministic checklist.
/explain, names this skill, or asks for a rich explanation/walkthrough of a
diff, PR, branch, or commit range (설명서, 해설, コード解説, 代码讲解).convert precedent).oma-video (explainer mode); this skill produces HTML documentsoma-docs (drift detection)oma-slide (fixed 1920×1080 deck contract)oma-qa (or the review workflow); this
skill narrates a change educationally, it does not evaluate it#640, via gh pr diff), branch (git diff main...{branch}),
or SHA range (a..b / a...b)git diff --cached)git diff)HEAD~1..HEADonboarding (default — full deep background) | reviewer (condensed background).agents/oma-config.yaml language → en.
Prose and quiz in the user's language; code, identifiers, and inline code always English..agents/results/explain/{YYYY-MM-DD}-{slug}.html
(date in Asia/Seoul; same date + slug rerun overwrites).open <path> attempted (warn-only).outputs:
- name: explainer-html
description: Self-contained interactive HTML explainer (Background/Intuition/Code/Quiz)
artifact: ".agents/results/explain/*.html"
required: trueresources/document-structure.md — WHAT the document contains (sections, diagrams, style)resources/html-contract.md — HOW the HTML behaves and is validated (self-contained rules,
quiz JS, grep checklist, secret gates)git; optional gh CLI for PR refsoma explain validate [file] CLI command (and deterministic grep checklist in html-contract.md).resources/document-structure.md and resources/html-contract.md before generating.html-contract.md (including the final-HTML secret
scan). Fix → re-validate, max 3 iterations; then surface failures and stop..agents/results/explain/{YYYY-MM-DD}-{slug}.html, attempt
open <path> (warn-only), report TL;DR + path.reviewer level → condense Background tier A; keep Intuition/Code full.gh missing or unauthenticated → give install/auth guidance + local branch-diff alternative.open failure / headless environment → warn-only; the reported path suffices.| Action | SSL primitive | Evidence |
|---|---|---|
| Resolve target ref | SELECT | git/gh commands, resolution order |
| Collect diff + context | READ | git diff / gh pr diff, Serena exploration |
| Secret gates (pre/post) | VALIDATE | masked-hit report, user confirmation |
| Author HTML | WRITE | .agents/results/explain/*.html |
| Checklist validation | VALIDATE | grep checklist results, ≤3 fix loops |
| Deliver | NOTIFY | TL;DR + path, open attempt |
git; optional gh (PR refs via gh pr diff)resources/document-structure.md, resources/html-contract.md| Scope | Resource target |
|---|---|
LOCAL_FS | Diff/PR content and surrounding source (read-only); .agents/results/explain/*.html (write) |
PROCESS | git / gh / open subprocess calls |
NETWORK | gh pr diff (GitHub API) only when a PR ref is requested |
CREDENTIALS | gh auth token if configured; no other secrets handled |
.agents/workflows/explain.md Step 1)gh authenticated when a PR ref is requested.agents/results/explain/open <path> (local OS side effect; warn-only on failure)gh pr diff is read-onlyDriven end-to-end by .agents/workflows/explain.md (slash-only; disable-model-invocation: true).
resources/document-structure.md — document content contractresources/html-contract.md — HTML behavior, validation checklist, secret gates3021301
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.