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

Show Diff

  • 2 installs
  • 4 repo stars
  • Updated July 21, 2026
  • seabbs/skills

Opens a tmux split running diffview.nvim so the user can review the agent's recent changes side by side.

About

Launches a tmux pane with diffview.nvim to show current changes in a side-by-side viewer. A developer uses it after non-trivial edits or when asking to open a diff viewer.

  • Opens diffview.nvim in a new tmux pane
  • Accepts an optional rev-range argument

Show Diff by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #497 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/seabbs/skills --skill show-diff

Add your badge

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

Listed on Skillselion
Installs2
repo stars4
Last updatedJuly 21, 2026
Repositoryseabbs/skills

What it does

Opens a tmux split running diffview.nvim so the user can review the agent's recent changes side by side.

Files

SKILL.mdMarkdownGitHub ↗

Show Diff

Open a new tmux pane that displays current changes via diffview.nvim, so the user can review in a side-by-side viewer instead of scrolling terminal output.

When to use

  • After making more than a handful of edits, surface them for review
  • User asks to see the diff, open a diff viewer, or review the changes
  • Before asking the user to approve committing a larger change

Skip when edits are tiny, when not inside tmux, or when the user has already reviewed the changes in this turn.

How to run

bash ~/code/seabbs/dotfiles/scripts/show-diff.sh $ARGUMENTS

The script opens a right-hand split running nvim +DiffviewOpen <range> rooted at the repo top-level.

Choosing the rev-range

Shortcuts the script understands:

ArgumentExpands toUse when…
(none)working tree vs HEADchanges are uncommitted
lastHEAD~1..HEADreviewing just the last commit
last N or NHEAD~N..HEADreviewing the last N commits
prorigin/<base>...HEAD (base from gh pr view)on a branch with an open PR
any other valuepassed through verbatimexplicit rev range, e.g. main...HEAD

If the agent has both committed and uncommitted work on a feature branch with an open PR, pr is the fastest choice.

Requirements

  • Running inside tmux (script errors out otherwise)
  • Inside a git repository
  • diffview.nvim available in neovim (already configured in the

user's dotfiles)

After opening

Tell the user the pane is up and what range it shows. Do not try to drive the nvim instance from the agent side.

Related skills

This week in AI coding

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

unsubscribe anytime.