wieseknows.GitReview 1.0.8

dotnet tool install --global wieseknows.GitReview --version 1.0.8
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local wieseknows.GitReview --version 1.0.8
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=wieseknows.GitReview&version=1.0.8
                    
nuke :add-package wieseknows.GitReview --version 1.0.8
                    

GitReview

CLI tool that converts git diff into a structured LLM code review prompt, exports raw diff patches, or directly performs automated AI code reviews via Gemini, DeepSeek, or OpenRouter API. Automatically copies prompts/results to the clipboard and opens your file explorer with the generated file selected.

Features

  • 🤖 Automated AI Review: Sends diffs directly to LLM APIs (Google Gemini, DeepSeek, or OpenRouter) and renders code review results without manual copy-pasting.
  • ⚡ Prompt Generator: Creates review.md with git metrics and copies it to clipboard for ChatGPT / Claude / Web interfaces.
  • 📝 Raw Patch Mode: Exports clean .diff patch files without LLM prompt formatting.
  • 📂 Auto Focus: Opens Windows Explorer / macOS Finder with the output file pre-selected.
  • 🏗 Zero Config: Works out of the box as a native Git subcommand via .NET Global Tool.

Installation

Install globally via .NET SDK:

dotnet tool install -g wieseknows.GitReview

To update to the latest version:

dotnet tool update -g wieseknows.GitReview

To uninstall:

dotnet tool uninstall -g wieseknows.GitReview

Configuration (For AI Mode)

Set the API key for your preferred provider as an environment variable:

OpenRouter (Default + Free Tier Available)

Obtain a free API key from OpenRouter Keys.

  • Bash / Zsh: export OPENROUTER_API_KEY="your_api_key_here"
  • PowerShell: $env:OPENROUTER_API_KEY="your_api_key_here"
  • Windows CMD: set OPENROUTER_API_KEY=your_api_key_here

(Optional) Change default model (e.g. poolside/laguna-s-2.1:free): export OPENROUTER_MODEL="poolside/laguna-s-2.1:free"

Google Gemini

Obtain a free API key from Google AI Studio.

  • Bash / Zsh: export GEMINI_API_KEY="your_api_key_here"
  • PowerShell: $env:GEMINI_API_KEY="your_api_key_here"
  • Windows CMD: set GEMINI_API_KEY=your_api_key_here

DeepSeek

Obtain an API key from DeepSeek Platform.

  • Bash / Zsh: export DEEPSEEK_API_KEY="your_api_key_here"
  • PowerShell: $env:DEEPSEEK_API_KEY="your_api_key_here"
  • Windows CMD: set DEEPSEEK_API_KEY=your_api_key_here

(Optional) Set GIT_REVIEW_PROVIDER="openrouter" or "deepseek" if you want to override the default provider globally.

Usage

Run directly from any Git repository:

Automated AI Review

  • git review --ai — Run AI review using default provider (OpenRouter).
  • git review --ai -p openrouter (or git review --openrouter) — Run AI review using OpenRouter (Free models).
  • git review --ai -p deepseek (or git review --deepseek) — Run AI review using DeepSeek.
  • git review --ai -p gemini (or git review --gemini) — Run AI review using Gemini explicitly.

Prompt & Patch Generation

  • git review — Generate structured LLM prompt (review.md).
  • git review raw (or git review -r) — Export raw git diff patch (git_changes.diff).

Output Files

  • ai_review_result.md — Detailed code review generated directly by the selected AI model.
  • review.md — Formatted prompt ready for manual pasting into LLM chatbots.
  • git_changes.diff — Clean git diff patch file.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.8 102 8/18/2026
1.0.7 97 8/18/2026
1.0.6 94 8/18/2026
1.0.4 107 8/14/2026
1.0.3 103 8/13/2026
1.0.2 96 8/13/2026
1.0.1 106 8/13/2026
1.0.0 106 8/13/2026