Automated Code Review & Security Gate

•
9
•

Validates code changes through a multi-stage pipeline of security scans, quality gates, and independent AI peer review before committing.

The code-review skill provides a robust pre-commit verification system designed to ensure code quality and security. It implements the core principle that no agent should verify its own work, instead spawning independent reviewer subagents to audit changes without prior implementation context. The pipeline performs static security scans for secrets and vulnerabilities, runs language-specific tests and linters with baseline-awareness to block only new regressions, and initiates an auto-fix loop to resolve identified issues. This skill supports a wide range of programming languages and integrates seamlessly with Git workflows to catch errors before they reach production or pull requests.

Key Features

01Independent AI Peer Review: Spawns a fresh subagent with no implementation context to provide an unbiased audit of code changes.
02Multi-Language Support: Compatible with Python, JavaScript/TypeScript, Rust, Go, Java, C++, and several other major languages.
039 GitHub stars
04Auto-Fix Loop: Automatically generates and applies precision fixes for identified logic errors and security concerns.
05Static Security Scanning: Automatically detects hardcoded secrets, shell injections, and SQL vulnerabilities in new code blocks.
06Baseline-Aware Quality Gates: Compares test and lint results against the current status to ensure no new regressions are introduced.

Use Cases

01Ensuring security compliance by scanning for secrets and injection vulnerabilities before every git commit.
02Automating the regression testing process to ensure new features do not break existing project functionality.
03Maintaining high code quality in collaborative projects by enforcing independent peer reviews via AI subagents.