code-review-gate

Trigger human code review gates for security-sensitive or high-complexity changes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/turbobeest/squawk --skill code-review-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-gate
Source: https://github.com/turbobeest/squawk/tree/main/.claude/skills/code-review-gate
Command: npx skills add https://github.com/turbobeest/squawk --skill code-review-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that security-sensitive, high-complexity, or large-scale code changes never bypass human review. It automates the triage process, presenting only the necessary changes for approval, saving time while maintaining quality.

Core Features & Use Cases

  • Automatic Triggering: Flags code in security paths (src/auth/), high-complexity functions, or large changesets for mandatory review.
  • Structured Review Checklist: Guides reviewers through security, quality, architecture, and test coverage checks.
  • Pipeline Integration: Serves as a formal gate between implementation and integration testing phases.
  • Use Case: A developer completes a new authentication module. This Skill automatically triggers, presents the 3 modified files with a security-focused checklist, and blocks deployment until a human approves.

Quick Start

After completing implementation, the skill will automatically activate if changes meet the review criteria, presenting a summary for approval.

Frequently Asked Questions about code-review-gate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically trigger code review for security-sensitive changes?

Code review gates automatically flag changes in security paths like `src/auth/`, high-complexity functions with cyclomatic complexity > 15, or large diffs exceeding 500 lines, triggering mandatory human review before integration without manual intervention.

What should reviewers check when approving code changes through a review gate?

Reviewers follow a structured checklist covering security vulnerabilities, code quality standards, architectural alignment, and test coverage to ensure changes meet quality thresholds before deployment.

Can I manually trigger code review for any change in my pipeline?

Yes, the `/code-review` command lets you manually activate review for any change, overriding automatic triggers and enforcing review on demand for critical updates.

How does a code review gate fit into my CI/CD pipeline?

The gate acts as a formal checkpoint between implementation and integration testing phases, blocking deployment until human approval is recorded and emitting signals to advance workflow stages.

What output does the code review process generate?

The Skill produces a code-review report summarizing reviewed files and a `.signals/code-review-complete.json` signal file that advances the pipeline workflow after approval.