Idea · Aug 28, 2026
Shadow Diff
A developer tool that shows you what an AI would have done differently for the same code change, turning every PR into a silent side-by-side lesson.
What it would do
Shadow Diff takes your current git diff or PR branch, sends the original file and the task description to Claude, and generates an alternative implementation. It then renders a three-pane view: your version, the AI shadow version, and a semantic diff highlighting the key divergences in approach. The goal is not to replace your code but to surface where your solution differs from the AI's preferred patterns, giving you a calibration signal for when to follow AI suggestions and when your human judgment is correct. It also logs your divergence patterns over time so you can spot your own recurring blind spots.
Key features
- Three-pane diff view: original, your change, AI shadow change
- Semantic diff that names the design pattern or principle behind each divergence
- Personal divergence log tracking which kinds of changes you consistently handle differently than AI
- CLI mode for quick comparisons without a browser