nilbuild/diffity

diffity-diff

Open the diffity diff viewer in the browser to see your changes

All-time #7238 Trending #8551 Hot #1689 First seen Mar 17, 2026
8-week activity · all time api

Installation

$ npx skills add nilbuild/diffity --skill diffity-diff

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from nilbuild/diffity.

npx skills add nilbuild/diffity

Browse all from nilbuild/diffity

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 772
License LICENSE
Default branch main
Open issues 15
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,344 B
  • docs SUMMARY.md 80 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1,621 installs

SKILL.md

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 diffity is available: run which diffity. If not found, install it with npm install -g diffity.
  2. Run diffity <ref> (or just diffity if no ref) using the Bash tool with runinbackground: 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.

  1. Wait 2 seconds, then run diffity list --json to get the port.
  2. 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 /diffity-resolve to fix them > - Or run /diffity-review to get an AI code review