Diff Study Hero
Tools • Maintained

Diff Study

Understand the story behind every commit

Year

2026

Role

Design & Development

Context

Personal Project

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

Interactive diff viewer

Red/green syntax highlighting with keyboard navigation, full scrolling and windowing support for large diffs and histories.

Click-to-ask

Select any change and ask questions about it to get instant AI-powered explanations of what the code is doing and why.

Unified dashboard

View local, staged, and history on one screen in the terminal, plus commit comparison between any two commits in Web or CLI.

Use your subscriptions

Works with Gemini CLI, Claude Code, and Cursor — no API fees. Native API support for OpenAI, Anthropic, and Google AI when you need it.

MCP server

Full integration with Cursor, Claude Code, and other MCP clients over stdio and stateless Streamable HTTP.

Multi-repo

Point DiffLearn at any local clone with a flag or environment variable — no need to cd into the repo first.

Built With

TypeScriptNode.jsMCPClaude CodeGemini CLI
Diff Study interactive diff viewer