pr-gate

Analyze pull request code changes against policy rules and flag issues.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Minh-Tam-Solution/MTClaw --skill pr-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-gate
Source: https://github.com/Minh-Tam-Solution/MTClaw/tree/main/docs/08-collaborate/skills/pr-gate
Command: npx skills add https://github.com/Minh-Tam-Solution/MTClaw --skill pr-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of reviewing code changes in pull requests, ensuring adherence to predefined policy rules and identifying potential issues before merging.

Core Features & Use Cases

  • Automated Code Analysis: Evaluates code diffs against a set of policy rules.
  • Issue Identification: Flags missing tests, large diffs, security patterns, and missing spec references.
  • Use Case: When a developer submits a pull request, this Skill can automatically check for common errors and policy violations, providing immediate feedback to the developer and reviewers.

Quick Start

Use the pr-gate skill to review the pull request at the provided URL.

Frequently Asked Questions about pr-gate

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

FAQPage Schema
How do I automate code reviews for pull requests on GitHub?

Automated code review for pull requests evaluates code diffs against predefined policy rules to identify missing tests, large diffs, and security vulnerabilities, providing structured feedback before merging.

What issues can automated pull request analysis identify in a CI/CD pipeline?

Automated pull request analysis identifies missing tests, large diffs, security vulnerability patterns, and missing specification references by evaluating code changes against configured policy rules.

How do I check pull requests for security vulnerabilities and missing tests?

Checking pull requests for security vulnerabilities and missing tests involves analyzing code changes against policy rules to flag issues and generating a structured review report.

Does automated code review block a pull request merge when policy violations are found?

Automated code review operates in WARNING mode, flagging policy violations like missing specification references without blocking the pull request merge. It provides a structured review report.

Can I use automated code review to enforce specification references in pull requests?

Automated code review evaluates pull request diffs against policy rules to identify a lack of specification references, flagging the missing spec references in the structured review report.