---
name: Code Review Gate
slug: code-review-gate
category: Quality
description: Performs automated code review with quality scoring and enforces a configurable threshold to approve or reject changes. Catch vulnerabilities, performance issues, and style problems before merging.
github: "https://github.com/a5c-ai/babysitter/tree/main/library/methodologies/automaker/skills/code-review-gate"
language: JavaScript
stars: 1600
forks: 94
install: "git clone https://github.com/a5c-ai/babysitter"
added: 2026-07-20T06:48:24.621Z
last_synced: 2026-07-29T06:36:57.471Z
canonical_url: "https://dirskills.com/skills/code-review-gate"
---

# Code Review Gate

Performs automated code review with quality scoring and enforces a configurable threshold to approve or reject changes. Catch vulnerabilities, performance issues, and style problems before merging.

**Install:** `git clone https://github.com/a5c-ai/babysitter`

## README

# Code Review Gate

Perform code review with quality scoring and configurable threshold enforcement.

## Agent
Code Reviewer - `automaker-code-reviewer`

## Workflow
1. Review all changed files for correctness
2. Check for security vulnerabilities
3. Identify performance issues
4. Verify test coverage adequacy
5. Check code style consistency
6. Detect dead code and debug artifacts
7. Verify no secrets in code
8. Assign quality score (0-100)
9. Make approve/reject decision
10. Enforce quality threshold gate

## Inputs
- `projectName` - Project name
- `featureId` - Feature identifier
- `branch` - Feature branch name
- `changedFiles` - Files to review
- `reviewPolicy` - Policy: 'auto', 'manual', 'hybrid'
- `qualityThreshold` - Minimum score (0-100)

## Outputs
- Review with approval, score, comments, security issues, quality gate pass/fail

## Process Files
- `automaker-orchestrator.js` - Phase 4
- `automaker-review-ship.js` - Stages 1-2
