explain-diff-html skillB
explain-diff-html is agent-read markdown (skill) from malav2110/explain-diff-html: 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..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns 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 step 5, 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
mdr add malav2110/explain-diff-html/explain-diff-html@git:20260921.bb90fa9mdr add malav2110/explain-diff-html/explain-diff-html@sha256:8bf69bf84aaad3a0Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_oxsgzccgs7lbdabn)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260921.bb90fa9 latest | 2026-09-21 | bb90fa9 | 35,709 B | B | view · diff |
| git:20260921.13c5773 | 2026-09-21 | 13c5773 | 35,280 B | B | view · diff |
| git:20260918.43c86d8 | 2026-09-18 | 43c86d8 | 34,347 B | B | view |
Audit of the latest version
- 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 (35709 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
Source
malav2110/explain-diff-html · 7 stars · license MIT · pushed 2026-09-22 · 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/8bf69bf84aaad3a01578afeb3f870807215d93da25d9d9303327aab72fba89c5
Your agent 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.