acre is a code review engine: a personal tool for tracking and managing code review progress.
- Track review progress across multiple files
- Interactive review mode with command shortcuts
- GitHub integration for pull request reviews
- Configurable aliases and default commands (see
./docs/config.example.toml) - State persistence in
.git/acre/directory - Includes context from Github (and optionally Jira)
- a responsibly modest amount of whimsy
Run the codereview.py script from the base directory of your git repo, at a branch that
is related to a Github PR (i.e. gh pr checkout).
usage: codereview.py [-h]
{init,status,ls,overview,reset,metadata,approve,peek,review,interactive} ...
positional arguments:
{init,status,ls,overview,reset,metadata,approve,peek,review,interactive}
init Initialize a new code review session
status Status of review
ls List of files for this review, including their
numbered indexes
reset Reset the progress of the code review
metadata Get metadata from review state, output as JSON
approve Approve the current PR after confirmation
peek Open a file in the GitHub PR diff view (e.g. for comments)
interactive Starts an interactive session
options:
-h, --help show this help message and exit
Custom aliases are encouraged for the script (see ./docs/suggested-aliases.sh)
- Python 3.x
gitgh
- for development:
- justfile (to run tasks; or you can read the file and run them yourself)
- uv (to run the tasks;
uv sync --dev, thenjust test)
=> ./docs/development/todo.md
- TODO: write about my code review philosophy and workflow
- See also
./docs/development/spec.mdfor my initial spec, which captures some of my goals.
One of:
- a code review engine
- augmented code review excellence
- agentic code review executor (not really agentic)
- awesome code review e-ssistant (really?)
- acre = ACRE Code Review via ECRA (wow.)
- ECRA = enhanced command-line routine for ACRE (WOW.)
Thanks to my lovely spouse, @labmouse, for encouraging me to follow my inspirations (and for laughing with me at my corny programming jokes).