code-review-gate

Review code changes for bugs, regressions, and test gaps.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill identifies bugs, regressions, and test gaps in code changes, providing a risk-first assessment before merging or releasing.

Core Features & Use Cases

  • Bug Detection: Finds potential issues in code modifications.
  • Regression Analysis: Assesses the risk of introducing regressions in existing functionality.
  • Test Gap Identification: Evaluates whether new or changed code is adequately tested.
  • Use Case: When a developer submits a Pull Request, this Skill can automatically analyze the changes, flag critical bugs, and report on missing test coverage, ensuring higher code quality.

Quick Start

Review the provided code changes for bugs, regressions, and missing tests.

Frequently Asked Questions about code-review-gate

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

FAQPage Schema
How do I identify bugs and regressions in a pull request before merging?

To identify bugs and regressions before merging, perform a risk-first code review on the changes. This process evaluates correctness, edge cases, error handling, and security risks, ranking findings by severity with file-level references to ensure critical issues are addressed.

What is risk-first code review and how does it evaluate test gaps?

Risk-first code review is an automated assessment that prioritizes potential issues by severity. It evaluates test coverage by checking if new or modified code is adequately tested, flagging missing tests as gaps to prevent regressions in existing functionality.

How do I assess security risks and performance impact in modified code?

You assess security risks and performance impact in modified code by running an automated review that evaluates these factors alongside correctness and error handling. Findings are ranked by severity to ensure high-impact issues are addressed before release.

Does automated code review work for finding missing test coverage in new code?

Yes, automated code review works for finding missing test coverage. It performs test gap identification by evaluating whether new or changed code is adequately tested, ensuring developers add necessary coverage before merging changes.

How are code review findings ranked and reported for new code changes?

Code review findings are ranked by severity levels: critical, high, medium, and low. The report includes file-level references to pinpoint exact locations, ensuring high-impact issues like bugs and security risks are addressed before merge or release.