ReviewPack 1.1.5.284

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global ReviewPack --version 1.1.5.284
                    
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 ReviewPack --version 1.1.5.284
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ReviewPack&version=1.1.5.284
                    
nuke :add-package ReviewPack --version 1.1.5.284
                    

ReviewPack (dotnet tool)

ReviewPack is a .NET CLI tool that generates a PR review pack (a set of Markdown files) from the current Git branch changes compared to a base branch.

The output is designed to be easy to paste/upload into an LLM-assisted review workflow:

  • a summary (branch context, totals, index of changed files)
  • one or more "part" files containing git diff patches (split into chunks)

Requirements

  • .NET SDK/runtime compatible with the tool (as installed by dotnet tool)
  • git available on your PATH
  • Run the command from within a Git working directory
  • The output folder must already exist (the tool will create a subfolder for each run)

Install

dotnet tool install --global ReviewPack

After installation the command is available as:

pr-review-pack

Update

dotnet tool update --global ReviewPack

Uninstall

dotnet tool uninstall --global ReviewPack

Usage

Basic example

  1. Make sure your base branch reference is up to date:
git fetch origin
  1. Create an output folder:
mkdir C:\temp\reviewpacks
  1. Run the tool:
pr-review-pack --tool__basebranch "origin/main" --tool__outputpath "C:\temp\reviewpacks" --tool__maxmarkdownsize 15000 --allowConsoleLogging

The tool writes a new subfolder under the output path (named with a run id) containing files like:

  • review-pack-0000.md (summary)
  • review-pack-0001.md (part 1)
  • review-pack-0002.md (part 2)

Options

Option Required Description
--tool__basebranch <ref> Yes Git reference used as the base for comparison (e.g. origin/main, main, release/1.2).
--tool__outputpath <path> Yes Existing folder where the run output subfolder will be created.
--tool__maxmarkdownsize <n> No Maximum total patch size per part (in characters). The tool starts a new part when the sum of the rendered patch sizes would exceed this value (default: 15000).
--tool__branchfolder <path> No Folder used as the working directory for git commands (defaults to the current directory). Useful when running the tool from outside the repo (for example when hosted by an MCP client).
--tool__runasmcpserver <true/false> No Runs the tool as an MCP (Model Context Protocol) server over stdio instead of running a one-shot CLI execution.
--allowConsoleLogging No Enables console logging (useful to see progress and troubleshooting info).

MCP server mode

When --tool__runasmcpserver true is set, ReviewPack starts an MCP server over stdio and exposes tools from the assembly.

The primary tool is:

  • GenerateReviewPack: Generates the review pack markdown files using the server's configured options.

Typical usage is to configure your MCP client to start pr-review-pack as a stdio server, for example:

{
  "command": "pr-review-pack",
  "args": [
    "--tool__runasmcpserver", "true",
    "--tool__basebranch", "origin/main",
    "--tool__outputpath", "C:\\temp\\reviewpacks",
    "--tool__branchfolder", "D:\\Dev\\MyRepo"
  ]
}

Notes:

  • In MCP mode, avoid enabling console logging because stdout is reserved for the MCP protocol.
  • The server writes its log file to <tool__outputpath>\mcp-rev-pack.log.

What is included in the review pack

  • Branch context: current branch name, base branch name, head commit SHA, merge base SHA
  • Summary: number of changed files, added/deleted line totals, part count
  • Changed files index
  • Per-file patches in fenced diff blocks

Notes

  • The tool uses the merge-base between HEAD and the provided base branch, then diffs merge-base..HEAD.
  • If Git returns no patch content for a file, the output will include a placeholder message.
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.1.11.300 38 4/3/2026
1.1.11-dev.299 40 4/3/2026
1.1.11-dev.298 30 4/3/2026
1.1.10.297 37 4/3/2026
1.1.10-dev.296 33 4/3/2026
1.1.9.295 28 4/3/2026
1.1.9-dev.294 39 4/3/2026
1.1.8.293 37 4/2/2026
1.1.8-dev.292 38 4/2/2026
1.1.7.290 74 4/1/2026
1.1.7-dev.289 30 4/1/2026
1.1.7-dev.288 27 4/1/2026
1.1.7-dev.287 36 4/1/2026
1.1.6.286 73 3/31/2026
1.1.6-dev.285 30 3/31/2026
1.1.5.284 69 3/31/2026
1.1.5-dev.283 32 3/31/2026
1.1.3.275 99 3/27/2026
1.1.2.274 79 3/26/2026
1.1.1.273 80 3/26/2026
Loading failed