explain-diff
Installation
SKILL.md
Explain a Diff
Adapted from Geoffrey Litt's explain-diff prompt
(gist.github.com/geoffreylitt/a29df1b5f9865506e8952488eac3d524), with the fixes
its comment thread asked for: a quiz whose answers are shuffled and audited by
a script, untrusted diffs handled as data, and a fixed template so each run
spends tokens on the explanation instead of CSS.
Options
Read these from the user's request. Defaults in bold.
- Format:
htmlormd. Markdown costs the fewest tokens; HTML gives styled diagrams and a clickable quiz. - Quiz:
page(multiple choice on the page) orchat(no quiz on the page; ask free-response questions in the conversation afterwards and grade the answers).noneskips it.