difftastic
$ brew install difftasticStructural diffs, code reviews, and ast-aware comparisons from the terminal.
- difft fits git & github well, especially for structural diffs, code reviews, and ast-aware comparisons from the terminal.
- 1,728 homebrew installs (30d).
- Easy to automate.
- Good fit for coding-agent workflows and repeatable scripts.
- Output is mostly text-first, so verify results before scripting around it.
Difft guide
Structural diffs, code reviews, and ast-aware comparisons from the terminal. Built by Sourcefrog.
Open CLI packages the install path, verify step, and safe-start workflow so this tool can move from “interesting CLI” to something you can actually use. It also integrates with skills.sh so each CLI comes with the right companion skills, not just a binary and a docs link.
When to apply
- structural diffs, code reviews, and ast-aware comparisons from the terminal.
- You need git workflows in both local dev and CI.
- You need structural diffs.
- You need code reviews.
- You need ast-aware comparisons.
Quick reference
brew install difftasticdifft --versiondifft file-a.ts file-b.tsOpen CLI × skills.sh
Open CLI integrates difft with the right skills.sh companions so you get the tool and the workflow together.
Git Workflow
Recommended pairingOpen CLI recommends this skills.sh skill because it fits git workflows. Use cleaner branches, reviews, and merge flows around Git-based CLIs.
$ npx skills add https://github.com/supercent-io/skills-template --skill git-workflowUse difft together with the Git Workflow skills.sh skill. Start with safe inspection commands, summarize what you find, and ask before any step with side effects.
Why this tool
- difft fits git & github well, especially for structural diffs, code reviews, and ast-aware comparisons from the terminal.
- 1,728 homebrew installs (30d).
- Easy to automate.
Watch-outs
- Output is mostly plain text.
Example workflow
1. difft file-a.ts file-b.tsSafe start
Install difft.
Run `difft --version` first.
Start with `difft file-a.ts file-b.ts`.
Install the CLI and make sure it is on your PATH.