### Install and Build review-ai Source: https://github.com/mike-at-redspace/review-ai/blob/main/README.md Install project dependencies, build the project, and link it globally. ```bash pnpm install pnpm run build pnpm link --global ``` -------------------------------- ### Review AI Configuration Example Source: https://github.com/mike-at-redspace/review-ai/blob/main/README.md This JSON configuration file sets various parameters for Review AI, such as the default model, minimum severity level, and output path. Use `review-ai --init` to generate a full template. ```json { "model": "auto", "premiumModel": "gpt-5.3-codex", "minSeverity": "nitpick", "focusCategories": [], "maxDiffLength": 8000, "ignoreWhitespaceInDiff": false, "importCollapse": true, "includeRepoMap": true, "outputPath": "./PR-REVIEW.md", "autoOpen": false } ``` -------------------------------- ### Compare Branch to Main for Review Source: https://github.com/mike-at-redspace/review-ai/blob/main/README.md Compares the current branch against the 'main' branch for review purposes. ```bash review-ai --compare-to main ``` -------------------------------- ### Review AI Development Commands Source: https://github.com/mike-at-redspace/review-ai/blob/main/README.md Common commands for developing and maintaining the Review AI project, including running in development mode, building, linting, formatting, and testing. ```bash pnpm run dev pnpm run build pnpm run lint pnpm run format pnpm test ``` -------------------------------- ### Advanced Review with Model, Branch, and File Types Source: https://github.com/mike-at-redspace/review-ai/blob/main/README.md Performs an advanced review specifying the AI model, comparison branch, and file patterns. ```bash review-ai --model=gpt-5.3-codex --compare-to main --files **/*.jsx ``` -------------------------------- ### Interactive Review of Current Changes Source: https://github.com/mike-at-redspace/review-ai/blob/main/README.md Initiates an interactive review of all current Git changes. ```bash review-ai ``` -------------------------------- ### Non-interactive NDJSON Stream for CI Source: https://github.com/mike-at-redspace/review-ai/blob/main/README.md Outputs review feedback as NDJSON events, suitable for Continuous Integration pipelines. ```bash review-ai -y --json ``` -------------------------------- ### Non-interactive Review and Report Generation Source: https://github.com/mike-at-redspace/review-ai/blob/main/README.md Skips the interactive file picker and chat, directly writing the report. ```bash review-ai -y --no-chat ``` -------------------------------- ### Review Staged Changes Only Source: https://github.com/mike-at-redspace/review-ai/blob/main/README.md Performs a review specifically on changes that have been staged. ```bash review-ai --staged ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.