Open the claude-review diff viewer in the browser so the user can review code changes and leave inline comments. Markdown files and transcripts support Raw, Preview, and Side-by-side view modes.
Usage:
/review-uior/review-ui diff— review current git changes/review-ui diff --base HEAD~3— review changes since a specific commit/review-ui plan— review the current plan file/review-ui transcript— review the current conversation as a transcript
Steps
- Install or upgrade
claude-reviewto the latest version:uv tool install --upgrade git+https://github.com/vrppaul/claude-review - Determine the mode:
- If the argument starts with diff: run claude-review diff, passing any flags through. Example: /review-ui diff --base HEAD~3 runs: claude-review diff --base HEAD~3 - If the argument is plan: find the current plan file path from your system prompt (look for the plan file path mentioned in the "Plan File Info" section). Run: claude-review files <plan-file-path> - If the argument is transcript: find the current conversation JSONL file. It lives at ~/.claude/projects/<project-dir-hash>/<session-id>.jsonl — the session ID is in your system prompt. Run: claude-review transcript <path-to-jsonl> - If no argument or diff without flags: run the default git diff review: claude-review diff
When it finishes, the user's review comments will be printed to stdout. Read them carefully and address each comment by making the requested changes.