/ai-review:show-changesfrom ai-review
Opens the ai-review desktop app to present completed work for human review, handles feedback comments, and summarizes changes made in response.
Ships in ai-review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You have completed a task and want to show the human what you did. Open ai-review so they can look over the changes and optionally leave feedback. This is less formal than a full code review — the framing is "here's what I did" rather than "please review my code."
Determine what to show. Check these in priority order to pick the right air invocation:
a. Uncommitted changes exist (staged or unstaged, check via git status --porcelain):
Run air --wait --json with no branch/commit flags. This shows the working directory diff.
b. All changes committed, 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 --wait --json --commits <gg-base>..HEAD
This shows the full stack diff, matching what ai-review displays when opening a gg stack.
c. All changes committed, on a feature branch (not main/master):
Determine the base branch (main or master, whichever exists). Run:
air --wait --json --branch <base-branch>
d. All changes committed, on main/master itself:
Identify the first commit you made during this session. If you can determine the exact commit, use that hash directly. Otherwise, fall back to the first unpushed commit: run git log origin/main..HEAD --oneline --reverse (or origin/master) and take the first commit hash. Run:
air --wait --json --commit <first-relevant-commit-hash>
e. None of the above: Run air --wait --json with no flags (empty diff — the app handles it).
The air --wait --json command opens the ai-review desktop app and blocks until the human submits. They may add comments or submit with no comments. The output is structured JSON.
Handle the response.
If the human submitted comments: Parse the JSON feedback. The output has the shape:
{
"format": "ai-review.feedback/v1",
"context": { "mode": "...", ... },
"comments": [
{ "id": "...", "file": "...", "startLine": 10, "endLine": 12, "side": "old|new", "text": "...", "createdAt": "..." }
]
}
Address each comment: read the referenced file and lines, make the requested change. If a comment is unclear, use your best judgment.
If the human submitted with no comments: (empty comments array) Acknowledge that they've seen the changes and move on.
Summarize. If changes were made, provide a concise summary listing each comment and what you did to address it.
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.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub mrmans0n/ai-review --plugin ai-review4 skills in this plugin
/browse-diffOpen 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./human-reviewRequest human code review via the ai-review desktop app. Use when code changes are complete and ready for a final human review before committing or merging. Opens an interactive diff viewer where the human can leave inline comments, then returns their feedback./review-commitsOpen 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.