Branch Reviewer
Automates pre-push quality gates by running linting, typechecking, and multi-dimensional code reviews on branch diffs.
The Branch Review skill serves as a high-fidelity pre-push sanity check for developers, ensuring code quality before it reaches the Pull Request stage. It orchestrates a multi-pass process that first executes correctness gates—including Ruff linting, formatting, and Pytest—then partitions changed files to trigger specialized sub-reviews for code cleanup, test quality, and documentation. By merging findings into a single, file-indexed report, it helps developers catch blockers and regressions early, maintaining a high standard of repository health without manual overhead.
Key Features
01Test-orphan detection to ensure logic changes are accompanied by relevant test updates.
02Automated Pass 0 correctness gates including Ruff linting, formatting, and typechecking.
03254 GitHub stars
04Intelligent diff partitioning that routes files to specialized code, test, and doc review sub-agents.
05Scale-aware processing with performance modes like --fast and --full for different branch sizes.
06Consolidated merge-by-file reporting for easy cross-referencing of multi-skill findings.
Use Cases
01Ensuring documentation and tests stay in sync with source code changes during complex refactors.
02Performing a final quality sweep before opening a Pull Request to the main branch.
03Running quick sanity checks on local branches with dirty working trees using the --include-dirty flag.