diffity-diff
Open the diffity diff viewer in the browser to see your changes
How do I install this agent skill?
npx skills add https://github.com/kamranahmedse/diffity --skill diffity-diffIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill manages code diffs using the diffity CLI tool, which it installs via npm. While the tool is functional, the process of reading and reviewing external code diffs introduces an indirect prompt injection surface.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
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
-
Check that
diffityis available: runwhich diffity. If not found, install it withnpm install -g diffity. -
Run
diffity <ref>(or justdiffityif no ref) using the Bash tool withrun_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.
-
Wait 2 seconds, then run
diffity list --jsonto get the port. -
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
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/kamranahmedse/diffity/diffity-diff">View diffity-diff on skillZs</a>