ReviewPack 1.1.5-dev.283
This is a prerelease version of ReviewPack.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global ReviewPack --version 1.1.5-dev.283
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local ReviewPack --version 1.1.5-dev.283
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ReviewPack&version=1.1.5-dev.283&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package ReviewPack --version 1.1.5-dev.283
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 diffpatches (split into chunks)
Requirements
- .NET SDK/runtime compatible with the tool (as installed by
dotnet tool) gitavailable on yourPATH- 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
- Make sure your base branch reference is up to date:
git fetch origin
- Create an output folder:
mkdir C:\temp\reviewpacks
- 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
diffblocks
Notes
- The tool uses the merge-base between
HEADand the provided base branch, then diffsmerge-base..HEAD. - If Git returns no patch content for a file, the output will include a placeholder message.
| Product | Versions 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.7.290 | 0 | 4/1/2026 |
| 1.1.7-dev.289 | 0 | 4/1/2026 |
| 1.1.7-dev.288 | 0 | 4/1/2026 |
| 1.1.7-dev.287 | 0 | 4/1/2026 |
| 1.1.6.286 | 29 | 3/31/2026 |
| 1.1.6-dev.285 | 26 | 3/31/2026 |
| 1.1.5.284 | 28 | 3/31/2026 |
| 1.1.5-dev.283 | 30 | 3/31/2026 |
| 1.1.3.275 | 59 | 3/27/2026 |
| 1.1.2.274 | 40 | 3/26/2026 |
| 1.1.1.273 | 41 | 3/26/2026 |
| 1.1.1-dev.272 | 33 | 3/26/2026 |