explain-diff

Installation
SKILL.md

Explain diff

Flags

Flag Default Effect
--target <branch> main Explain <branch>...HEAD
--pr <n|url> off Explain one PR diff and metadata
--staged off Explain the index
--unstaged off Explain worktree changes
--output <path> /tmp/YYYY-MM-DD-explain-<slug>.html Set HTML path

The four source choices are mutually exclusive; conflicting or valueless flags are BLOCKED; bare --pr is the only value-less exception and may resolve the current branch PR. With no source flag, use the equivalent of --target main. Block when PR diff cannot be fetched. Missing optional PR metadata permits a diff-only page with no motive claims.

1. Lock source and output

Installs
296
GitHub Stars
4
First Seen
Jul 4, 2026
explain-diff — prathamdby/skills