diffity-tree

Helps developers browse and comment on code files in a visual tree view.

Installation
Run `npx skills add "https://github.com/nilbuild/diffity" --skill "diffity-tree"` to install this skill, then follow its SKILL.md instructions for my next request.

Paste this into Claude Code, Cursor, or any agent that can run commands.

SKILL.mdShow the author's original SKILL.md
---
name: diffity-tree
description: Open the diffity file tree browser to browse and comment on repository files
user-invocable: true
---

# Diffity Tree Skill

You are opening the diffity file tree browser so the user can browse repository files in the browser.

## Instructions

1. Check that `diffity` is available: run `which diffity`. If not found, install it with `npm install -g diffity`.
2. Run `diffity tree` 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 `diffity list --json` to get the port.
4. Tell the user diffity tree is running. Print the URL and keep it short — don't show session IDs, hashes, or other internals. Example:

   > Diffity tree is running at http://localhost:5391
   >
   > When you're ready:
   > - Leave comments on any file in your browser, then run **/diffity-resolve-tree** to fix them

Mirrored from the author's public source. Install counts from the open skills registry.

The systems behind these skills get built for partners every week.

Partner with us