explain-diff-html SKILL.md skillB

explain-diff-html from malav2110/explain-diff-html is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add malav2110/explain-diff-html/explain-diff-html@git:20261102.c4ba3b0

Pins git:20261102.c4ba3b0 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
malav2110/explain-diff-html
Path
skills/explain-diff-html/SKILL.md
Versions recorded
14
Latest version
git:20261102.c4ba3b0, committed Nov 2, 2026
First version recorded
Sep 18, 2026
Size
35,181 bytes
Repository stars
20
License
MIT

Produce a rich, interactive, self-contained HTML explanation of a diff, branch, or pull request, with Background, Intuition, Code walkthrough, and a Quiz, written as one dated file to a code-explanations folder in the user's home directory, outside the repo. Triggers on "explain this diff", "walk me through this branch", "explain PR 1234". Not for reviewing changes and not for explaining a standalone issue ticket.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Explain Diff (HTML)

Turn a code change into one long, self-contained HTML page that teaches a
reader what changed and why. The output is a teaching artifact, not a review:
it explains, it does not judge or propose fixes.

Built on Geoffrey Litt's explain-diff gist, which set out the four-section
structure, the quiz, and the self-contained HTML output:
<https://gist.github.com/geoffreylitt/a29df1b5f9865506e8952488eac3d524>

Three of the question shapes in `references/quiz-design.md`, and the rule that
difficulty belongs in the stem rather than in near-identical options, are
adapted from the learning-opportunities skill by Cat Hicks, used under
CC-BY-4.0:
<https://github.com/DrCatHicks/learning-opportunities>

## Requirements

Check each tool before you rely on it, and name the missing one rather than
failing part way through a run.

What to do about a missing tool or capability depends on what breaks without
it. Stop when the work cannot happen at all, or when the finished page would
carry a defect nobody can see by reading it: an unvalidated Mermaid source
fails silently in the browser, so a reader never learns a diagram is missing.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add malav2110/explain-diff-html/explain-diff-html@sha256:24891fb10d383d61

The line at the top of this page pins the label git:20261102.c4ba3b0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_oxsgzccgs7lbdabn.svg)](https://markdownregistry.com/a/art_oxsgzccgs7lbdabn)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 14 versions of this file, between Sep 18, 2026 and Nov 2, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20261102.c4ba3b0 latest2026-11-02 c4ba3b0 35,181 BB view · diff
git:20261031.139c2182026-10-31 139c218 35,106 BB view · diff
git:20261022.2902a402026-10-22 2902a40 34,301 BB view · diff
git:20261014.16ed6df2026-10-14 16ed6df 33,446 BB view · diff
git:20261014.9950cf82026-10-14 9950cf8 33,074 BB view · diff
git:20261008.b3be7712026-10-08 b3be771 31,611 BB view · diff
git:20261006.27b067c2026-10-06 27b067c 31,335 BB view · diff
git:20260930.601c3d32026-09-30 601c3d3 30,514 BB view · diff
git:20260930.7d6e2342026-09-30 7d6e234 30,217 BB view · diff
git:20260930.e6196fa2026-09-30 e6196fa 29,469 BB view · diff
git:20260926.9f937022026-09-26 9f93702 51,708 BB view · diff
git:20260921.bb90fa92026-09-21 bb90fa9 35,709 BB view · diff
git:20260921.13c57732026-09-21 13c5773 35,280 BB view · diff
git:20260918.43c86d82026-09-18 43c86d8 34,347 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (35181 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

malav2110/explain-diff-html · 20 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_oxsgzccgs7lbdabn
GET https://markdownregistry.com/api/v1/resolve?ref=malav2110/explain-diff-html/explain-diff-html
GET https://markdownregistry.com/api/v1/blob/24891fb10d383d61137e2cc5af8e98a0775ba80ec0aea14679b6b51e1df8afc0

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

Other files named explain-diff-html

explain-diff-html SKILL.md skill
pengqianhan/ai-human-research-os · research-skills-hub/collected-skills/explain-diff-html/SKILL.md · Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.
git:20260715.38d79be · audit A · 3 stars

Browse by kind, by grade B, or by owner.