Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
kamranahmedse avatar

Diffity Diff

  • 1k installs
  • 736 repo stars
  • Updated July 6, 2026
  • kamranahmedse/diffity

diffity-diff is a Claude Code skill that launches the Diffity CLI to open an interactive browser diff viewer for any git ref, working-tree changes, or GitHub pull request URL.

About

diffity-diff is a user-invocable agent skill that checks for the Diffity CLI binary, installs it when missing, and runs it in the background to open an interactive visual diff in the browser. Developers pass an optional git ref such as main..feature, HEAD~3, or a full GitHub PR URL; with no ref, Diffity shows unstaged working-tree changes. The CLI handles server startup and browser launch automatically, so agents only need shell access and a background Bash invocation. Reach for diffity-diff when plain terminal git diff output is too noisy, when reviewing large ref ranges, or when stakeholders need a shareable visual comparison during code review.

  • Opens a local web-based diff viewer for working tree, branches, or GitHub PRs
  • Automatically installs diffity via npm if not present
  • Reuses existing server instance for the same repository
  • Returns localhost URL after starting the background service
  • Designed to be followed by /diffity-resolve or /diffity-review commands

Diffity Diff by the numbers

  • 1,000 all-time installs (skills.sh)
  • +31 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #130 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/kamranahmedse/diffity --skill diffity-diff

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1k
repo stars736
Security audit3 / 3 scanners passed
Last updatedJuly 6, 2026
Repositorykamranahmedse/diffity

How do you view git diffs in a browser?

Open an interactive visual diff viewer in the browser for any git ref or pull request.

Who is it for?

Developers reviewing pull requests, branch comparisons, or large working-tree changes who want a visual browser diff instead of terminal output.

Skip if: Developers who only need inline IDE diffs, automated CI diff gates, or environments where installing and running a local CLI plus browser is blocked.

When should I use this skill?

The user asks to visually compare git changes, open a PR diff in the browser, or review a branch range with Diffity.

What you get

Interactive browser diff session for the chosen git ref, branch range, working-tree changes, or GitHub pull request.

  • browser diff viewer session
  • visual ref comparison

By the numbers

  • Accepts git ref ranges, GitHub PR URLs, or defaults to working-tree changes

Files

SKILL.mdMarkdownGitHub ↗

Diffity Diff Skill

You are opening the diffity diff viewer so the user can see their changes in the browser.

Arguments

  • ref (optional): Git ref to diff (e.g. main..feature, HEAD~3) or a GitHub PR URL (e.g. https://github.com/owner/repo/pull/123). Defaults to working tree changes.

Instructions

1. Check that {{binary}} is available: run which {{binary}}. If not found, {{install_hint}}. 2. Run {{binary}} <ref> (or just {{binary}} if no ref) using the Bash tool with run_in_background: true:

  • The CLI handles everything: if an instance is already running for this repo it reuses it and opens the browser, otherwise it starts a new server and opens the browser.
  • Do NOT use & or --quiet — let the Bash tool handle backgrounding.

3. Wait 2 seconds, then run {{binary}} list --json to get the port. 4. Tell the user diffity is running. Print the URL and keep it short — don't show session IDs, hashes, or other internals. Example:

Diffity is running at http://localhost:5391

>

When you're ready:
- Leave comments on the diff in your browser, then run {{slash}}resolve to fix them
- Or run {{slash}}review to get an AI code review

Related skills

How it compares

Choose diffity-diff over terminal git diff when reviewers need an interactive browser UI for large ref ranges or GitHub pull requests.

FAQ

What git refs does diffity-diff support?

diffity-diff passes an optional ref argument to the Diffity CLI, supporting standard git ref ranges like main..feature or HEAD~3, full GitHub pull request URLs, or no argument to diff the current working tree.

Does diffity-diff require a pre-installed binary?

diffity-diff first runs which on the Diffity binary and follows the skill's install hint when the CLI is missing, then launches the viewer in the background via Bash.

Is Diffity Diff safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Code Review & Qualitygitintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.