Automated PR Review & Structural Guard

•
3
•

Performs deterministic, structure-aware code reviews to catch cross-file architectural drift and layer violations before merging.

The Review-This-PR skill provides a rigorous, automated framework for evaluating code changes against defined architectural standards. Unlike standard LLM diff reviews that often miss cross-file inconsistencies, this tool executes a deterministic driver script that runs structural tests and enforces a 'monotonic baseline' check to ensure technical debt does not grow. It automatically maps changed files to specific architectural layers and generates a comprehensive Markdown report, making it an essential pre-flight tool for maintaining clean code architecture and facilitating smooth hand-offs to specialized reviewers.

Key Features

01Monotonic baseline enforcement to prevent the growth of technical debt
02Comprehensive Markdown report generation for architecture and security audits
03Automated layer-rule mapping via project configuration files
04Local reproduction of CI failures through isolated worktree checks
053 GitHub stars
06Deterministic structural testing for TypeScript and Python projects

Use Cases

01Local debugging when CI tests fail due to complex cross-file dependency issues
02Pre-PR validation to catch structural violations before opening a pull request
03Post-refactoring audits to ensure files moved correctly between architectural layers