by ihou
An IDE-grade Git diff, without the IDE. A lightweight native app for Mac and Windows (a 4 MB download, 30–50 MB of memory) for reviewing changes — yours, your teammates' or your coding agent's — and committing exactly what you mean.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/ihou/DiffCodeGuides for using ai agents skills like DiffCode.
See how DiffCode compares with popular alternatives.

Coding agents write more of the code now, and teammates keep pushing theirs, so more of the day goes to reading diffs. An IDE shows them well, but it brings code completion, builds, indexing and plugins along with it: a long wait and gigabytes of memory, just to see what changed. DiffCode keeps only what that job needs — a clear side-by-side diff, the Git history, precise commits and a terminal for your agent — in a native app that typically uses 30–50 MB of memory.
index.lock, so DiffCode can stay open next to your IDE, your terminal and your agents.A diff that is easy to read
⌥⌘V switches to a unified view.F7 / ⇧F7 jump between changes and carry on into the next file.Precise commits
⌘↩. Untick single hunks — or select lines and choose Exclude Selected Lines from Commit — to commit only part of a file. The rest stays in your working tree.⌥⌘K. Git hooks run as usual, and their output is shown when they fail.⌘Z.All your repositories in one window
dif ~/work/app ~/work/lib.⇧⇧), Go to File with camel-case matching (⇧⌘O, cvm → CartViewModel.kt), and Find in Files (⇧⌘F) powered by git grep, with a live preview.⌥⌘T to type the current file path — with the selected line range — into the terminal for your agent.Branches and history, when you need them
--force-with-lease and is never offered for main or master.Everything else
⌘/ in the app to see them all.![]() |
![]() |
| Git graph — branches, tags and lanes in a dropdown that does not take a column | Merge conflicts — pick a side per conflict, then Commit Merge |
![]() |
![]() |
| Built-in terminal — the diff updates as soon as a script or an agent touches a file | Find in Files — git grep across one project or all of them |
![]() |
![]() |
| Light theme, unified view | 简体中文 — follows the system, or pick it in Settings |
The repositories in the screenshots are made up for the purpose.
Download DiffCode (signed and notarized by Apple, updates itself) and open the installer. The website is at ihou.github.io/DiffCode.
It needs macOS 14 Sonoma or later. That download is for Macs with Apple Silicon; on an Intel Mac, download DiffCode-Intel.pkg instead (Apple menu → About This Mac shows which you have). To open repositories from the terminal, link the dif command once:
sudo ln -sf /Applications/DiffCode.app/Contents/Resources/dif /usr/local/bin/dif
dif # open the repository you are in
dif ~/work/app ~/work/lib
Download the installer and run it. It installs for your account without administrator rights and tells you when a new version is out; prefer no installer? Unzip DiffCode-windows-x64.zip and run DiffCode.exe. It needs 64-bit Windows 10 (1809) or Windows 11, and Git for Windows.
The installer is not code-signed — certificates cost money every year — so the first time you run it, SmartScreen may say Windows protected your PC. Choose More info → Run anyway. Checksums are in SHA256SUMS-windows.txt on the release page, and GitHub Actions builds every release from the tagged source.
The Windows version is a native Win32 app written in Rust, in windows/. It has the same features; shortcuts follow the IDE's Windows keymap (Ctrl where the Mac uses ⌘), and Ctrl+/ lists them all. The built-in terminal runs PowerShell or cmd.
It takes a couple of minutes:
git clone https://github.com/ihou/DiffCode.git
cd DiffCode
Scripts/build-app.sh --install # builds DiffCode.app, copies it to /Applications, links the `dif` command
You need:
xcode-select --install). Tested with Swift 6.4.git, which the Command Line Tools include.Builds from source are signed for your Mac only (ad hoc) and do not check for updates. If /usr/local/bin is not writable, the script prints the sudo ln command for the dif command instead.
Everything has a shortcut. A few to start with (on the Mac; on Windows press Ctrl+/ to see them):
| Action | Shortcut | Action | Shortcut | |
|---|---|---|---|---|
| Search Everywhere | ⇧⇧ |
Next / previous change | F7 / ⇧F7 |
|
| Go to File | ⇧⌘O |
Next / previous file | ⇧⌘] / ⇧⌘[ |
|
| Find in Files | ⇧⌘F |
Side-by-side ⇄ unified | ⌥⌘V |
|
| Find Action | ⇧⌘A |
Roll back file or hunk | ⌥⌘Z |
|
| Project files / Changes / Log | ⌘1 / ⌘0 / ⌘9 |
Undo roll back or delete | ⌘Z |
|
| Git graph | ⌥⌘B |
Commit message / commit | ⌘K / ⌘↩ |
|
| Terminal | ⌥F12 |
Commit and push / push | ⌥⌘K / ⇧⌘K |
|
| New terminal | ⌘T |
Type file path into terminal | ⌥⌘T |
On a Mac keyboard, F1–F12 need Fn unless you turn on Use F1, F2, etc. keys as standard function keys in System Settings; ⌃⌥⇧↓ / ⌃⌥⇧↑ also step through changes.
git, credential helper and SSH agent) and, in the downloadable editionDiffCode is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by ihou. An IDE-grade Git diff, without the IDE. A lightweight native app for Mac and Windows (a 4 MB download, 30–50 MB of memory) for reviewing changes — yours, your teammates' or your coding agent's — and committing exactly what you mean. It has 53 GitHub stars.
DiffCode's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/ihou/DiffCode" and add it to your Claude Code skills directory (see the Installation section above).
DiffCode is primarily written in Rust. It is open-source under ihou on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh DiffCode against similar tools.
No comments yet. Be the first to share your thoughts!