explain-diff-html
Use when the user asks for a rich explanation of a code change, diff, branch, or PR.
Skill by yet-an-other
Chalk Labs
Need help deploying explain-diff-html?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/yet-an-other-explain-diff-html
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
explain-diff-html- Description
- Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.
- License
- MIT
- Instructions
- 32 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Explain Diff Make a rich, interactive explanation of the specified code change. ## Pin the fixed point Whatever the user said is the fixed point (a commit SHA, branch name, tag, `main`, `HEAD~5`, etc.). If they didn't specify one, ask for it. Capture the diff command once: `git diff <fixed-point>...HEAD` (three-dot, so the comparison is against the merge-base). Also note the list of commits via `git log <fixed-point>..HEAD --oneline`. Before going further, confirm the fixed point resolves (`git rev-parse <fixed-point>`) and the diff is non-empty. A bad ref or empty diff should fail here ## Structure - Background: Explain the existing system relevant to this change. (You should broadly explore surrounding code for this.) We don't know how much the reader already knows, so include a deep background for beginners (note that it can be skipped if the reader is already familiar), and then a more narrow background directly relevant to the change. - Intuition: Explain the core intuition for the code change. The focus here is to explain the essence, not the full details. Use concrete examples with toy data. Use figures and diagrams liberally. - Code: Do a high-level walkthrough of the changes to the code. Group/order the changes in an understandable way. Show what has been changed and most importantly **why**. ## Format - Output is rendered as a single self-contained HTML file in the OS temp directory. Tailwind and Mermaid both come from CDNs. Mermaid handles graph-shaped diagrams reliably; hand-built divs and inline SVG handle the more editorial visuals (mass diagrams, cross-sections). Mix the two: don't lean on Mermaid for everything, it'll start to look generic. - Make the whole thing one long page with section headers and a table of contents. Don't use tabs for the top-level structure. Basic responsive styling so you can view it on a phone is nice too. Make sure the filename always starts with today's date in `YYYY-MM-DD-` format, because it helps keep the files time-sorted. For example: 2026-01-12-explanation-<slug>.html - Use `/web-share` skill to publish output. For that, use `<project>/diff/<diff-name>` path - Write with the clarity and flow of Martin Kleppmann, making it engaging and written in classic style. Transitions between sections should be smooth. - Some tips on diagrams. Ideally, you should pick a small number of diagram families that can be reused throughout the explanation to explain various cases. Some useful kinds of diagrams: - A very simplified version of the UI that the user sees in the app, to explain UI changes. - A system diagram showing data flow or communication between components. Make sure to include example data here! - For code blocks, always use `<pre>` tags. If you use a custom styled div instead, it **must** have `white-space: pre-wrap` in its CSS, or the browser will collapse all newlines into a single line. Before saving the file, scan each code block in the HTML source and confirm its CSS includes `white-space: pre` or `pre-wrap`. - Use callouts for key concepts or definitions, important edge cases, etc.
From yet-an-other/skills, MIT.
More from yet-an-other/skills
- 0.565score
pubhub-publish
yet-an-other
Publish or share an HTML page, Markdown note, or static site through pubhub when the user explicitly asks to publish or share it.
SkillAFreshness: AClaude Code +9 - 0.558score
explain-me
yet-an-other
Аудит-обзор проекта: суть, архитектура, зависимости, пользовательский путь, качество и проблемы, доки vs код, вердикт.
SkillAFreshness: AClaude Code +9 - 0.539score
code-review
yet-an-other
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding…
SkillAFreshness: AClaude Code +9 - 0.539score
codebase-design
yet-an-other
Shared vocabulary for designing deep modules.
SkillAFreshness: AClaude Code +9 - 0.539score
grilling
yet-an-other
Grill the user relentlessly about a plan, decision, or idea.
SkillAFreshness: AClaude Code +9 - 0.539score
domain-modeling
yet-an-other
Build and sharpen a project's domain model.
SkillAFreshness: AClaude Code +9 - 0.536score
improve-codebase-architecture
yet-an-other
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
SkillAFreshness: AClaude Code +9 - 0.534score
research
yet-an-other
Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo.
SkillAFreshness: AClaude Code +9 - 0.524score
commit
yet-an-other
Create well-formatted git commits following conventional commit standards.
SkillBFreshness: BClaude Code +9 - 0.521score
pp-create-event
yet-an-other
Use this skill if user wants to create an event(s) in google calendar out of provided file(s) or text description.
SkillBFreshness: BClaude Code +9 - 0.499score
prototype
yet-an-other
Build a throwaway prototype to answer a design question.
SkillBFreshness: BClaude Code +9 - 0.489score
resolve-merge-conflicts
yet-an-other
Use when you need to resolve an in-progress git merge/rebase conflict.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 16, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/yet-an-other/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.498score
explain-diff-html
baranbingol1
Use when the user asks for a rich explanation of a code change, diff, branch, or PR.
SkillBFreshness: BClaude Code +9 - 0.296score
explain-diff-html
rushjs1
Use when the user asks for a rich explanation of a code change, diff, branch, or PR.
SkillBFreshness: BClaude Code +9
More from yet-an-other
- 0.565score
pubhub-publish
yet-an-other
Publish or share an HTML page, Markdown note, or static site through pubhub when the user explicitly asks to publish or share it.
SkillAFreshness: AClaude Code +9 - 0.558score
explain-me
yet-an-other
Аудит-обзор проекта: суть, архитектура, зависимости, пользовательский путь, качество и проблемы, доки vs код, вердикт.
SkillAFreshness: AClaude Code +9 - 0.539score
code-review
yet-an-other
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding…
SkillAFreshness: AClaude Code +9 - 0.539score
domain-modeling
yet-an-other
Build and sharpen a project's domain model.
SkillAFreshness: AClaude Code +9 - 0.539score
codebase-design
yet-an-other
Shared vocabulary for designing deep modules.
SkillAFreshness: AClaude Code +9 - 0.539score
grilling
yet-an-other
Grill the user relentlessly about a plan, decision, or idea.
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get explain-diff-html running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
explain-diff-html skill. Agent Mart. https://agentmart.dev/skills/yet-an-other-explain-diff-html (last updated 2026-10-24)