Remote script. The install line pipes a script from GitHub directly into sh, so read install.sh first if your policy requires it.
Who it is forA developer who inherited a branch, or got one from an AI coding agent, and needs to understand the reasons behind the code before changing it.
The problemAI can write code that works, but it does not explain why the code is written that way or what a reviewer would worry about.
The outcomeA step-by-step tour of the branch with the change's purpose, the files to read next, and questions to predict before the answers appear.
What you need first
- git installed
- One of Claude Code, Codex CLI, Gemini CLI, OpenCode or Copilot CLI, installed and signed in
- A git repository with a change to tour
Steps
- Run
curl -fsSL https://raw.githubusercontent.com/init-co-jp/diff-tour/main/install.sh | sh - Run
cd your-repo - Run
tour, press Enter twice in Setup the first time, then pick the current branch and press Enter - Wait 2 to 5 minutes while the tour is written
- Press → to go forward and ← to go back, and q to quit
Prompt for your agent
In the git repository at <path>, install diff-tour and confirm the `tour` command is on the PATH. Expected output: the path to the tour binary. Verify with `git status` that no tracked files changed.
Caveat. The tour is written by an LLM you choose, and the README notes that the tour format and screens may still change in this early release.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for init-co-jp/diff-tour and "Learn why a branch change is written that way"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer