
Diff Study
Understand the story behind every commit
Overview
Diff Study (DiffLearn) helps developers understand code changes through an interactive terminal UI with AI-powered explanations. Navigate diffs with keyboard controls, click on any change to ask questions about it, and get instant AI insights into what each commit is actually doing.
The angle I landed on is new-contributor onboarding: download any repo and start asking questions about what each commit is doing, so new contributors can quickly review and learn the context of all the recent changes.
It works with the subscriptions you already pay for — Gemini CLI, Claude Code, Cursor — so there are no API fees, with native support for OpenAI, Anthropic, and Google AI APIs when you want it. There is also a full MCP server for integration with Cursor, Claude Code, and other MCP clients.
Features
Red/green syntax highlighting with keyboard navigation, full scrolling and windowing support for large diffs and histories.
Select any change and ask questions about it to get instant AI-powered explanations of what the code is doing and why.
View local, staged, and history on one screen in the terminal, plus commit comparison between any two commits in Web or CLI.
Works with Gemini CLI, Claude Code, and Cursor — no API fees. Native API support for OpenAI, Anthropic, and Google AI when you need it.
Full integration with Cursor, Claude Code, and other MCP clients over stdio and stateless Streamable HTTP.
Point DiffLearn at any local clone with a flag or environment variable — no need to cd into the repo first.
Built With
