Skip to content
Skills Library
Programming · Review & audit

browse-diff

/browse-diff

Open the ai-review desktop app to visually browse a diff. Use when the user wants to see changes in a visual diff viewer without a review feedback loop — just for viewing.

Repository
ai-review ↗
Licence
MIT
Last repository change
21.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 21.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Open the ai-review desktop app to visually browse a diff. Use when the user wants to see changes in a visual diff viewer without a review feedback loop — just for viewing.

Original author description

Open the ai-review desktop app to visually browse a diff. Use when the user wants to see changes in a visual diff viewer without a review feedback loop — just for viewing.

How it works

  1. Steps
  2. Notes
Original SKILL.md headings · 42 lines, 279 words
SKILL.md preview
---
name: browse-diff
description: Open the ai-review desktop app to visually browse a diff. Use when the user wants to see changes in a visual diff viewer without a review feedback loop — just for viewing.
---

Open the ai-review desktop app (`air`) to let the human visually explore a diff. No feedback loop — the app opens and you continue working.

## Steps

1. **Determine what to show.** Check these in priority order to pick the right `air` invocation:

   a. **Specific commit or range requested by the user:**
      Run `air --commit <hash>` or `air --commits <range>`.

   b. **Uncommitted changes exist** (staged or unstaged, check via `git status --porcelain`):
      Run `air` with no flags. This shows the working directory diff.

   c. **Clean tree, on a gg stack branch** — the current branch matches the `user/name` pattern (no `--` in the name part) and `.git/gg/config.json` exists:
      Read the gg base branch from config (parse `defaults.base`, fall back to `main`). Run:
      ```
      air --commits <gg-base>..HEAD
      ```
      This shows the full stack diff, matching what ai-review displays when opening a gg stack.

   d. **Clean tree, on a feature branch** (not main/master):
      Determine the base branch (`main` or `master`, whichever exists). Run:
      ```
      air --branch <base-branch>
      ```

   e. **Clean tree, on main/master with unpushed commits:**
      Run `git log origin/main..HEAD --oneline --reverse` (or `origin/master`) and take the first commit hash. Run:
      ```
      air --commit <first-unpushed-commit-hash>
      ```

   f. **None of the above:** Run `air` with no flags (empty diff — the app handles it).

2. **Inform the human.** Tell them you've opened ai-review so they can browse the diff. Continue working without waiting.

## Notes

- Do NOT use `--wait`. This skill is fire-and-forget.
- If `air` is not found, tell the user to install via `brew install --cask mrmans0n/tap/ai-review` (macOS) or build from source at https://github.com/mrmans0n/ai-review.
- If the diff is empty, inform the user there are no changes to view.

Versions

The database has no other skills named browse-diff.

Database snapshot: 13.11.2026 · package version f02d7977ddfa (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100visual-diff-review
    Use when asked to review a diff and produce a 7-section visual page. Not for interactive review walks or PR-specific review: use show-review.
  • 100wd-review
    Open the `wd` browser diff viewer so the USER can review changes themselves. Trigger ONLY when the user explicitly references wd or asks to look at the diff themselves — "open wd", "open a wd review", "review with wd", "let me review with wd", "let me look at the diff", "show me…
  • 100visual-diff-review
    Use when asked to review a diff and produce a 7-section visual page. Not for interactive review walks or PR-specific review: use show-review.
  • 100review-commits
    Open existing commits in the ai-review desktop app for review. Use when you need to review, understand, or get feedback on specific commits, a commit range, or a branch diff — not your own recent work, but existing history.
  • 100code-review
    When the user asks for a code review, shares code for feedback, or says "review this", "check my code", "what's wrong with this". Also activate when reviewing a pull request or diff.
  • 100slop-review
    Open the native, Monaco-powered diff review window so the user can leave inline / file-level / overall comments on the current changes (the AI slop), then address each comment. Use this when the user asks to "review my changes", "review the slop", "review my diff", "open a diff…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.