@diegopetrucci/pi-review

A standalone pi extension that adds /review and /end-review commands adapted from mitsuhiko/agent-stuff.

Packages

Package details

extension

Install @diegopetrucci/pi-review from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@diegopetrucci/pi-review
Package
@diegopetrucci/pi-review
Version
0.1.0
Published
May 21, 2026
Downloads
not available
Author
diegopetrucci
License
Apache-2.0
Types
extension
Size
78.4 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

review

A standalone tlh/pi review extension that adds /review and /end-review, adapted from the upstream mitsuhiko/agent-stuff implementation.

Install

Install the standalone package:

pi install npm:@diegopetrucci/pi-review

Then reload pi:

/reload

Usage

  • /review — open the interactive selector
  • /review uncommitted — review uncommitted changes
  • /review branch main — review against a base branch
  • /review commit <sha> — review a specific commit
  • /review pr <number-or-url> — fetch and review a GitHub pull request
  • /review folder src docs — review one or more folders/files as a snapshot
  • /review --extra "focus on performance regressions" — add one-off instructions
  • /end-review — return from the review branch and optionally summarize or queue fixes

Notes

  • Behavior is intentionally kept equivalent to the upstream source, with only packaging/attribution changes for this repository.
  • PR review requires gh access and a clean working tree for tracked files.
  • If a REVIEW_GUIDELINES.md file exists next to the repo's .pi directory, its contents are appended to the review prompt.

License and attribution

This package vendors and adapts extensions/review.ts from mitsuhiko/agent-stuff under the Apache-2.0 license. See LICENSE.